hi !

i'm working on embedded platform with one 3G modem (Sierra Wireless SL808x series).
i have made fono working good till modem connected to internet.

now my problem is connman don't run DHCP client to make interface work.

i have made some tests and logs:

from Ofono:
ofonod[996]: Modem: > AT!SCACT=1,1\r
ofonod[996]: Modem: < \r\nOK\r\n
ofonod[996]: /home/apilab/oe-core/build/tmp/work/armv7ahf-vfp-angstrom-linux-gnueabi/ofono/1.14-r0/ofono-1.14/drivers/swmodem/gprs-context.c:at_scact_up_cb() ok 1 ofonod[996]: /home/apilab/oe-core/build/tmp/work/armv7ahf-vfp-angstrom-linux-gnueabi/ofono/1.14-r0/ofono-1.14/src/modem.c:get_modem_property() modem 0x1283f0 property NetworkInterface ofonod[996]: /home/apilab/oe-core/build/tmp/work/armv7ahf-vfp-angstrom-linux-gnueabi/ofono/1.14-r0/ofono-1.14/src/gprs.c:pri_activate_callback() 0x12b000
ofonod[996]: Modem: > AT!SCPADDR=1\r
ofonod[996]: Modem: < \r\n!SCPADDR: 1,"80.214.93.171"\r\n\r\nOK\r\n

like you can see, all is OK, i'm connected.

now log from connman:
connmand[989]: src/rtnl.c:rtnl_message() buf 0xbe98aa88 len 564
connmand[989]: src/rtnl.c:rtnl_message() NEWLINK len 564 type 16 flags 0x0000 seq 0 pid 0
connmand[989]: src/ipconfig.c:__connman_ipconfig_newlink() index 10
connmand[989]: wwan0 {RX} 4 packets 224 bytes
connmand[989]: wwan0 {TX} 0 packets 0 bytes
connmand[989]: wwan0 {update} flags 4227 <UP>
connmand[989]: wwan0 {newlink} index 10 address 8A:01:47:F9:07:07 mtu 1500
connmand[989]: wwan0 {newlink} index 10 operstate 2 <DOWN>
connmand[989]: src/detect.c:detect_newlink() type 1 index 10
connmand[989]: src/rtnl.c:rtnl_message() buf 0xbe98aa88 len 564
connmand[989]: src/rtnl.c:rtnl_message() NEWLINK len 564 type 16 flags 0x0000 seq 0 pid 0
connmand[989]: src/ipconfig.c:__connman_ipconfig_newlink() index 10
connmand[989]: wwan0 {RX} 4 packets 224 bytes
connmand[989]: wwan0 {TX} 0 packets 0 bytes
connmand[989]: wwan0 {update} flags 69827 <UP,RUNNING,LOWER_UP>
connmand[989]: src/ipconfig.c:__connman_ipconfig_lower_up() ipconfig ipv4 (nil) ipv6 (nil) connmand[989]: wwan0 {newlink} index 10 address 8A:01:47:F9:07:07 mtu 1500
connmand[989]: wwan0 {newlink} index 10 operstate 6 <UP>
connmand[989]: src/detect.c:detect_newlink() type 1 index 10
connmand[989]: plugins/ofono.c:context_changed() context_path /sierra_0/context1
connmand[989]: plugins/ofono.c:context_changed() /sierra_0 Settings
connmand[989]: plugins/ofono.c:extract_ipv4_settings() Interface wwan0
connmand[989]: plugins/ofono.c:extract_ipv4_settings() index 10
connmand[989]: plugins/ofono.c:extract_ipv4_settings() Method dhcp
connmand[989]: plugins/ofono.c:context_changed() context_path /sierra_0/context1
connmand[989]: plugins/ofono.c:context_changed() /sierra_0 Active 1
connmand[989]: plugins/ofono.c:set_connected() /sierra_0
connmand[989]: Invalid index and/or address

i mean the last line is the problem (index = -1 and address = null)

but i don't know what's happend

my ifconfig stay with:
wwan0     Link encap:Ethernet  HWaddr 8A:01:47:F9:07:07
         UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:268 (268.0 B)  TX bytes:0 (0.0 B)

no IP address...

if someone can help me ...

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

Reply via email to