Re: nm-applet is asking for new key each time it fail to associate



On Mon, 2008-03-17 at 10:20 -0500, Forrest Sheng Bao wrote:
> Yes, I also have this problem. And the next time, the NM can't
> remember the wi-fi is WPA-enabled but ask me the WEP key or leap
> authentication information. I don't know why. 

Been trying to find this;  when you get this situation, can you
run /usr/bin/nm-tool for me and mail me the output, telling me what SSID
your AP is?

Thanks,
Dan

> On Mon, Mar 17, 2008 at 3:48 AM, Robert Piasek <robert piasek co uk>
> wrote:
>         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_
>         
>         
>         _______________________________________________
>         NetworkManager-list mailing list
>         NetworkManager-list gnome org
>         http://mail.gnome.org/mailman/listinfo/networkmanager-list
>         
> 
> 
> 
> -- 
> Forrest Sheng Bao
> Ph.D. student, Dept. of Computer Science
> M.Sc. student, Dept. of Electrical & Computer Engineering
> Rm 115, Experimental Sciences Building
> Texas Tech University, USA
> http://fsbao.net
> 1-806-577-4592
> 
> Forrest is an equal opportunity Email sender.
> 1. You are encouraged to use the language you prefer. Beyond English,
> I can also read traditional/simplified Chinese and a bit German.
> 2. I will only send you files readable to free or open source
> software. 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]