Hi,<br><br>I have hostapd 0.5.7 working with with my D-link DWL-G650 network card (with mad-wifi <a href="http://0.9.2.1">0.9.2.1</a> dwifi driver). <br><br>I have the&nbsp; following problem when I try to connect a device to this AP :
<br><span style="font-weight: bold;">invalid MIC in msg 2/4 of 4-Way Handshake</span><br><br>this is an extract from hostapd ouput: <br><br>ath0: STA 00:14:a7:fa:8c:ed IEEE 802.11: associated<br>&nbsp; New STA<br>ath0: STA 00:14:a7:fa:8c:ed WPA: event 1 notification
<br>madwifi_del_key: addr=00:14:a7:fa:8c:ed key_idx=0<br>ath0: STA 00:14:a7:fa:8c:ed WPA: start authentication<br>WPA: 00:14:a7:fa:8c:ed WPA_PTK entering state INITIALIZE<br>madwifi_del_key: addr=00:14:a7:fa:8c:ed key_idx=0
<br>ath0: STA 00:14:a7:fa:8c:ed IEEE 802.1X: unauthorizing port<br>WPA: 00:14:a7:fa:8c:ed WPA_PTK_GROUP entering state IDLE<br>WPA: 00:14:a7:fa:8c:ed WPA_PTK entering state AUTHENTICATION<br>WPA: 00:14:a7:fa:8c:ed WPA_PTK entering state AUTHENTICATION2
<br>WPA: 00:14:a7:fa:8c:ed WPA_PTK entering state INITPSK<br>WPA: 00:14:a7:fa:8c:ed WPA_PTK entering state PTKSTART<br>ath0: STA 00:14:a7:fa:8c:ed WPA: sending 1/4 msg of 4-Way Handshake<br>WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=1 ie_len=0 gtk_len=0 keyidx=0 encr=0)
<br>TX EAPOL - hexdump(len=113): 00 14 a7 fa 8c ed 00 13 46 98 00 84 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 7c b5 33 92 2a e4 67 0d 04 80 41 fc 1d 8a 1d 6b c6 55 d8 1d d8 5b a9 40 b8 cb 24 3d 92 a2 2c 8b 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 00
<br>IEEE 802.1X: 123 bytes from 00:14:a7:fa:8c:ed<br>&nbsp;&nbsp; IEEE 802.1X: version=1 type=3 length=119<br>ath0: STA 00:14:a7:fa:8c:ed WPA: received EAPOL-Key frame (2/4 Pairwise)<br>WPA: 00:14:a7:fa:8c:ed WPA_PTK entering state PTKCALCNEGOTIATING
<br>PMK - hexdump(len=32): [REMOVED]<br>PTK - hexdump(len=64): [REMOVED]<br><span style="font-weight: bold;">ath0: STA 00:14:a7:fa:8c:ed WPA: invalid MIC in msg 2/4 of 4-Way Handshake</span><br>ath0: STA 00:14:a7:fa:8c:ed WPA: EAPOL-Key timeout
<br>WPA: 00:14:a7:fa:8c:ed WPA_PTK entering state PTKSTART<br>ath0: STA 00:14:a7:fa:8c:ed WPA: sending 1/4 msg of 4-Way Handshake<br><br>Does anyone know why ?<span style="font-family: monospace;"><br></span>Thanks.<span style="font-family: monospace;">
<br><br></span>ZorteK<br><br>