Hi,When networkmanager won't associate with a AP first time, it's asking for new key assuming the network key has changed. But sometimes the fault lies somewhere else (wpa_supplicant?) and it would be so much more convenient if nm-applet could have an option RETRY/ENTER_NEW_KEY. That way after unsuccessful associate you could simply nicely ask him to retry using the same key (from keychain) rather than typing your key again. The other option is to try 2-3 times to associate with the network before asking for a new key (but I think it would be waste of time if you actually change the key). Personally I think you will more often get a situation than wpa_supplicant fail than the key for your network has changed.
log below:Mar 17 08:12:30 [NetworkManager] <info> Activation (wlan0/wireless): connection 'Auto dagger' has security, and secrets exist. No new secrets needed Mar 17 08:12:30 [NetworkManager] <info> Config: added 'ssid' value 'dagger'_ Mar 17 08:12:30 [NetworkManager] <info> Config: added 'scan_ssid' value '1'_ Mar 17 08:12:30 [NetworkManager] <info> Config: added 'key_mgmt' value 'WPA-PSK'_ Mar 17 08:12:30 [NetworkManager] <info> Config: added 'psk' value '<omitted>'_ Mar 17 08:12:30 [NetworkManager] <info> Config: added 'proto' value 'WPA RSN'_ Mar 17 08:12:30 [NetworkManager] <info> Config: added 'pairwise' value 'TKIP CCMP'_ Mar 17 08:12:30 [NetworkManager] <info> Config: added 'group' value 'WEP40 WEP104 TKIP CCMP'_ Mar 17 08:12:30 [NetworkManager] <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete._
Mar 17 08:12:30 [NetworkManager] <info> Config: set interface ap_scan to 1_Mar 17 08:12:30 [NetworkManager] <info> (wlan0) Supplicant interface state change: 2 -> 0_ Mar 17 08:12:30 [NetworkManager] <info> (wlan0) Supplicant interface state change: 0 -> 2_ Mar 17 08:12:32 [NetworkManager] <info> (wlan0) Supplicant interface state change: 2 -> 3_ Mar 17 08:12:32 [NetworkManager] <info> (wlan0) Supplicant interface state change: 3 -> 4_ Mar 17 08:12:32 [kernel] [ 80.234469] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Mar 17 08:12:33 [NetworkManager] <info> (wlan0) Supplicant interface state change: 4 -> 5_ Mar 17 08:12:33 [NetworkManager] <info> (wlan0) Supplicant interface state change: 5 -> 6_ Mar 17 08:12:43 [NetworkManager] <info> (wlan0) Supplicant interface state change: 6 -> 0_ Mar 17 08:12:43 [NetworkManager] <info> (wlan0) Supplicant interface state change: 0 -> 2_ Mar 17 08:12:43 [NetworkManager] <info> (wlan0) Supplicant interface state change: 2 -> 0_ Mar 17 08:12:45 [NetworkManager] <info> Activation (wlan0/wireless): disconnected during association, asking for new key._
after typing same key:Mar 17 08:12:58 [NetworkManager] <info> (wlan0) Supplicant interface state change: 0 -> 2_ Mar 17 08:13:02 [NetworkManager] <info> (wlan0) Supplicant interface state change: 2 -> 3_ Mar 17 08:13:02 [NetworkManager] <info> (wlan0) Supplicant interface state change: 3 -> 4_ Mar 17 08:13:02 [NetworkManager] <info> (wlan0) Supplicant interface state change: 4 -> 5_ Mar 17 08:13:03 [NetworkManager] <info> (wlan0) Supplicant interface state change: 5 -> 6_ Mar 17 08:13:03 [NetworkManager] <info> (wlan0) Supplicant interface state change: 6 -> 7_
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature