I have the problem related to WPA-PSK

joseph_chen chenifang at giga.net.tw
Fri Jan 28 00:16:48 EST 2005




 hi~ 



I have the problem related to WPA-PSK. I have spent around two weeks in trying to setup WPA-PSK. 

It seems that I just to setup configuration file as appropriate, it should work successfully unless something I forgot to setup. 

Does anyone know where I possibly need to pay attention?

 I use D-link AG650 as an AP using madwifi driver, hostapd-0.34 to let AP as an authenticator. 

The 802.1x (not WPA with RADIUS) has been successfully tested, but..but......... WPA-PSK does not work. 

The message dump from hostapd  is provided below, and it my be a clue for you to find out the problem.

In addition, the part of hostapd’s configuration is also given below.

Any help is greatly appreciated. Thank you very much!  please let me know if more infromation is required..^_^



        Joseph 



##### WPA/IEEE 802.11i configuration ##########################################

wpa=1

wpa_passphrase=secretap

wpa_key_mgmt=WPA-PSK WPA-EAP

wpa_pairwise=TKIP CCMP

wpa_group_rekey=600

wpa_gmk_rekey=86400





##### Message dump from hostapd ##########################################

madwifi_set_iface_flags: dev_up=0

Using interface ath0 with hwaddr 00:03:be:ef:ad:00 and ssid 'joseph'

madwifi_set_ieee8021x: enabled=1

madwifi_configure_wpa: group key cipher=1

madwifi_configure_wpa: pairwise key ciphers=0xa

madwifi_configure_wpa: key management algorithms=0x3

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): 2c aa de fa 1a 22 0b 83 95 3d 43 1e 33 96 ac e5 83 

6b 98

a9 73 03 8c 00 da 8c 01 a7 60 0a 47 7e

GTK - hexdump(len=32): c7 9a 08 f0 4c e5 d0 85 e9 7e 17 bb 6e d1 b2 3e 71 

b8 58

30 81 ba eb 7c d5 04 8c 71 f0 6b 8f c2

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=0x8c03 len=20

ath0: STA 00:0e:2e:00:00:00 IEEE 802.11: associated

  New STA

WPA: 00:0e:2e:00:00:00 WPA_PTK entering state INITIALIZE

madwifi_del_key: addr=00:0e:2e:00:00:00 key_idx=0

WPA: 00:0e:2e:00:00:00 WPA_PTK_GROUP entering state IDLE

WPA: 00:0e:2e:00:00:00 WPA_PTK entering state AUTHENTICATION

WPA: 00:0e:2e:00:00:00 WPA_PTK entering state AUTHENTICATION2

Wireless event: cmd=0x8c03 len=20

ath0: STA 00:0e:2e:00:00:00 IEEE 802.11: associated

madwifi_del_key: addr=00:0e:2e:00:00:00 key_idx=0

madwifi_del_key: addr=00:0e:2e:00:00:00 key_idx=0

WPA: 00:0e:2e:00:00:00 WPA_PTK entering state AUTHENTICATION2

IEEE 802.1X: 5 bytes from 00:0e:2e:00:00:00

   IEEE 802.1X: version=1 type=1 length=0

   ignoring 1 extra octets after IEEE 802.1X packet

Wireless event: cmd=0x8c03 len=20

ath0: STA 00:0e:2e:00:00:00 IEEE 802.11: associated

madwifi_del_key: addr=00:0e:2e:00:00:00 key_idx=0

madwifi_del_key: addr=00:0e:2e:00:00:00 key_idx=0

WPA: 00:0e:2e:00:00:00 WPA_PTK entering state AUTHENTICATION2

IEEE 802.1X: 5 bytes from 00:0e:2e:00:00:00

   IEEE 802.1X: version=1 type=1 length=0

   ignoring 1 extra octets after IEEE 802.1X packet

Wireless event: cmd=0x8c03 len=20

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20050128/835376d0/attachment.htm 


More information about the HostAP mailing list