#589316 network-manager: cannot connect to WPA2 network

Package:
network-manager
Source:
network-manager
Description:
network management framework (daemon and userspace tools)
Submitter:
Willi Mann
Date:
2010-07-24 21:45:03 UTC
Severity:
normal
#589316#5
Date:
2010-07-16 15:59:34 UTC
From:
To:
The wireless chip is according to lspci

03:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300,

it uses the iwlagn driver (at least with kernel 2.6.35-rc5
from experimental)

I've tested both knetworkmanager and nm-applet.

When connecting to this WPA2 network with a 20 character passphrase, the log
says (grep Network on /var/log/daemon.log):

Jul 16 17:30:55 xy NetworkManager: <info>  Activation (wlan0) starting connection 'ABC'
Jul 16 17:30:55 xy NetworkManager: <info>  (wlan0): device state change: 3 -> 4 (reason 0)
Jul 16 17:30:55 xy NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Jul 16 17:30:55 xy NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Jul 16 17:30:55 xy NetworkManager: <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Jul 16 17:30:55 xy NetworkManager: <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Jul 16 17:30:55 xy NetworkManager: <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Jul 16 17:30:55 xy NetworkManager: <info>  (wlan0): device state change: 4 -> 5 (reason 0)
Jul 16 17:30:55 xy NetworkManager: <info>  Activation (wlan0/wireless): access point 'ABC' has security, but secrets are required.
Jul 16 17:30:55 xy NetworkManager: <info>  (wlan0): device state change: 5 -> 6 (reason 0)
Jul 16 17:30:55 xy NetworkManager: <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Jul 16 17:30:55 xy NetworkManager: <info>  (wlan0): device state change: 6 -> 9 (reason 7)
Jul 16 17:30:55 xy NetworkManager: <info>  Activation (wlan0) failed for access point (ABC)
Jul 16 17:30:55 xy NetworkManager: <info>  Marking connection 'ABC' invalid.
Jul 16 17:30:55 xy NetworkManager: <info>  Activation (wlan0) failed.
Jul 16 17:30:55 xy NetworkManager: <info>  (wlan0): device state change: 9 -> 3 (reason 0)
Jul 16 17:30:55 xy NetworkManager: <info>  (wlan0): deactivating device (reason: 0).

The name of the network is anonymized.

The connection works perfectly if I don't use network-manager, but
/etc/network/interfaces with a wpa_supplicant.conf. (For testing
network-manager, I've commented out this interface.)

#589316#10
Date:
2010-07-16 16:20:05 UTC
From:
To:
Hi,

could you please follow the directions at
http://live.gnome.org/NetworkManager/Debugging (Debugging WiFi Connections)

your working wpasupplicant.conf could be helpful, too.

Michael

#589316#15
Date:
2010-07-24 21:41:51 UTC
From:
To:
Sorry for the delay.

lspci -nv output:

03:00.0 0280: 8086:4236
        Subsystem: 8086:1011
        Flags: bus master, fast devsel, latency 0, IRQ 46
        Memory at f4300000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 00-16-ea-ff-ff-c1-60-f6
        Kernel driver in use: iwlagn


Attached is the combined wpa_supplicant/NetworkManager log (nm-log)
taken from daemon.log, and the wpa-supplicant log when using ifup
(if-log), as well as the working wpa_supplicant.conf. (There were some
debug loglines that were printed to stdout when using ifup that are not
included) I've anonymized some local strings. The anonymized network
ssid of the network I'm working in is ABC.

Please tell me if you need any further information.

WM