Comment 0 for bug 288963

Revision history for this message
Steven (stebalien) wrote :

Binary package hint: network-manager

When attempting to connect to a network stored system wide, Network Manager fails with 'set_network_cb(): Couldn't set network config: Did not receive correct message..'
Opening the connection editor and re-entering my wep key allows me to connect once.
The wep key is correctly saved in the global configuration folder.

Here are the relevant portions of my logs:
Not Working:

Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) starting connection 'Allen'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> (wlan0): device state change: 3 -> 4
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Oct 24 16:47:25 TheBeagle NetworkManager: <info> (wlan0): device state change: 4 -> 5
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0/wireless): access point 'Allen' has security, but secrets are required.
Oct 24 16:47:25 TheBeagle NetworkManager: <info> (wlan0): device state change: 5 -> 6
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Oct 24 16:47:25 TheBeagle NetworkManager: <info> (wlan0): device state change: 6 -> 4
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Oct 24 16:47:25 TheBeagle NetworkManager: <info> (wlan0): device state change: 4 -> 5
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0/wireless): connection 'Allen' has security, and secrets exist. No new secrets needed.
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: added 'ssid' value 'Allen'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: added 'scan_ssid' value '1'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: added 'bssid' value '00:0d:72:b2:fd:41'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: added 'key_mgmt' value 'NONE'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: added 'auth_alg' value 'OPEN'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: added 'psk' value '<omitted>'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: added 'wep_key0' value '<omitted>'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: added 'wep_key1' value '<omitted>'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: added 'wep_key2' value '<omitted>'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: added 'wep_key3' value '<omitted>'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: added 'wep_tx_keyidx' value '0'
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Oct 24 16:47:25 TheBeagle NetworkManager: <info> (wlan0): supplicant connection state change: 2 -> 0
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Config: set interface ap_scan to 1
Oct 24 16:47:25 TheBeagle NetworkManager: <WARN> set_network_cb(): Couldn't set network config: Did not receive correct message arguments..
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0/wireless): association request to the supplicant failed: fi.epitest.hostap.WPASupplicant.InvalidOptions - Did not receive correct message arguments.
Oct 24 16:47:25 TheBeagle NetworkManager: <info> (wlan0): device state change: 5 -> 9
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) failed for access point (Allen)
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Marking connection 'Allen' invalid.
Oct 24 16:47:25 TheBeagle NetworkManager: <info> Activation (wlan0) failed.
Oct 24 16:47:25 TheBeagle NetworkManager: <info> (wlan0): device state change: 9 -> 3
Oct 24 16:47:25 TheBeagle NetworkManager: <info> (wlan0): deactivating device (reason: 0).

Working:

Oct 24 16:48:31 TheBeagle NetworkManager: <info> Activation (wlan0) starting connection 'Allen'
Oct 24 16:48:31 TheBeagle NetworkManager: <info> (wlan0): device state change: 3 -> 4
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Oct 24 16:48:31 TheBeagle NetworkManager: <info> (wlan0): device state change: 4 -> 5
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Activation (wlan0/wireless): connection 'Allen' has security, and secrets exist. No new secrets needed.
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Config: added 'ssid' value 'Allen'
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Config: added 'scan_ssid' value '1'
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Config: added 'bssid' value '00:0d:72:b2:fd:41'
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Config: added 'key_mgmt' value 'NONE'
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Config: added 'auth_alg' value 'OPEN'
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Config: added 'wep_key0' value '<omitted>'
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Config: added 'wep_tx_keyidx' value '0'
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Oct 24 16:48:31 TheBeagle NetworkManager: <info> (wlan0): supplicant connection state change: 2 -> 0
Oct 24 16:48:31 TheBeagle NetworkManager: <info> Config: set interface ap_scan to 1
Oct 24 16:48:31 TheBeagle NetworkManager: <info> (wlan0): supplicant connection state change: 0 -> 2
Oct 24 16:48:34 TheBeagle NetworkManager: <info> (wlan0): supplicant connection state change: 2 -> 3
Oct 24 16:48:34 TheBeagle NetworkManager: <info> (wlan0): supplicant connection state change: 3 -> 4
Oct 24 16:48:34 TheBeagle NetworkManager: <info> (wlan0): supplicant connection state change: 4 -> 7
Oct 24 16:48:34 TheBeagle NetworkManager: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'Allen'.
Oct 24 16:48:34 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
Oct 24 16:48:34 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
Oct 24 16:48:34 TheBeagle NetworkManager: <info> (wlan0): device state change: 5 -> 7
Oct 24 16:48:34 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP Configure Get) scheduled...
Oct 24 16:48:34 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
Oct 24 16:48:34 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP Configure Get) started...
Oct 24 16:48:34 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) scheduled...
Oct 24 16:48:34 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP Configure Get) complete.
Oct 24 16:48:34 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) started...
Oct 24 16:48:34 TheBeagle avahi-daemon[5651]: Joining mDNS multicast group on interface wlan0.IPv4 with address 172.16.1.34.
Oct 24 16:48:34 TheBeagle avahi-daemon[5651]: New relevant interface wlan0.IPv4 for mDNS.
Oct 24 16:48:34 TheBeagle avahi-daemon[5651]: Registering new address record for 172.16.1.34 on wlan0.IPv4.
Oct 24 16:48:35 TheBeagle NetworkManager: <info> (wlan0): device state change: 7 -> 8
Oct 24 16:48:35 TheBeagle NetworkManager: <info> Policy set 'Allen' (wlan0) as default for routing and DNS.
Oct 24 16:48:35 TheBeagle NetworkManager: <info> Activation (wlan0) successful, device activated.
Oct 24 16:48:35 TheBeagle NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.

It appears that the network manager is not correctly fetching the encryption information when connecting. The network manager tries to set 4 wep keys and 1 psk key.

network-manager: 0.7~~svn20081018t105859-0ubuntu1
kernel: 2.6.27-7-generic