[Fwd: wpa_supplicant drops connection]

Brian Carey BrianC
Sat Jun 10 08:25:05 PDT 2006


Brian Carey wrote:

>Hi,
>
>For some reason my wpa connections are dropping/timing out. I've noticed 
>this behavior on a number of networks, and did not have the problem when 
>using wep encryption, so I'm pretty sure it's wpa related.
>
>Versions:
>Slackware 10.2
>Linux 2.6.13
>wpa_supplicant 0.4.9
>Any others needed?
>
>Here is some of the output, let me know if it is not enough:
>
>Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 
>'wext' ctrl_interface 'N/A'
>Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
>Reading configuration file '/etc/wpa_supplicant.conf'
>ctrl_interface='/var/run/wpa_supplicant'
>ctrl_interface_group=0
>eapol_version=1
>ap_scan=1
>fast_reauth=1
>Priority group 2
>id=0 ssid='cocomango'
>id=1 ssid='wsha'
>id=2 ssid='OneStop'
>        Initializing interface (2) 'wlan0'
>        EAPOL: SUPP_PAE entering state DISCONNECTED
>        EAPOL: KEY_RX entering state NO_KEY_RECEIVE
>        EAPOL: SUPP_BE entering state INITIALIZE
>        EAP: EAP entering state DISABLED
>        EAPOL: External notification - portEnabled=0
>        EAPOL: External notification - portValid=0
>        SIOCGIWRANGE: WE(compiled)=18 WE(source)=18 enc_capa=0xe
>          capabilities: key_mgmt 0xa enc 0xf
>          Own MAC address: 00:90:4b:9e:b8:0e
>          wpa_driver_wext_set_wpa
>          wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 
>key_len=0
>          wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 
>key_len=0
>          wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 
>key_len=0
>          wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 
>key_len=0
>          wpa_driver_wext_set_countermeasures
>          wpa_driver_wext_set_drop_unencrypted
>          Setting scan request: 0 sec 100000 usec
>          Added interface wlan0
>          Wireless event: cmd=0x8b06 len=8
>          RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
>          RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
>          State: DISCONNECTED -> SCANNING
>          Starting AP scan (specific SSID)
>...
>and runs fine up to:
>...
>
>WPA: Sending EAPOL-Key 4/4
>                                                      WPA: Installing 
>PTK to the driver.
>                                                      WPA: RSC - 
>hexdump(len=6): 00 00 00 00 00 00
>                                                      
>wpa_driver_wext_set_key: alg=2 key_idx=0 set_tx=1 seq_len=6 key_len=32
>                                                      State: 
>4WAY_HANDSHAKE -> GROUP_HANDSHAKE
>                                                      RX EAPOL from 
>00:0f:3d:5e:b4:46
>                                                      IEEE 802.1X RX: 
>version=1 type=3 length=127
>                                                        EAPOL-Key type=254
>                                                          key_info 0x391 
>(ver=1 keyidx=1 rsvd=0 Group Ack MIC Secure)
>                                                            
>key_length=32 key_data_length=32
>                                                              
>replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 03
>                                                                
>key_nonce - hexdump(len=32): 00 37 87 9f 79 b3 3b e0 09 7a 4c 47 28 fd 
>6f 19 da b8 d4 d8 9b
>78 4c f6 d7 b7 ce 5e c3 87 36 5d
>                                                                  key_iv 
>- hexdump(len=16): a2 10 3e 87 d2 f3 39 d4 e4 6b 07 2b 0a b8 2e 70
>                                                                    
>key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
>                                                                      
>key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
>                                                                        
>key_mic - hexdump(len=16): 9e 1c 5f 9f e8 85 70 ba a3 64 cd 2d cb 05 98 f9
>                                                                        
>State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
>                                                                        
>WPA: RX message 1 of Group Key Handshake from 00:0f:3d:5e:b4:46 (ver=1)
>                                                                        
>WPA: Group Key - hexdump(len=32): [REMOVED]
>                                                                        
>WPA: Installing GTK to the driver (keyidx=1 tx=0).
>                                                                        
>WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
>                                                                        
>wpa_driver_wext_set_key: alg=2 key_idx=1 set_tx=0 seq_len=6 key_len=32
>                                                                        
>WPA: Sending EAPOL-Key 2/2
>                                                                        
>WPA: Key negotiation completed with 00:0f:3d:5e:b4:46 [PTK=TKIP GTK=TKIP]
>                                                                        
>Cancelling authentication timeout
>                                                                        
>State: GROUP_HANDSHAKE -> COMPLETED
>                                                                        
>CTRL-EVENT-CONNECTED - Connection to 00:0f:3d:5e:b4:46 completed (auth)
>                                                                        
>EAPOL: External notification - portValid=1
>                                                                        
>EAPOL: External notification - EAP success=1
>                                                                        
>EAPOL: SUPP_PAE entering state AUTHENTICATING
>                                                                        
>EAPOL: SUPP_BE entering state SUCCESS
>                                                                        
>EAP: EAP entering state DISABLED
>                                                                        
>EAPOL: SUPP_PAE entering state AUTHENTICATED
>                                                                        
>EAPOL: SUPP_BE entering state IDLE
>                                                                        
>EAPOL: startWhen --> 0
>
>
>...
>at which point i can get an ip address and all is fine, until suddenly I 
>no longer have the network again.  The output at this point is:
>
>...
>
>RX EAPOL from 00:0f:3d:5e:b4:46
>IEEE 802.1X RX: version=1 type=3 length=95
> EAPOL-Key type=254
> key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
> key_length=32 key_data_length=0
> replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
> key_nonce - hexdump(len=32): 44 e3 2d 64 01 23 f8 02 64 e6 21 6e d4 3e 
>8b a1 d9 70 ce c5 20 62 75 a4 6b cc 62 03 10 a4 ac 69
> key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
> key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
> key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>WPA: EAPOL-Key Replay Counter did not increase - dropping packet
>RX EAPOL from 00:0f:3d:5e:b4:46
>IEEE 802.1X RX: version=1 type=3 length=95
> EAPOL-Key type=254
> key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
> key_length=32 key_data_length=0
> replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
> key_nonce - hexdump(len=32): 44 e3 2d 64 01 23 f8 02 64 e6 21 6e d4 3e 
>8b a1 d9 70 ce c5 20 62 75 a4 6b cc 62 03 10 a4 ac 69
> key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
> key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
> key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>WPA: EAPOL-Key Replay Counter did not increase - dropping packet
>RX EAPOL from 00:0f:3d:5e:b4:46
>IEEE 802.1X RX: version=1 type=3 length=95
> EAPOL-Key type=254
> key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
> key_length=32 key_data_length=0
> replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 03
> key_nonce - hexdump(len=32): 44 e3 2d 64 01 23 f8 02 64 e6 21 6e d4 3e 
>8b a1 d9 70 ce c5 20 62 75 a4 6b cc 62 03 10 a4 ac 69
> key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
> key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
> key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>WPA: EAPOL-Key Replay Counter did not increase - dropping packet
>...
>
>and then it just keeps going on like that.
>
>Any suggestions for me?
>
>Thanks,
>Brian
>
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>
>
>  
>

-------------- next part --------------
An embedded message was scrubbed...
From: Brian Carey <BrianC at newmexicobusinesssolutions.com>
Subject: wpa_supplicant drops connection
Date: Fri, 09 Jun 2006 18:19:09 -0600
Size: 11209
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20060610/ede343d9/attachment.eml 



More information about the Hostap mailing list