I am having a very similar problem. In my case, the only way I can
restore my network connection after a restart/shutdown is to delete the
network via Edit Wireless Networks then click on my wireless network
in the list presented by nm-applet.
Looking at the password in the details for my network in Edit Wireless
Networks shows the wrong password; it's actually my old WEP password
from before my switch to WPA with TKIP. Changing the password and
clicking on Set Password does not save the new open.
I am running Ubunut 8.04 with nm-applet 0.6.6 with a Netgear WG311T NIC.
The only relevant info I can glean from /var/log/syslog is this:
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) started...
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 1 of 5
(Device Prepare) scheduled...
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 1 of 5
(Device Prepare) started...
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 2 of 5
(Device Configure) scheduled...
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 1 of 5
(Device Prepare) complete.
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 2 of 5
(Device Configure) starting...
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0/wireless):
access point 'STARFLEET' is encrypted, but NO valid key exists. New key
needed.
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) New wireless
user key requested for network 'STARFLEET'.
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 2 of 5
(Device Configure) complete.
Note that this is before I delete the network via Edit Wireless Networks.
After the deletion I get this:
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) started...
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 1 of 5
(Device Prepare) scheduled...
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 1 of 5
(Device Prepare) started...
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 2 of 5
(Device Configure) scheduled...
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 1 of 5
(Device Prepare) complete.
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 2 of 5
(Device Configure) starting...
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0/wireless):
access point 'STARFLEET' is encrypted, but NO valid key exists. New key
needed.
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) New wireless
user key requested for network 'STARFLEET'.
Aug 26 06:59:35 PACIFICA NetworkManager: info Activation (ath0) Stage 2 of 5
(Device Configure) complete.
Aug 26 06:59:50 PACIFICA NetworkManager: info Activation (ath0) New wireless
user key for network 'STARFLEET' received.
Aug 26 06:59:50 PACIFICA NetworkManager: info Activation (ath0) Stage 1 of 5
(Device Prepare) scheduled...
Aug 26 06:59:50 PACIFICA NetworkManager: info Activation (ath0) Stage 1 of 5
(Device Prepare) started...
Aug 26 06:59:50 PACIFICA NetworkManager: info Activation (ath0) Stage 2 of 5
(Device Configure) scheduled...
Aug 26 06:59:50 PACIFICA NetworkManager: info Activation (ath0) Stage 1 of 5
(Device Prepare) complete.
Aug 26 06:59:50 PACIFICA NetworkManager: info Activation (ath0) Stage 2 of 5
(Device Configure) starting...
Aug 26 06:59:50 PACIFICA NetworkManager: info Activation (ath0/wireless):
access point 'STARFLEET' is encrypted, and a key exists. No new key needed.
Aug 26 06:59:51 PACIFICA NetworkManager: info SUP: response was 'OK'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: sending command 'AP_SCAN
1'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: response was 'OK'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: sending command
'ADD_NETWORK'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: response was '0'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: sending command
'SET_NETWORK 0 ssid 53544152464c454554'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: response was 'OK'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: sending command
'SET_NETWORK 0 proto WPA'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: response was 'OK'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: sending command
'SET_NETWORK 0 key_mgmt WPA-PSK'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: response was 'OK'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: sending command
'SET_NETWORK 0 psk key'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: response was 'OK'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: sending command
'SET_NETWORK 0 pairwise TKIP'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: response was 'OK'
Aug 26 06:59:52 PACIFICA NetworkManager: info SUP: sending command
'SET_NETWORK 0 group TKIP'
Aug 26 06:59:52 PACIFICA NetworkManager: info