I am using buildroot to bring up an embedded design. The device has two
ethernets in the SoC (i.MX28) and a wifi adapter connected via USB. When
linux boots, it brings up both ethernets, localhost, and the wifi adapter,
verified with "ifconfig -a". I can manually configure any of the
interfaces and use dhcp to connect, with no trouble.
If I start connman, it will connect to either of the ethernet interfaces
and dhcp correctly. I can even disconnect and reconnect with no
difficulty. However, the wifi seems to be missing.
It appears in the logs....
connmand[673]: wlan0 {create} index 4 type 1 <ETHER>
connmand[673]: wlan0 {update} flags 4099 <UP>
connmand[673]: wlan0 {newlink} index 4 address 7C:DD:90:20:BC:81 mtu 1500
connmand[673]: wlan0 {newlink} index 4 operstate 2 <DOWN>
connmand[673]: Adding interface wlan0 [ wifi ]
connmand[673]: src/technology.c:technology_find() type 3
connmand[673]: src/detect.c:detect_newlink() type 1 index 4
connmand[673]: src/device.c:connman_device_create() node 7cdd9020bc81 type 2
connmand[673]: src/device.c:connman_device_create() device 0x6cb080
connmand[673]: src/device.c:connman_device_set_string() device 0x6cb080 key
Address value 7C:DD:90:20:BC:81
connmand[673]: src/device.c:connman_device_register() device 0x6cb080 name
Wireless
connmand[673]: src/rtnl.c:rtnl_message() buf 0xbefe3ac0 len 1024
connmand[673]: src/rtnl.c:rtnl_message() NEWLINK len 1024 type 16 flags
0x0000 seq 0 pid 0
connmand[673]: src/ipconfig.c:__connman_ipconfig_newlink() index 2
So, a cursory glance at the source seems to indicate that it should have
registerred itself as an available technology, but no dice...
# connmanctl technologies
{ /net/connman/technology/ethernet }
[Name] = Wired
[Type] = ethernet
[Powered] = True
[Connected] = False
[Tethering] = False
I've tried doing "enable wifi"... nothing. It seems to be communicating
with the wpa_supplicant (running with -u so it can use dbus), as here's
what I get when I plug
the usb wifi dongle back in after having disconnected it:
connmand[678]: src/rtnl.c:rtnl_message() buf 0xbeca5ac0 len 1020
connmand[678]: src/rtnl.c:rtnl_message() NEWLINK len 1020 type 16 flags
0x0000 seq 0 pid 0
connmand[678]: src/ipconfig.c:__connman_ipconfig_newlink() index 5
connmand[678]: wlan0 {create} index 5 type 1 <ETHER>
connmand[678]: wlan0 {update} flags 4098 <DOWN>
connmand[678]: wlan0 {newlink} index 5 address 7C:DD:90:20:BC:81 mtu 1500
connmand[678]: wlan0 {newlink} index 5 operstate 2 <DOWN>
connmand[678]: Adding interface wlan0 [ wifi ]
connmand[678]: src/technology.c:technology_find() type 3
connmand[678]: src/detect.c:detect_newlink() type 1 index 5
connmand[678]: src/device.c:connman_device_create() node 7cdd9020bc81 type 2
connmand[678]: src/device.c:connman_device_create() device 0xfcd228
connmand[678]: src/device.c:connman_device_set_string() device 0xfcd228 key
Address value 7C:DD:90:20:BC:81
connmand[678]: src/device.c:connman_device_register() device 0xfcd228 name
Wireless
connmand[678]: src/rtnl.c:rtnl_message() buf 0xbeca5ac0 len 1016
connmand[678]: src/rtnl.c:rtnl[ 40.480000] IPv6: ADDRCONF(NETDEV_UP):
wlan0: link is not ready
_message() NEWLINK len 1016 type 16 flags 0x0000 seq 0 pid 0
connmand[678]: src/ipconfig.c:__connman_ipconfig_newlink() index 5
connmand[678]: wlan0 {update} flags 4163 <UP,RUNNING>
connmand[678]: wlan0 {newlink} index 5 address 7C:DD:90:20:BC:81 mtu 1500
connmand[678]: wlan0 {newlink} index 5 operstate 0 <UNKNOWN>
connmand[678]: src/detect.c:detect_newlink() type 1 index 5
connmand[678]: src/rtnl.c:rtnl_message() buf 0xbeca5ac0 len 1016
connmand[678]: src/rtnl.c:rtnl_message() NEWLINK len 1016 type 16 flags
0x0000 seq 0 pid 0
connmand[678]: src/ipconfig.c:__connman_ipconfig_newlink() index 5
connmand[678]: wlan0 {update} flags 4099 <UP>
connmand[678]: src/ipconfig.c:__connman_ipconfig_lower_down() ipconfig ipv4
(nil) ipv6 (nil)
connmand[678]: wlan0 {newlink} index 5 address 7C:DD:90:20:BC:81 mtu 1500
connmand[678]: wlan0 {newlink} index 5 operstate 2 <DOWN>
connmand[678]: src/detect.c:detect_newlink() type 1 index 5
I've been wrestling with this for a couple hours, but haven't found any
references to similar trouble in the archives. If anyone has any
suggestions, I could really use them.
Thanks!
Peace,
Gary
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman