Bug 164365 - [iwi] iwi0: <Intel(R) PRO/Wireless 2200BG> UP/DOWN in WPA-PSK mode
Summary: [iwi] iwi0: <Intel(R) PRO/Wireless 2200BG> UP/DOWN in WPA-PSK mode
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-22 06:10 UTC by Matthias Apitz
Modified: 2018-05-28 19:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Apitz 2012-01-22 06:10:10 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-01-22 06:27:21 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-wireless

Over to maintainer(s).
Comment 2 Matthias Apitz 2012-01-22 16:17:47 UTC
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
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:48:38 UTC
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.