Can't connect ndiswrapper+wpa_supplicant <-> madwifi+hostapd using WPA-PSK+TKIP
Mailinglists
mailinglists
Wed Jan 12 02:31:31 PST 2005
yep i meant your posting.. but there is another one. For reference in
case somebody else hits this thread:
http://sourceforge.net/mailarchive/forum.php?thread_id=6280104&forum_id=33958
http://sourceforge.net/mailarchive/forum.php?thread_id=6289431&forum_id=33958
Moreover I found that when using hostapd 0.3.1 and TKIP only I at least reach message 2 of the handshake.
/tobi
hostapd -dddddd /etc/madwifi1.conf
Configuration file: /etc/madwifi1.conf
madwifi_set_iface_flags: dev_up=0
Using interface ath0 with hwaddr 00:11:6b:b0:07:96 and ssid 'midgard'
madwifi_set_ieee8021x: enabled=1
madwifi_configure_wpa: group key cipher=1
madwifi_configure_wpa: pairwise key ciphers=0x2
madwifi_configure_wpa: key management algorithms=0x2
madwifi_configure_wpa: rsn capabilities=0x0
madwifi_configure_wpa: enable WPA= 0x1
madwifi_set_iface_flags: dev_up=1
madwifi_set_privacy: enabled=1
WPA: group state machine entering state GTK_INIT
GMK - hexdump(len=32): 8a 7b da 0d a3 67 3c 1b df 60 7a 1b d9 b6 f0 fa 7f 26 88 85 f8 a9 e3 15 2d c1 e0 04 04 7a 11 f5
GTK - hexdump(len=32): 2c 6c 19 60 8b 32 45 da d3 0d a9 ff 45 c0 fd b6 79 cf 7f 04 cc d9 fa 57 0c 2d 9f fa 2a 4e 29 f4
WPA: group state machine entering state SETKEYSDONE
madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1
Flushing old station entries
Deauthenticate all stations
l2_packet_receive - recv: Network is down
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0e:35:8a:3a:0c IEEE 802.11: associated
New STA
ath0: STA 00:0e:35:8a:3a:0c WPA: event 1 notification
ath0: STA 00:0e:35:8a:3a:0c WPA: start authentication
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:0e:35:8a:3a:0c key_idx=0
ath0: STA 00:0e:35:8a:3a:0c IEEE 802.1X: unauthorizing port
madwifi_set_sta_authorized: addr=00:0e:35:8a:3a:0c authorized=0
WPA: 00:0e:35:8a:3a:0c WPA_PTK_GROUP entering state IDLE
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state AUTHENTICATION
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state AUTHENTICATION2
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state INITPSK
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state PTKSTART
ath0: STA 00:0e:35:8a:3a:0c WPA: sending 1/4 msg of 4-Way Handshake
TX EAPOL - hexdump(len=113): 00 0e 35 8a 3a 0c 00 11 6b b0 07 96 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 2c e9 66 74 97 a6 16 14 b4 e4 91 98 46 24 66 83 77 26 d2 4d 8c ac 91 c8 29 46 04 20 13 3d 7e 64 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
IEEE 802.1X: 123 bytes from 00:0e:35:8a:3a:0c
IEEE 802.1X: version=2 type=3 length=119
ath0: STA 00:0e:35:8a:3a:0c WPA: received EAPOL-Key frame (2/4 Pairwise)
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state PTKCALCNEGOTIATING
PMK - hexdump(len=32): a7 4e 9c 3f 1a 1b f0 d1 ca 63 75 07 a5 cb 68 a2 35 1c fa df 8c bf df 34 2a 95 f4 bf 8c 8d d2 eb
PTK - hexdump(len=64): 60 b9 2c e5 b4 46 5e b6 dd db a2 8b 0b b7 bb 49 85 9b c4 7e 17 d0 78 c7 44 dc 00 77 4a c9 23 8b 1f 3f 8e c1 0f 6f 11 a4 c9 a9 e6 ce c7 71 5f 4f 25 d7 d1 f7 2e a7 75 bc 09 07 4f 31 bb 68 16 13
ath0: STA 00:0e:35:8a:3a:0c WPA: invalid MIC in msg 2/4 of 4-Way Handshake
Wireless event: cmd=0x8c04 len=20
ath0: STA 00:0e:35:8a:3a:0c IEEE 802.11: deassociated
ath0: STA 00:0e:35:8a:3a:0c WPA: event 2 notification
madwifi_del_key: addr=00:0e:35:8a:3a:0c key_idx=0
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state DISCONNECTED
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:0e:35:8a:3a:0c key_idx=0
ath0: STA 00:0e:35:8a:3a:0c IEEE 802.1X: unauthorizing port
madwifi_set_sta_authorized: addr=00:0e:35:8a:3a:0c authorized=0
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0e:35:8a:3a:0c IEEE 802.11: associated
New STA
ath0: STA 00:0e:35:8a:3a:0c WPA: event 1 notification
ath0: STA 00:0e:35:8a:3a:0c WPA: start authentication
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:0e:35:8a:3a:0c key_idx=0
ath0: STA 00:0e:35:8a:3a:0c IEEE 802.1X: unauthorizing port
madwifi_set_sta_authorized: addr=00:0e:35:8a:3a:0c authorized=0
WPA: 00:0e:35:8a:3a:0c WPA_PTK_GROUP entering state IDLE
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state AUTHENTICATION
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state AUTHENTICATION2
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state INITPSK
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state PTKSTART
ath0: STA 00:0e:35:8a:3a:0c WPA: sending 1/4 msg of 4-Way Handshake
TX EAPOL - hexdump(len=113): 00 0e 35 8a 3a 0c 00 11 6b b0 07 96 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 2c e9 66 74 97 a6 16 14 b4 e4 91 98 46 24 66 83 77 26 d2 4d 8c ac 91 c8 29 46 04 20 13 3d 7e 65 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
IEEE 802.1X: 123 bytes from 00:0e:35:8a:3a:0c
IEEE 802.1X: version=2 type=3 length=119
ath0: STA 00:0e:35:8a:3a:0c WPA: received EAPOL-Key frame (2/4 Pairwise)
WPA: 00:0e:35:8a:3a:0c WPA_PTK entering state PTKCALCNEGOTIATING
PMK - hexdump(len=32): a7 4e 9c 3f 1a 1b f0 d1 ca 63 75 07 a5 cb 68 a2 35 1c fa df 8c bf df 34 2a 95 f4 bf 8c 8d d2 eb
PTK - hexdump(len=64): 77 7f 99 10 01 d3 22 03 32 80 44 45 c7 87 d7 21 58 80 25 dc cb 4f bf a4 f4 50 cc 77 0f 99 44 c9 dd f4 f6 00 04 3a 2f e6 3c ca 07 70 24 e3 7d 2d ad 04 9d 8b 63 7c d7 ba ea 0a 1b a2 a6 31 31 bb
ath0: STA 00:0e:35:8a:3a:0c WPA: invalid MIC in msg 2/4 of 4-Way Handshake
Wireless event: cmd=0x8c04 len=20
ath0: STA 00:0e:35:8a:3a:0c IEEE 802.11: deassociated
ath0: STA 00:0e:35:8a:3a:0c WPA: event 2 notification
madwifi_del_key: addr=00:0e:35:8a:3a:0c key_idx=0
Am Montag, den 10.01.2005, 23:40 +0100 schrieb Whoopie:
> Hi,
> I think you meant me. I haven't been able to solve the problem yet.
> I would be greatful for any ideas.
>
> Kind Regards,
> Whoopie
>
> ----- Original Message -----
> From: "Mailinglists" <mailinglists at inetmx.de>
> To: <hostap at shmoo.com>
> Sent: Monday, January 10, 2005 6:17 PM
> Subject: Re: Can't connect ndiswrapper+wpa_supplicant <-> madwifi+hostapd
> using WPA-PSK+TKIP
>
>
> > Thanks for your reply. I tried what you recommended and it failed in the
> > same way when using only tkip . ccmp even refused setting a key at
> > all :-( Is there a posting on the madwifi list on that issue? A quick
> > search on it gave me no results.. only one guy having the same prob and
> > no one replied to him yet..
> >
> > /tobi
> >
> >
> >
> >
> >
> >
> > Am Sonntag, den 09.01.2005, 12:07 +0100 schrieb Gunter Burchardt:
> >> > Really nobody can help me with that? Perhaps I should formulate more
> >> > concrete questions:
> >> >
> >> > - where should I look for the error? Client or host?
> >> > - which phase fails? As far as I understood the stuff I read so far the
> >> > prob is related to the crypto key exchange. Somebody can confirm that?
> >> > - what could be the reason for failing at that point?
> >> > - any chance to fix that? If it is not a stupid config problem, I would
> >> > also be able to try to provide a patch for the prob, but since right
> >> > now
> >> > I do not even know for sure what the prob is.. no chance..
> >>
> >> Its a known issue with madwifi that ccmp and tkip fields in WPAIE are
> >> interchanged in some cases. WPAIE is not the same so key exchange will
> >> fail. If you use only one of them it has a chance to work ;).
> >>
> >> regards
> >> gunter
> >> _______________________________________________
> >> HostAP mailing list
> >> HostAP at shmoo.com
> >> http://lists.shmoo.com/mailman/listinfo/hostap
> >>
> >
> >
> >
> > ++++++++++++ WERBUNG +++++++++++++++
> > Free-Mail http://www.inetmx.de
> > 52 MB Postfach / Spam- und Virenfilter
> >
> > by http://www.inetsolutions.de
> > ISP / Qualit?ts-Webhosting
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> >
> >
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
++++++++++++ WERBUNG +++++++++++++++
Free-Mail http://www.inetmx.de
52 MB Postfach / Spam- und Virenfilter
by http://www.inetsolutions.de
ISP / Qualit?ts-Webhosting
More information about the Hostap
mailing list