wpa_supplicant: works for 10 seconds, then fails, then works..

lorenzo lagrespan
Mon Dec 26 10:41:34 PST 2005


On 12/26/05, Bryan Kadzban <bryan at kadzban.is-a-geek.net> wrote:
> At this point, you should be getting another EAPOL-Key frame from the AP
> (since you're using WPA mode, not WPA2).  What AP are you using?  From
> the MAC, it might be a D-Link something, is that right?)

yes, it's a Dlink

> Are there any firmware updates available for it?

no. Mailing the Mailing List was my last hope.

> Is it perhaps using WPA2 mode even though the encryption is still TKIP
> for both pairwise and group?  (I wouldn't think so, because I'd think
> that wpa_supplicant would recognize that it received the group key in
> the initial handshake in that case, but I don't know for sure.)

no. tried with wpa2 but it doesn't even associate, perhaps in the IE
there's no sign of our friend WPA2 :)
but I checked it with proto=WPA2 and pairwise/group=TKIP, the response
from -dd is

---
Scan results: 1
Selecting BSS from priority group 0
0: 00:40:05:55:e5:3d ssid='lcdf' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN proto match
No suitable AP found.
---

> Actually, does it maybe use WEP (either WEP40 or WEP104) for the group
> key?  It might work to set "group" to either WEP40 or WEP104 in your
> config file, but I'm not sure how the supplicant agrees on a key with
> the AP in that case.

already tried that. no way out.

> Is there any way to set up a second box with a card that can do wireless
> captures?  The beacons from the AP might be useful, to see what it's
> advertising for WPA version and pairwise/group cipher.

I have already tried all combinations in the wpa_supplicant.conf file;
even left the default options (group = CCMP, TKIP WEP40 WEP140 and
such.. )

> Yeah, it never got frame 1 of the group key handshake, so it timed the
> authentication out, disconnected, and tried again.

actually, here's a -dd output of the last EAPOL-key:

---
WPA: Sending EAPOL-Key 4/4
WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 01 09 00 20 00 00
00 00 00 00 00 02 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 00 00 00 00 00 00 00 00 00 00 00 00 00
00 0b fe b1 ae 35 18 ac 2e bf d5 54 4b c7 b6 da 41 00 00
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
Authentication with 00:40:05:55:e5:3d timed out.
---

hoping it might be of any help,

my best regards

--
:lorenzo grespan
GPG Key fingerprint = 5372 1B49 9E61 747C FB9A  4DAE 5D2A A9A0 74B4 8F1A




More information about the Hostap mailing list