On 1/28/11 4:51 PM, Samuel Ortiz wrote: > On Fri, Jan 28, 2011 at 02:52:36PM -0800, Grant Erickson wrote: >> With the wired Ethernet issue debugged and patched, I've done more >> investigation on the wireless issue. The results are as follows: >> >> ------------------------------------------------------ >> Version / Plugin wifi.so wifi_legacy.so >> ====================================================== >> connman-0.67 FAILS SUCCEEDS >> ------------------------------------------------------ >> connman-b1db3cb FAILS N/A >> ====================================================== >> >> So, it would appear that the non-legacy wifi plugin has issues with wireless >> extension devices. >> > I'm testing this with my iwlagn chipset forced to run in wext mode only and > that seems to work fine. > > Would you mind sharing the output of wpa_supplicant -ddd -t -u when running > connmand on top of it ? Also could you please show us what your wpa_supplicant > .config look like ?
Samuel: As promised, the contents of /etc/wpa_supplicant.conf file is, as expected, empty. The contents of /etc/dbus-1/system.d/wpa_supplicant.conf is: <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <busconfig> <policy user="root"> <allow own="fi.epitest.hostap.WPASupplicant"/> <allow send_destination="fi.epitest.hostap.WPASupplicant"/> <allow send_interface="fi.epitest.hostap.WPASupplicant"/> <allow own="fi.w1.wpa_supplicant1"/> <allow send_destination="fi.w1.wpa_supplicant1"/> <allow send_interface="fi.w1.wpa_supplicant1"/> <allow receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/> </policy> <policy context="default"> <deny own="fi.epitest.hostap.WPASupplicant"/> <deny send_destination="fi.epitest.hostap.WPASupplicant"/> <deny send_interface="fi.epitest.hostap.WPASupplicant"/> <deny own="fi.w1.wpa_supplicant1"/> <deny send_destination="fi.w1.wpa_supplicant1"/> <deny send_interface="fi.w1.wpa_supplicant1"/> <deny receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/> </policy> </busconfig> The requested log output is as follows. It would seem that the wifi.so plug-in and the wpa_supplicant are not even communicating: # /sbin/wpa_supplicant -ddd -t -u & 1296422968.146540: Providing DBus service 'fi.epitest.hostap.WPASupplicant'. # /usr/sbin/connmand -n -d connmand[303]: Connection Manager version 0.67 connmand[303]: connman-0.67/src/storage.c:__connman_storage_init() connmand[303]: connman-0.67/src/element.c:__connman_element_init() connmand[303]: connman-0.67/src/element.c:connman_element_create() element 0x5cfd0 connmand[303]: connman-0.67/src/element.c:__connman_element_initialize() element 0x5cfd0 connmand[303]: connman-0.67/src/technology.c:__connman_technology_init() connmand[303]: connman-0.67/src/notifier.c:__connman_notifier_init() connmand[303]: connman-0.67/src/service.c:__connman_service_init() connmand[303]: connman-0.67/src/storage.c:connman_storage_register() storage 0x53ff8 name service connmand[303]: connman-0.67/src/provider.c:__connman_provider_init() connmand[303]: connman-0.67/src/notifier.c:connman_notifier_register() notifier 0x5412c name provider connmand[303]: connman-0.67/src/network.c:__connman_network_init() connmand[303]: connman-0.67/src/element.c:connman_driver_register() driver 0x53ca0 name network connmand[303]: connman-0.67/src/device.c:__connman_device_init() connmand[303]: connman-0.67/src/storage.c:connman_storage_register() storage 0x53c74 name device connmand[303]: connman-0.67/src/element.c:connman_driver_register() driver 0x53c58 name device connmand[303]: connman-0.67/src/agent.c:__connman_agent_init() connmand[303]: connman-0.67/src/iptables.c:__connman_iptables_init() connmand[303]: connman-0.67/src/tethering.c:__connman_tethering_init() connmand[303]: connman-0.67/src/counter.c:__connman_counter_init() connmand[303]: connman-0.67/src/notifier.c:connman_notifier_register() notifier 0x5423c name ondemand connmand[303]: connman-0.67/src/manager.c:__connman_manager_init() connmand[303]: connman-0.67/src/notifier.c:connman_notifier_register() notifier 0x53cf0 name manager connmand[303]: connman-0.67/src/profile.c:__connman_profile_init() connmand[303]: connman-0.67/src/storage.c:connman_storage_register() storage 0x53f6c name profile connmand[303]: connman-0.67/src/config.c:__connman_config_init() connmand[303]: connman-0.67/src/config.c:read_configs() connmand[303]: connman-0.67/src/stats.c:__connman_stats_init() connmand[303]: connman-0.67/src/resolver.c:__connman_resolver_init() connmand[303]: connman-0.67/src/resolver.c:connman_resolver_register() resolver 0x54144 name resolvfile connmand[303]: connman-0.67/src/ipconfig.c:__connman_ipconfig_init() connmand[303]: connman-0.67/src/rtnl.c:__connman_rtnl_init() connmand[303]: connman-0.67/src/task.c:__connman_task_init() connmand[303]: connman-0.67/src/proxy.c:__connman_proxy_init() connmand[303]: connman-0.67/src/detect.c:__connman_detect_init() connmand[303]: connman-0.67/src/rtnl.c:connman_rtnl_register() rtnl 0x54158 name detect connmand[303]: connman-0.67/src/session.c:__connman_session_init() connmand[303]: connman-0.67/src/timeserver.c:__connman_timeserver_init() connmand[303]: connman-0.67/src/plugin.c:__connman_plugin_init() connmand[303]: Checking loopback interface settings connmand[303]: System hostname is salmon.local connmand[303]: System domainname is domain.actdsltmp connmand[303]: connman-0.67/src/utsname.c:connman_utsname_driver_register() driver 0x40390340 name loopback connmand[303]: connman-0.67/src/network.c:connman_network_driver_register() driver 0x4039ad4c name cable connmand[303]: connman-0.67/src/device.c:connman_device_driver_register() driver 0x4039ad6c name ethernet connmand[303]: connman-0.67/src/element.c:__connman_element_foreach() connmand[303]: connman-0.67/src/element.c:foreach_callback() element 0x5cfd0 name root connmand[303]: connman-0.67/src/technology.c:connman_technology_driver_register() driver 0x4039ad28 name cdc_ethernet connmand[303]: connman-0.67/src/timeserver.c:connman_timeserver_driver_register() driver 0x40386658 name ntpd connmand[303]: connman-0.67/src/network.c:connman_network_driver_register() driver 0x4037c400 name wifi connmand[303]: connman-0.67/src/technology.c:connman_technology_driver_register() driver 0x4037c3dc name wifi connmand[303]: connman-0.67/src/resolver.c:connman_resolver_append() interface lo domain (null) server 127.0.0.1 connmand[303]: connman-0.67/src/resolver.c:append_resolver() interface lo domain (null) server 127.0.0.1 lifetime 0 flags 0 connmand[303]: connman-0.67/src/resolver.c:resolvfile_append() interface lo server 127.0.0.1 connmand[303]: connman-0.67/src/resolver.c:connman_resolver_register() resolver 0x40368c00 name dnsproxy connmand[303]: connman-0.67/src/notifier.c:connman_notifier_register() notifier 0x40368be8 name dnsproxy connmand[303]: connman-0.67/src/dhcp.c:connman_dhcp_driver_register() driver 0x53b10 name dhcp connmand[303]: connman-0.67/src/element.c:__connman_element_start() connmand[303]: connman-0.67/src/storage.c:__connman_storage_init_profile() connmand[303]: connman-0.67/src/profile.c:profile_init() connmand[303]: connman-0.67/src/profile.c:create_profile() ident default name (null) connmand[303]: connman-0.67/src/storage.c:__connman_storage_load_profile() profile 0x5eff0 connmand[303]: connman-0.67/src/profile.c:profile_load() profile 0x5eff0 connmand[303]: connman-0.67/src/storage.c:__connman_storage_open() ident default suffix profile connmand[303]: connman-0.67/src/storage.c:__connman_storage_open() keyfile 0x68e00 connmand[303]: connman-0.67/src/storage.c:__connman_storage_close() ident default suffix profile keyfile 0x68e00 save 0 connmand[303]: Adding profile default connmand[303]: connman-0.67/src/profile.c:create_profile() profile 0x5eff0 path /profile/default connmand[303]: connman-0.67/src/element.c:probe_node() element 0x5cfd0 name root connmand[303]: connman-0.67/src/rtnl.c:__connman_rtnl_start() connmand[303]: connman-0.67/src/rtnl.c:send_getlink() connmand[303]: connman-0.67/src/rtnl.c:send_request() GETLINK len 17 type 18 flags 0x0301 seq 0 connmand[303]: connman-0.67/src/rtnl.c:send_getaddr() connmand[303]: connman-0.67/src/rtnl.c:send_getroute() connmand[303]: connman-0.67/src/connection.c:__connman_connection_init() connmand[303]: connman-0.67/src/rtnl.c:connman_rtnl_register() rtnl 0x53cd8 name connection connmand[303]: connman-0.67/src/element.c:connman_driver_register() driver 0x53cbc name connection connmand[303]: connman-0.67/src/element.c:probe_driver() element 0x5cfd0 name root connmand[303]: connman-0.67/src/element.c:connman_driver_register() driver 0x54170 name ipv4 connmand[303]: connman-0.67/src/element.c:probe_driver() element 0x5cfd0 name root connmand[303]: connman-0.67/src/element.c:connman_driver_register() driver 0x5418c name dhcp connmand[303]: connman-0.67/src/element.c:probe_driver() element 0x5cfd0 name root connmand[303]: connman-0.67/src/wpad.c:__connman_wpad_init() connmand[303]: connman-0.67/src/wispr.c:__connman_wispr_init() connmand[303]: connman-0.67/src/rfkill.c:__connman_rfkill_init() connmand[303]: Failed to open RFKILL control device connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() buf 0xbef65a78 len 736 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() NEWLINK len 240 type 16 flags 0x0002 seq 0 connmand[303]: connman-0.67/src/ipconfig.c:__connman_ipconfig_newlink() index 1 connmand[303]: lo {newlink} index 1 operstate 0 <UNKNOWN> connmand[303]: connman-0.67/src/detect.c:detect_newlink() type 772 index 1 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() NEWLINK len 248 type 16 flags 0x0002 seq 0 connmand[303]: connman-0.67/src/ipconfig.c:__connman_ipconfig_newlink() index 2 connmand[303]: eth0 {create} index 2 type 1 <ETHER> connmand[303]: eth0 {RX} 0 packets 0 bytes connmand[303]: eth0 {TX} 3 packets 250 bytes connmand[303]: eth0 {update} flags 4099 <UP> connmand[303]: eth0 {newlink} index 2 address 00:0c:29:26:de:f4 mtu 1500 connmand[303]: eth0 {newlink} index 2 operstate 2 <DOWN> connmand[303]: Create interface eth0 [ ethernet ] connmand[303]: connman-0.67/src/detect.c:detect_newlink() type 1 index 2 connmand[303]: connman-0.67/src/device.c:connman_device_create() node 000c2926def4 type 1 connmand[303]: connman-0.67/src/device.c:connman_device_create() device 0x5f1e0 connmand[303]: connman-0.67/src/element.c:__connman_element_initialize() element 0x5f1e0 connmand[303]: connman-0.67/src/element.c:set_static_property() element 0x5f1e0 name 000c2926def4 connmand[303]: connman-0.67/src/element.c:set_static_property() name Type type 115 value 0xbef657f4 connmand[303]: connman-0.67/src/technology.c:technology_find() type 2 connmand[303]: connman-0.67/src/device.c:connman_device_set_string() device 0x5f1e0 key Address value 00:0c:29:26:de:f4 connmand[303]: connman-0.67/src/element.c:set_static_property() element 0x5f1e0 name 000c2926def4 connmand[303]: connman-0.67/src/element.c:set_static_property() name Address type 115 value 0xbef65814 connmand[303]: connman-0.67/src/storage.c:__connman_storage_load_device() device 0x5f1e0 connmand[303]: connman-0.67/src/profile.c:__connman_profile_active_ident() connmand[303]: connman-0.67/src/device.c:device_load() device 0x5f1e0 connmand[303]: connman-0.67/src/storage.c:__connman_storage_open() ident default suffix profile connmand[303]: connman-0.67/src/storage.c:__connman_storage_open() keyfile 0x68e28 connmand[303]: connman-0.67/src/storage.c:__connman_storage_close() ident default suffix profile keyfile 0x68e28 save 0 connmand[303]: connman-0.67/src/profile.c:__connman_profile_get_offlinemode() offlinemode 0 connmand[303]: connman-0.67/src/element.c:connman_element_register() element 0x5f1e0 name 000c2926def4 parent (nil) connmand[303]: connman-0.67/src/element.c:connman_element_ref() element 0x5f1e0 name 000c2926def4 refcount 2 connmand[303]: connman-0.67/src/element.c:register_element() element 0x5f1e0 path /net/connman/device/000c2926def4 connmand[303]: connman-0.67/src/element.c:probe_element() element 0x5f1e0 name 000c2926def4 connmand[303]: connman-0.67/src/element.c:probe_element() driver 0x53c58 name device connmand[303]: connman-0.67/src/device.c:device_probe() element 0x5f1e0 name 000c2926def4 connmand[303]: connman-0.67/src/device.c:device_probe() driver 0x4039ad6c name ethernet connmand[303]: connman-0.67/src/rtnl.c:connman_rtnl_add_newlink_watch() id 1 connmand[303]: connman-0.67/src/device.c:connman_device_set_powered() driver 0x5f1e0 powered 1 connmand[303]: connman-0.67/src/device.c:__connman_device_enable() device 0x5f1e0 0 connmand[303]: connman-0.67/src/device.c:setup_device() device 0x5f1e0 connmand[303]: connman-0.67/src/technology.c:__connman_technology_add_device() device 0x5f1e0 connmand[303]: connman-0.67/src/notifier.c:__connman_notifier_register() type 2 connmand[303]: connman-0.67/src/notifier.c:technology_registered() type 2 registered 1 connmand[303]: connman-0.67/src/technology.c:technology_get() type 2 connmand[303]: connman-0.67/src/technology.c:technology_find() type 2 connmand[303]: connman-0.67/src/technology.c:technology_get() driver 0x4037c3dc name wifi connmand[303]: connman-0.67/src/technology.c:technology_get() driver 0x4039ad28 name cdc_ethernet connmand[303]: connman-0.67/src/technology.c:technology_get() technology 0x6ef00 connmand[303]: connman-0.67/src/device.c:__connman_device_enable() device 0x5f1e0 0 connmand[303]: connman-0.67/src/device.c:connman_device_set_disconnected() device 0x5f1e0 disconnected 0 connmand[303]: connman-0.67/src/profile.c:__connman_profile_get_offlinemode() offlinemode 0 connmand[303]: connman-0.67/src/technology.c:__connman_technology_enable_device() device 0x5f1e0 connmand[303]: connman-0.67/src/notifier.c:__connman_notifier_enable() type 2 connmand[303]: connman-0.67/src/notifier.c:technology_enabled() type 2 enabled 1 connmand[303]: connman-0.67/src/manager.c:technology_notify() type 2 enabled 1 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() NEWLINK len 248 type 16 flags 0x0002 seq 0 connmand[303]: connman-0.67/src/ipconfig.c:__connman_ipconfig_newlink() index 3 connmand[303]: tiwlan0 {create} index 3 type 1 <ETHER> connmand[303]: tiwlan0 {RX} 1737 packets 137022 bytes connmand[303]: tiwlan0 {TX} 2489 packets 2712758 bytes connmand[303]: tiwlan0 {update} flags 4098 <DOWN> connmand[303]: tiwlan0 {newlink} index 3 address 00:0c:29:26:de:f5 mtu 1500 connmand[303]: tiwlan0 {newlink} index 3 operstate 2 <DOWN> connmand[303]: tiwlan0 runs an unsupported 802.11 driver connmand[303]: Create interface tiwlan0 [ wifi ] connmand[303]: connman-0.67/src/detect.c:detect_newlink() type 1 index 3 connmand[303]: connman-0.67/src/device.c:connman_device_create() node 000c2926def5 type 2 connmand[303]: connman-0.67/src/device.c:connman_device_create() device 0x6d500 connmand[303]: connman-0.67/src/element.c:__connman_element_initialize() element 0x6d500 connmand[303]: connman-0.67/src/element.c:set_static_property() element 0x6d500 name 000c2926def5 connmand[303]: connman-0.67/src/element.c:set_static_property() name Type type 115 value 0xbef657f4 connmand[303]: connman-0.67/src/technology.c:technology_find() type 3 connmand[303]: connman-0.67/src/device.c:connman_device_set_string() device 0x6d500 key Address value 00:0c:29:26:de:f5 connmand[303]: connman-0.67/src/element.c:set_static_property() element 0x6d500 name 000c2926def5 connmand[303]: connman-0.67/src/element.c:set_static_property() name Address type 115 value 0xbef65814 connmand[303]: connman-0.67/src/storage.c:__connman_storage_load_device() device 0x6d500 connmand[303]: connman-0.67/src/profile.c:__connman_profile_active_ident() connmand[303]: connman-0.67/src/device.c:device_load() device 0x6d500 connmand[303]: connman-0.67/src/storage.c:__connman_storage_open() ident default suffix profile connmand[303]: connman-0.67/src/storage.c:__connman_storage_open() keyfile 0x68e50 connmand[303]: connman-0.67/src/storage.c:__connman_storage_close() ident default suffix profile keyfile 0x68e50 save 0 connmand[303]: connman-0.67/src/profile.c:__connman_profile_get_offlinemode() offlinemode 0 connmand[303]: connman-0.67/src/element.c:connman_element_register() element 0x6d500 name 000c2926def5 parent (nil) connmand[303]: connman-0.67/src/element.c:connman_element_ref() element 0x6d500 name 000c2926def5 refcount 2 connmand[303]: connman-0.67/src/element.c:register_element() element 0x6d500 path /net/connman/device/000c2926def5 connmand[303]: connman-0.67/src/element.c:probe_element() element 0x6d500 name 000c2926def5 connmand[303]: connman-0.67/src/element.c:probe_element() driver 0x53c58 name device connmand[303]: connman-0.67/src/device.c:device_probe() element 0x6d500 name 000c2926def5 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() buf 0xbef65a78 len 20 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() DONE len 20 type 3 flags 0x0002 seq 0 connmand[303]: connman-0.67/src/rtnl.c:process_response() seq 0 connmand[303]: connman-0.67/src/rtnl.c:send_request() UNKNOWN len 17 type 22 flags 0x0301 seq 1 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() buf 0xbef65a78 len 48 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() NEWADDR len 48 type 20 flags 0x0002 seq 1 connmand[303]: connman-0.67/src/ipconfig.c:__connman_ipconfig_newaddr() index 1 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() buf 0xbef65a78 len 20 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() DONE len 20 type 3 flags 0x0002 seq 1 connmand[303]: connman-0.67/src/rtnl.c:process_response() seq 1 connmand[303]: connman-0.67/src/rtnl.c:send_request() GETROUTE len 17 type 26 flags 0x0301 seq 2 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() buf 0xbef65a78 len 240 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() NEWROUTE len 60 type 24 flags 0x0002 seq 2 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() NEWROUTE len 60 type 24 flags 0x0002 seq 2 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() NEWROUTE len 60 type 24 flags 0x0002 seq 2 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() NEWROUTE len 60 type 24 flags 0x0002 seq 2 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() buf 0xbef65a78 len 20 connmand[303]: connman-0.67/src/rtnl.c:rtnl_message() DONE len 20 type 3 flags 0x0002 seq 2 connmand[303]: connman-0.67/src/rtnl.c:process_response() seq 2 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 connmand[303]: connman-0.67/src/ondemand.c:connman_ondemand_connected() connected 0 Best, Grant _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman