Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."


Today's Topics:

   1. Re: Unsalble cellular connection (JH)


----------------------------------------------------------------------

Message: 1
Date: Mon, 12 Aug 2019 16:54:13 +1000
From: JH <[email protected]>
To: Giacinto Cifelli <[email protected]>
Cc: connman <[email protected]>, ofono <[email protected]>
Subject: Re: Unsalble cellular connection
Message-ID:
        <CAA=hcwq+trcgddois7i81y0+0qejpyafpqwncb3vhcqp3ba...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi Giacinto,

On 8/11/19, Giacinto Cifelli <[email protected]> wrote:

> can you check with the ofono script test/list-contexts if the method
> is static or dhcp?

# ofono/test/list-contexts
[ /ubloxqmi_0 ]
    [ /ubloxqmi_0/context1 ]
        Name = Internet
        Type = internet
        AuthenticationMethod = chap
        Settings = { Method=static Gateway=10.116.103.22 Netmask=255.255.255.25}
        Username =
        AccessPointName = telstra.m2m
        Password =
        Protocol = ip
        IPv6.Settings = { }
        Active = 1

Looks like it is static, how can change it to a correct one (dynamic
>)? Or any workarounds?

> I believe this can be the problem: if ofono managed to get an IP
> address, likely with at+cgpaddr and/or at+cgcontrdp,
> then it passes it to connman, and then it is set on the interface...
> static, with no lease expiration.

There are two devices for the SARA-R4 modem, /dev/ttyUSB0 is used for
QMI which is currently using as default protocol. /dev/ttyUSB1 is for
AT, let me know if you like to check AT command, I have never tried to
write / read AT command, are the following commands correct?

echo "at+cgpaddr" > /dev/ttyUSB1
cat < /dev/ttyUSB1

Thank you very much Giacinto.

-- jupiter


------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 46, Issue 8
**************************************

Reply via email to