[madwifi] NetworkManager 0.6.6-0ubuntu1 fails to connect to wireless network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-manager
Since upgrading to alpha 6 earlier today and rebooting I haven't been able to connect to my WPA1 network at home using NetworkManager. I've removed all preexisting wireless settings for the application and started fresh, selected the network from the list shown, made sure the correct type of network was chosen and the correct encryption, entered the key and NetworkManager proceeds to churn away for two minutes then give up.
This is a connection attempt:
root@pea:/var/run# /usr/sbin/
NetworkManager: <info> starting...
NetworkManager: <info> ath0: Device is fully-supported using driver 'ath_pci'.
NetworkManager: <info> ath0: driver does not support SSID scans (scan_capa 0x00).
NetworkManager: <info> nm_device_init(): waiting for device's worker thread to start
NetworkManager: <info> nm_device_init(): device's worker thread started, continuing.
NetworkManager: <info> Now managing wireless (802.11) device 'ath0'.
NetworkManager: <info> Deactivating device ath0.
NetworkManager: <info> eth0: Device is fully-supported using driver 'tg3'.
NetworkManager: <info> nm_device_init(): waiting for device's worker thread to start
NetworkManager: <info> nm_device_init(): device's worker thread started, continuing.
NetworkManager: <info> Now managing wired Ethernet (802.3) device 'eth0'.
NetworkManager: <info> Deactivating device eth0.
NetworkManager: <info> Updating allowed wireless network lists.
NetworkManager: <WARN> nm_dbus_
NetworkManager: <debug> [1204975359.657036] nm_device_
NetworkManager: <info> User Switch: /org/freedeskto
NetworkManager: <info> Deactivating device ath0.
NetworkManager: <info> Device ath0 activation scheduled...
NetworkManager: <info> Activation (ath0) started...
NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) starting...
NetworkManager: <info> Activation (ath0/wireless): access point 'ALBATROSS' is encrypted, but NO valid key exists. New key needed.
NetworkManager: <info> Activation (ath0) New wireless user key requested for network 'ALBATROSS'.
NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) complete.
NetworkManager: <info> Activation (ath0) New wireless user key for network 'ALBATROSS' received.
NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) starting...
NetworkManager: <info> Activation (ath0/wireless): access point 'ALBATROSS' is encrypted, and a key exists. No new key needed.
NetworkManager: <info> SUP: sending command 'INTERFACE_ADD ath0 wext /var/run/
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> SUP: sending command 'AP_SCAN 1'
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> SUP: sending command 'ADD_NETWORK'
NetworkManager: <info> SUP: response was '0'
NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 ssid 414c424154524f5353'
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 proto WPA'
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 key_mgmt WPA-PSK'
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 psk <key>'
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> SUP: sending command 'ENABLE_NETWORK 0'
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) complete.
Trying to associate with 00:0f:66:38:cc:cd (SSID='ALBATROSS' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:0f:66:38:cc:cd (SSID='ALBATROSS' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:0f:66:38:cc:cd (SSID='ALBATROSS' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:0f:66:38:cc:cd (SSID='ALBATROSS' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:0f:66:38:cc:cd (SSID='ALBATROSS' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:0f:66:38:cc:cd (SSID='ALBATROSS' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:0f:66:38:cc:cd (SSID='ALBATROSS' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:0f:66:38:cc:cd (SSID='ALBATROSS' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:0f:66:38:cc:cd (SSID='ALBATROSS' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
NetworkManager: <info> Activation (ath0/wireless): association took too long (>120s), failing activation.
NetworkManager: <info> Activation (ath0) failure scheduled...
Trying to associate with 00:0f:66:38:cc:cd (SSID='ALBATROSS' freq=2437 MHz)
NetworkManager: <info> Activation (ath0) failed for access point (ALBATROSS)
NetworkManager: <info> Activation (ath0) failed.
NetworkManager: <info> Deactivating device ath0.
CTRL-EVENT-
sendmsg(CTRL_IFACE monitor): No such file or directory
Conversely I'm able to connect manually using wpa_supplicant and dhclient:
root@pea:~# /sbin/wpa_
Trying to associate with 00:0f:66:38:cc:cd (SSID='ALBATROSS' freq=2437 MHz)
ioctl[IEEE80211
Association request to the driver failed
Associated with 00:0f:66:38:cc:cd
WPA: Key negotiation completed with 00:0f:66:38:cc:cd [PTK=CCMP GTK=TKIP]
CTRL-EVENT-
---------------
root@pea:/var/run# dhclient ath0
There is already a pid file /var/run/
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://
wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/
Sending on LPF/ath0/
Sending on Socket/fallback
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPACK from 10.0.0.1
bound to 10.0.0.17 -- renewal in 95076 seconds.
My wpa_supplicant.conf looks like this:
ctrl_interface=
update_config=1
network={
ssid="ALBATROSS"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="key"
}
Prior to upgrading the connection worked as expected; it would store settings and reconnect automatically. I haven't had the opportunity to try open networks to see if I get similar results as others depend on this particular network being up so I'll take my laptop to a coffee shop tomorrow and try it out.
Other generic, possibly helpful information...
cmacdonald@pea:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
cmacdonald@pea:~$ apt-cache policy network-manager
network-manager:
Installed: 0.6.6-0ubuntu1
Candidate: 0.6.6-0ubuntu1
Version table:
*** 0.6.6-0ubuntu1 0
500 http://
500 http://
100 /var/lib/
cmacdonald@pea:~$ uname -a
Linux pea 2.6.24-11-generic #1 SMP Fri Feb 29 22:08:31 UTC 2008 i686 GNU/Linux
cmacdonald@pea:~$ modinfo ath_pci
filename: /lib/modules/
license: Dual BSD/GPL
version: 0.9.3.3
description: Support for Atheros 802.11 wireless LAN cards.
author: Errno Consulting, Sam Leffler
srcversion: 64AD740F085A20B
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v000010B7d0
alias: pci:v0000A727d0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
depends: ath_hal,wlan
vermagic: 2.6.24-11-generic SMP mod_unload 586
parm: countrycode:
parm: outdoor:
parm: xchanmode:
parm: rfkill:
parm: autocreate:Create ath device in [sta|ap|
parm: ratectl:Rate control algorithm [amrr|onoe|sample], defaults to 'sample' (charp)
parm: ath_debug:Load-time debug output enable (int)
Please let me know if I can contribute other logs, test anything or help out in any other way. Thanks.
*** UPDATE ***
Grabbed a coffee this afternoon and wasn't able to connected to an open network using NetworkManager either, though a manual connection using wpa_supplicant worked fine.
NetworkManager output:
root@pea:~# /usr/sbin/
NetworkManager: <info> starting...
NetworkManager: <info> ath0: Device is fully-supported using driver 'ath_pci'.
NetworkManager: <info> ath0: driver does not support SSID scans (scan_capa 0x00).
NetworkManager: <info> nm_device_init(): waiting for device's worker thread to start
NetworkManager: <info> nm_device_init(): device's worker thread started, continuing.
NetworkManager: <info> Now managing wireless (802.11) device 'ath0'.
NetworkManager: <info> Deactivating device ath0.
NetworkManager: <info> eth0: Device is fully-supported using driver 'tg3'.
NetworkManager: <info> nm_device_init(): waiting for device's worker thread to start
NetworkManager: <info> nm_device_init(): device's worker thread started, continuing.
NetworkManager: <info> Now managing wired Ethernet (802.3) device 'eth0'.
NetworkManager: <info> Deactivating device eth0.
NetworkManager: <info> Updating allowed wireless network lists.
NetworkManager: <WARN> nm_dbus_
NetworkManager: <debug> [1205015702.267368] nm_device_
NetworkManager: <info> User Switch: /org/freedeskto
NetworkManager: <info> Deactivating device ath0.
NetworkManager: <info> Device ath0 activation scheduled...
NetworkManager: <info> Activation (ath0) started...
NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) starting...
NetworkManager: <info> Activation (ath0/wireless): access point 'WAVES Wireless - Framework N01' is unencrypted, no key needed.
NetworkManager: <info> SUP: sending command 'INTERFACE_ADD ath0 wext /var/run/
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> SUP: sending command 'AP_SCAN 1'
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> SUP: sending command 'ADD_NETWORK'
NetworkManager: <info> SUP: response was '0'
NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 ssid 574156455320576
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 key_mgmt NONE'
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> SUP: sending command 'ENABLE_NETWORK 0'
NetworkManager: <info> SUP: response was 'OK'
NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) complete.
Trying to associate with 00:13:10:f1:59:9e (SSID='WAVES Wireless - Framework N01' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:13:10:f1:59:9e (SSID='WAVES Wireless - Framework N01' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:13:10:f1:59:9e (SSID='WAVES Wireless - Framework N01' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:13:10:f1:59:9e (SSID='WAVES Wireless - Framework N01' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:13:10:f1:59:9e (SSID='WAVES Wireless - Framework N01' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:13:10:f1:59:9e (SSID='WAVES Wireless - Framework N01' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:13:10:f1:59:9e (SSID='WAVES Wireless - Framework N01' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:13:10:f1:59:9e (SSID='WAVES Wireless - Framework N01' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
Trying to associate with 00:13:10:f1:59:9e (SSID='WAVES Wireless - Framework N01' freq=2437 MHz)
Authentication with 00:00:00:00:00:00 timed out.
NetworkManager: <info> Old device 'ath0' activating, won't change.
NetworkManager: <info> Activation (ath0/wireless): association took too long (>120s), failing activation.
NetworkManager: <info> Activation (ath0) failure scheduled...
Trying to associate with 00:13:10:f1:59:9e (SSID='WAVES Wireless - Framework N01' freq=2437 MHz)
NetworkManager: <info> Activation (ath0) failed for access point (WAVES Wireless - Framework N01)
NetworkManager: <info> Activation (ath0) failed.
NetworkManager: <info> Deactivating device ath0.
CTRL-EVENT-
sendmsg(CTRL_IFACE monitor): No such file or directory
Output from connecting with wpa_supplicant:
root@pea:~# wpa_supplicant -Dmadwifi -iath0 -c/etc/
Trying to associate with 00:1c:10:0a:1f:bd (SSID='WAVES Wireless - Framework N02' freq=2412 MHz)
ioctl[IEEE80211
Association request to the driver failed
Associated with 00:1c:10:0a:1f:bd
CTRL-EVENT-
-------
root@pea:~# dhclient ath0
There is already a pid file /var/run/
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://
wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/
Sending on LPF/ath0/
Sending on Socket/fallback
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPNAK from 192.168.1.1
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.1.1
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.105 -- renewal in 39332 seconds.
And finally my wpa_supplicant network block for that SSID:
network={
ssid="WAVES Wireless - Framework N02"
key_mgmt=NONE
}
Again, if I can be any more help please let me know.
Related branches
description: | updated |
Changed in network-manager: | |
status: | New → Confirmed |
Changed in network-manager: | |
status: | Confirmed → Fix Committed |
I have exactly the same problem. Have to manually connect but on my case i'm using wep.