rt73(usb) WPA 4WAY_HANDSHAKE->GROUP_HANDSHAKE problem.

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=5012

ly1234567

25-09-2008 06:55:00

I have used the driver downloaded from http//www.ralinktech.com.
My Linux kernel version is 2.6.20.
My hardware arch is ARM920T.
My router only support WPA, not WPA2.
I have encountered a problem when I use wpa_supplicant.
The wpa_supplicant's debug message is below
=========================================================
[bzwwt7d3c]RX EAPOL from 00095bf7ec17
RX EAPOL - hexdump(len=99) 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 0
Setting authentication timeout 10 sec 0 usec
IEEE 802.1X RX version=1 type=3 length=95
EAPOL-Key type=254
key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
key_length=32 key_data_length=0
replay_counter - hexdump(len=8) 00 00 00 00 00 00 00 01
key_nonce - hexdump(len=32) 6b 4e e1 26 65 15 29 a1 e7 a1 15 50 aa ca 09 1c 8
key_iv - hexdump(len=16) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
key_rsc - hexdump(len=8) 00 00 00 00 00 00 00 00
key_id (reserved) - hexdump(len=8) 00 00 00 00 00 00 00 00
key_mic - hexdump(len=16) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
WPA RX EAPOL-Key - hexdump(len=99) 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 0
wpa_driver_ralink_get_ssid
wpa_driver_ralink_get_bssid
State ASSOCIATED -> 4WAY_HANDSHAKE
WPA RX message 1 of 4-Way Handshake from 00095bf7ec17 (ver=1)
WPA Renewed SNonce - hexdump(len=32) e4 48 d4 30 74 21 c0 ce 91 e8 bf 88 42 99
WPA PMK - hexdump(len=32) [REMOVED]
WPA PTK - hexdump(len=64) [REMOVED]
WPA WPA IE for msg 2/4 - hexdump(len=24) dd 16 00 50 f2 01 01 00 00 50 f2 02 2
WPA Sending EAPOL-Key 2/4
WPA TX EAPOL-Key - hexdump(len=123) 01 03 00 77 fe 01 09 00 20 00 00 00 00 002
RX EAPOL from 00095bf7ec17
RX EAPOL - hexdump(len=123) 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 02y
4e e1 26 65 15 29 a1 e7 a1 15 50 aa ca 09 1c 13 0a 04 d4 a6 19 ec 3b 85 f3 b9 2
IEEE 802.1X RX version=1 type=3 length=119
EAPOL-Key type=254
key_info 0x1c9 (ver=1 keyidx=0 rsvd=0 Pairwise Install Ack MIC)
key_length=32 key_data_length=24
replay_counter - hexdump(len=8) 00 00 00 00 00 00 00 02
key_nonce - hexdump(len=32) 6b 4e e1 26 65 15 29 a1 e7 a1 15 50 aa ca 09 1c 8
key_iv - hexdump(len=16) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
key_rsc - hexdump(len=8) 00 00 00 00 00 00 00 00
key_id (reserved) - hexdump(len=8) 00 00 00 00 00 00 00 00
key_mic - hexdump(len=16) 82 60 19 bb 26 a7 37 6e 86 ac 61 62 cf 55 0a ff
WPA RX EAPOL-Key - hexdump(len=123) 01 03 00 77 fe 01 c9 00 20 00 00 00 00 002
State 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA RX message 3 of 4-Way Handshake from 00095bf7ec17 (ver=1)
WPA IE KeyData - hexdump(len=24) dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 002
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 0
WPA Installing PTK to the driver.
WPA RSC - hexdump(len=6) 00 00 00 00 00 00
wpa_driver_ralink_set_key
RALINK OID_802_11_ADD_KEY - hexdump(len=64) [REMOVED]
time 0.000945 s.
State 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
EAPOL startWhen --> 0
EAPOL SUPP_PAE entering state CONNECTING
EAPOL txStart
WPA drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) [/bzwwt7d3c][/colorzwwt7d3c]
================================================================
It seems that when wpa_supplicant would be began to go to the GROUP_HANDSHAKE process, It stopped there,
and it will retry many times.
Who can tell me why and how to solve this problem.
Thanks!
The attechment is the cap file when the problem occured.

Starcrasher

25-09-2008 10:15:39

I have used the driver downloaded from http//www.ralinktech.com.
[/quote25u594m9]
Please read IMPORTANT READ BEFORE POSTING!!![/url25u594m9]

As you can imagine, people here can not answer to problems in a driver they have not developed.
If you want support for this driver, you have to contact Ralink !

Your best choice could be to download a cvs driver from this site and see if it works better.
At least, if you still have problems, people here will be able to help you find a solution.

ly1234567

26-09-2008 05:56:29

I have used the driver downloaded from http//www.ralinktech.com.
[/quote3r67xqod]
Please read IMPORTANT READ BEFORE POSTING!!![/url3r67xqod]

As you can imagine, people here can not answer to problems in a driver they have not developed.
If you want support for this driver, you have to contact Ralink !

Your best choice could be to download a cvs driver from this site and see if it works better.
At least, if you still have problems, people here will be able to help you find a solution.[/quote3r67xqod]

I'm sorry, I made a mistake.

I change the driver to "rt73-cvs-2008092502", and I encouter the same problem.
I have also tried another wireless card which is based on rtl8187, it had the some problem.
But when I add some "printk" in the rtl8187 driver, I supprise to disappear the problem has resolved.
I don't why and what happened in the driver, I don't know whether rt73 driver works when I add some "printk" in it.
I hope you can give some solution!
Thank you.

Starcrasher

27-09-2008 07:58:30

If you encountered the same problem with different drivers, it's seems more probably a bug in wpa_supplicant or maybe wireless-tools.
You should try with more recent versions and have a look on their sites to see if the problem is already known there.