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: Confusion about ublox toby-L2 IP configuration (Daniel Wagner)
----------------------------------------------------------------------
Message: 1
Date: Sun, 29 Jan 2017 20:54:40 +0100
From: Daniel Wagner <[email protected]>
To: Eric Grunt <[email protected]>, [email protected]
Subject: Re: Confusion about ublox toby-L2 IP configuration
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi Eric,
On 01/26/2017 04:35 PM, Eric Grunt wrote:
>> Can you post what oFono tells ConnMan? I think that would be the output
>> of ofono/test/list-contexts. It sounds like ConnMan gets something
>> wrong.
>
> # ./list-contexts
> [ /ublox_0 ]
> [ /ublox_0/context1 ]
> AuthenticationMethod = chap
> AccessPointName = internet.t-mobile
> Protocol = ip
> Name = Internet
> Username = XXX
> Type = internet
> Password = YYY
> Settings = { Gateway=10.35.243.229 Netmask=255.255.255.255
> Interface=wwan0 Method=static Address=10.35.243.229
> DomainNameServers=10.74.210.210,10.74.210.211, }
> Active = 1
> IPv6.Settings = { }
>
> Result is:
>
> wwan0 Link encap:Ethernet HWaddr e6:43:fd:2a:44:aa
> inet addr:10.35.243.229 Bcast:10.35.243.229 Mask:255.255.255.255
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:6 errors:0 dropped:0 overruns:0 frame:0
> TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:384 (384.0 B) TX bytes:650 (650.0 B)
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 0.0.0.0 10.35.243.229 0.0.0.0 UG 0 0 0
> wwan0
> 10.35.243.229 0.0.0.0 255.255.255.255 UH 0 0 0
> wwan0
> 10.74.210.210 10.35.243.229 255.255.255.255 UGH 0 0 0
> wwan0
> 10.74.210.211 10.35.243.229 255.255.255.255 UGH 0 0 0
> wwan0
oFono tells ConnMan to set the gateway to 10.35.243.229. At the same
time it tells to user 'Method=static Address=10.35.243.229'. That
confuses the plugin/ofono.c code I guess. Could it be that the Address
should be something else?
>> Also the debug output of the ofono plugin would be great
> Attached it.
Thanks. That was the ofono output though :)
>
>> I haven't played with those toby-L2 devices. Just looked quickly at a
>> PDF [1]. I guess you are referring to Figure 3 and 4? At least 3 should
>> work.
>
> No, to figure 2 (bridged mode).
>
> I would prefer router mode as in figure 3, but
> in plugins/ublox.c, ofono states, that it does not support it (yet).
>
> /* use bridged mode until routed mode support is added */
> g_at_chat_send(data->aux, "AT+UBMCONF=2", none_prefix,
> NULL, NULL, NULL);
>
> AT+UBMCONF=2 changes the device's configuration to bridged.
Hmm, best thing is to take this to the ofono mailing list. I don't I can
help you here.
Thanks,
Daniel
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 15, Issue 38
***************************************