<br>Hi, <br><br>I&#39;ve built wpa_supplicant on Linux (kernel 2.6.25-14.fc9.i686), with wext driver, and runing it on netgear wg311T(atheros AR5212). I start the wpa_supplicant with -i wlan0 and -D wext, but it fails to do the connection with WPA2-PSK configured AP. wireshark shows me that it reaches till 2/4 of 4-way-hshake. But then it seems to receive dissociate event from the hardware/driver. I&#39;m passing correct key for PSK auth.<br>
<br>Following is the log message -<br><br>/******************debug log****************************************************<br><br>State: ASSOCIATED -&gt; DISCONNECTED<br>wpa_driver_wext_set_operstate: operstate 0-&gt;0 (DORMANT)<br>
WEXT: Operstate: linkmode=-1, operstate=5<br>EAPOL: External notification - portEnabled=0<br>EAPOL: SUPP_PAE entering state DISCONNECTED<br>EAPOL: SUPP_BE entering state INITIALIZE<br>EAPOL: External notification - portValid=0<br>
EAPOL: External notification - EAP success=0<br>RX EAPOL from 00:1d:7e:f4:d7:07<br>RX EAPOL - hexdump(len=121): 02 03 00 75 02 00 8a 00 10 00 00 00 00 00 00 00 00 fd cc 9e 98 1d 47 b3 25 9a 6d 8d fd 3d 71 55 8e e4 ef 5f ea 9a 08 21 b1 be d0 20 55 2d 4a c7 a9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16 dd 14 00 0f ac 04 b0 2a ff fe db bc a9 c5 e2 9d 88 ae d1 df 84 ba<br>
Setting authentication timeout: 10 sec 0 usec<br>IEEE 802.1X RX: version=2 type=3 length=117<br>  EAPOL-Key type=2<br>  key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)<br>  key_length=16 key_data_length=22<br>  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 00<br>
  key_nonce - hexdump(len=32): fd cc 9e 98 1d 47 b3 25 9a 6d 8d fd 3d 71 55 8e e4 ef 5f ea 9a 08 21 b1 be d0 20 55 2d 4a c7 a9<br>  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00<br>
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00<br>  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>WPA: RX EAPOL-Key - hexdump(len=121): 02 03 00 75 02 00 8a 00 10 00 00 00 00 00 00 00 00 fd cc 9e 98 1d 47 b3 25 9a 6d 8d fd 3d 71 55 8e e4 ef 5f ea 9a 08 21 b1 be d0 20 55 2d 4a c7 a9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16 dd 14 00 0f ac 04 b0 2a ff fe db bc a9 c5 e2 9d 88 ae d1 df 84 ba<br>
State: DISCONNECTED -&gt; 4WAY_HANDSHAKE<br>WPA: RX message 1 of 4-Way Handshake from 00:1d:7e:f4:d7:07 (ver=2)<br>RSN: msg 1/4 key data - hexdump(len=22): dd 14 00 0f ac 04 b0 2a ff fe db bc a9 c5 e2 9d 88 ae d1 df 84 ba<br>
RSN: PMKID from Authenticator - hexdump(len=16): b0 2a ff fe db bc a9 c5 e2 9d 88 ae d1 df 84 ba<br>RSN: no matching PMKID found<br>WPA: Renewed SNonce - hexdump(len=32): d8 f1 69 54 1a e7 9f 46 16 b2 b4 97 00 4b 1f 35 52 1d 9f 87 0a 49 fd df 46 70 4e d7 04 ec d9 bd<br>
WPA: PMK - hexdump(len=32): [REMOVED]<br>WPA: PTK - hexdump(len=64): [REMOVED]<br>WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00<br>WPA: Sending EAPOL-Key 2/4<br>
WPA: TX EAPOL-Key - hexdump(len=121): 01 03 00 75 02 01 0a 00 00 00 00 00 00 00 00 00 00 d8 f1 69 54 1a e7 9f 46 16 b2 b4 97 00 4b 1f 35 52 1d 9f 87 0a 49 fd df 46 70 4e d7 04 ec d9 bd 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 63 b4 56 74 f3 18 fc f5 14 f4 64 57 d3 4e 2e 84 00 16 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00<br>
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])<br>Wireless event: cmd=0x8b15 len=20<br>Wireless event: new AP: 00:00:00:00:00:00<br>WPA: 4-Way Handshake failed - pre-shared key may be incorrect<br>Setting scan request: 0 sec 100000 usec<br>
Added BSSID 00:00:00:00:00:00 into blacklist<br>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys<br>wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0<br>wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0<br>
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0<br>wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0<br>wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0<br>ioctl[SIOCSIWENCODEEXT]: No such file or directory<br>
Driver did not support SIOCSIWENCODEEXT<br>State: 4WAY_HANDSHAKE -&gt; DISCONNECTED<br><br>/***********************************************end************************************************************/<br><br><br>Thanks<br>
- Paresh<br>