<div>Hello all!</div><div><br></div><div>I&#39;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:</div><div><br></div>
<div>ap_scan = 1</div><div><br></div><div>network =</div><div>{</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>ssid = &quot;TESTWLAN&quot; </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>key_mgmt = WPA-PSK</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>psk = &quot;12345678901234567890&quot;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>proto = WPA</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>pairwise = TKIP</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>group = TKIP</div><div>}</div><div><br></div><div>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.</div>
<div><br></div><div>Here&#39;s the part of the log that shows the problem:</div><div><br></div><div>1235037319.000000: WPA: RX message 1 of 4-Way Handshake from 02:c8:40:39:32:f0 (ver=1)</div><div>1235037319.000000: WPA: PTK derivation - A1=00:0c:e3:04:b2:2c A2=02:c8:40:39:32:f0</div>
<div>1235037319.000000: WPA: PMK - hexdump(len=32): [REMOVED]</div><div>1235037319.000000: WPA: PTK - hexdump(len=64): [REMOVED]</div><div>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</div>
<div>1235037319.000000: WPA: Sending EAPOL-Key 2/4</div><div>1235037319.000000: l2_packet_rx_thread: Read 54 byte packet</div><div>1235037319.000000: L2(NDISUIO): Read 54 bytes</div><div>1235037319.000000: RX EAPOL from 02:c8:40:39:32:f0</div>
<div>1235037319.000000: WPA: EAPOL frame too short to be a WPA EAPOL-Key (len 40, expecting at least 99)</div><div>1235037321.000000: EAPOL: startWhen --&gt; 0</div><div>1235037321.000000: EAPOL: disable timer tick</div><div>
1235037321.000000: EAPOL: SUPP_PAE entering state CONNECTING</div><div>1235037321.000000: EAPOL: enable timer tick</div><div>1235037321.000000: EAPOL: txStart</div><div>1235037321.000000: WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)</div>
<div>1235037328.000000: Authentication with 02:c8:40:39:32:f0 timed out.</div><div>1235037328.000000: CTRL_IFACE monitor send <a href="http://127.0.0.1:3034">127.0.0.1:3034</a></div><div>1235037328.000000: BSSID 02:c8:40:39:32:f0 blacklist count incremented to 2</div>
<div>1235037328.000000: No keys have been configured - skip key clearing</div><div>1235037328.000000: State: 4WAY_HANDSHAKE -&gt; DISCONNECTED</div><div><br></div><div>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?</div>
<div><br></div><div>Best regards, </div><div><br></div><div>Peter</div>