I've changed my AP at home from WEP to WPA2 and since this one of my stations facing after some while (~90 minutes) the problem of UP and DOWN; in /var/log/messages it looks like this: Jan 21 22:00:09 Perlach wpa_supplicant[485]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Jan 21 22:00:09 Perlach kernel: wlan0: link state changed to DOWN Jan 21 22:00:09 Perlach wpa_supplicant[485]: Trying to associate with 00:13:f7:0d:08:48 (SSID='tarara' freq=2442 MHz) Jan 21 22:00:09 Perlach wpa_supplicant[485]: Associated with 00:13:f7:0d:08:48 Jan 21 22:00:09 Perlach kernel: wlan0: link state changed to UP Jan 21 22:00:12 Perlach wpa_supplicant[485]: WPA: Key negotiation completed with 00:13:f7:0d:08:48 [PTK=CCMP GTK=CCMP] Jan 21 22:00:12 Perlach wpa_supplicant[485]: CTRL-EVENT-CONNECTED - Connection to 00:13:f7:0d:08:48 completed (reauth) [id=0 id_str=] Jan 21 22:00:18 Perlach wpa_supplicant[485]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Jan 21 22:00:18 Perlach kernel: wlan0: link state changed to DOWN Jan 21 22:00:18 Perlach wpa_supplicant[485]: Trying to associate with 00:13:f7:0d:08:48 (SSID='tarara' freq=2442 MHz) The system runs 9-CURRENT from October 2010 (r214444) and did not show this problem in WEP mode; wpa_supplicant lines are simple: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel eapol_version=1 ap_scan=1 fast_reauth=1 network={ ssid="tarara" key_mgmt=WPA-PSK psk="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" } Killing the dhclient(8) processes and restart # dhclient wlan0 helps to get out of this loop of UP/DOWN. How-To-Repeat: Work and wait until problem occurs.
Responsible Changed From-To: freebsd-bugs->freebsd-wireless Over to maintainer(s).
Today I faced another incident and while this UP/DOWN loop occurs I see in the messages of the other laptop connected to the same AP: Jan 22 14:32:20 tinyCurrent wpa_supplicant[1612]: WPA: Group rekeying completed with 00:13:f7:0d:08:48 [GTK=CCMP] Jan 22 14:32:52 tinyCurrent last message repeated 10 times Jan 22 14:34:55 tinyCurrent last message repeated 39 times Jan 22 14:36:16 tinyCurrent last message repeated 19 times Jan 22 14:36:18 tinyCurrent wpa_supplicant[1612]: WPA: AES unwrap failed - could not decrypt EAPOL-Key key data Jan 22 14:36:25 tinyCurrent wpa_supplicant[1612]: WPA: Group rekeying completed with 00:13:f7:0d:08:48 [GTK=CCMP] Jan 22 14:36:40 tinyCurrent last message repeated 4 times In the AP the interval of "Group Key Re_Keying" is disabled; I will change this now to 12 hours .... matthias
batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.