WPA handshake times out under Windows CE 5

Peter Schottland peter.schottland at googlemail.com
Tue Feb 24 04:30:12 EST 2009


Hello all!

I've trouble establishing WPA connections with wpa_supplicant 0.6.8 under
Windows CE 5. For some reason the handshake regularly fails. This is the
configuration:

ap_scan = 1

network =
{
ssid = "TESTWLAN"
key_mgmt = WPA-PSK
psk = "12345678901234567890"
proto = WPA
pairwise = TKIP
group = TKIP
}

When the supplicant has been compiled (EVC4) with debug configuration the
handshake fails virtually always (success rate below 10%). When compiled
with release configuration it fails much less often. But it still fails
sometimes.

Here's the part of the log that shows the problem:

1235037319.000000: WPA: RX message 1 of 4-Way Handshake from
02:c8:40:39:32:f0 (ver=1)
1235037319.000000: WPA: PTK derivation - A1=00:0c:e3:04:b2:2c
A2=02:c8:40:39:32:f0
1235037319.000000: WPA: PMK - hexdump(len=32): [REMOVED]
1235037319.000000: WPA: PTK - hexdump(len=64): [REMOVED]
1235037319.000000: WPA: WPA IE for msg 2/4 - hexdump(len=26): dd 18 00 50 f2
01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
1235037319.000000: WPA: Sending EAPOL-Key 2/4
1235037319.000000: l2_packet_rx_thread: Read 54 byte packet
1235037319.000000: L2(NDISUIO): Read 54 bytes
1235037319.000000: RX EAPOL from 02:c8:40:39:32:f0
1235037319.000000: WPA: EAPOL frame too short to be a WPA EAPOL-Key (len 40,
expecting at least 99)
1235037321.000000: EAPOL: startWhen --> 0
1235037321.000000: EAPOL: disable timer tick
1235037321.000000: EAPOL: SUPP_PAE entering state CONNECTING
1235037321.000000: EAPOL: enable timer tick
1235037321.000000: EAPOL: txStart
1235037321.000000: WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
1235037328.000000: Authentication with 02:c8:40:39:32:f0 timed out.
1235037328.000000: CTRL_IFACE monitor send 127.0.0.1:3034
1235037328.000000: BSSID 02:c8:40:39:32:f0 blacklist count incremented to 2
1235037328.000000: No keys have been configured - skip key clearing
1235037328.000000: State: 4WAY_HANDSHAKE -> DISCONNECTED

The last received packet is too short (just 54 bytes). As no other packets
seem to arrive the handshake times out. What can be the reason? Does anyone
on the list has observed similar problems under Windows CE?

Best regards,

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20090224/5a1aff3e/attachment.htm 


More information about the HostAP mailing list