WPA-PSK and hostapd

linuxup at email.it linuxup at email.it
Mon Feb 28 07:42:35 EST 2005


Hello
this is my hostapd.conf file configured for WPA-PSK authentication but it
doesn' work
I'm using a pci card DWL-G520.


-------------------------------------------------------------------
interface=ath0

driver=madwifi

logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2

debug=4

dump_file=/tmp/hostapd.dump

ctrl_interface=/var/run/hostapd

ctrl_interface_group=0

ssid=test

macaddr_acl=0

auth_algs=3

ieee8021x=0

eap_authenticator=0

eap_message=hello


eapol_key_index_workaround=0

own_ip_addr=192.168.0.201

wpa=1

wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef

wpa_psk_file=/etc/hostapd.wpa_psk

wpa_key_mgmt=WPA-PSK 

wpa_pairwise=TKIP 

wpa_group_rekey=600

wpa_strict_rekey=1

wpa_gmk_rekey=86400

rsn_preauth=1

rsn_preauth_interfaces=eth0


----------------------------------------------------------------------------

this the hostapd output

------------------------------------------------------------------------------
ath0: STA 00:0d:54:98:a8:2e IEEE 802.11: associated
  New STA
WPA: 00:0d:54:98:a8:2e WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:0d:54:98:a8:2e key_idx=0
madwifi_set_sta_authorized: addr=00:0d:54:98:a8:2e authorized=0
WPA: 00:0d:54:98:a8:2e WPA_PTK_GROUP entering state IDLE
WPA: 00:0d:54:98:a8:2e WPA_PTK entering state AUTHENTICATION
WPA: 00:0d:54:98:a8:2e WPA_PTK entering state AUTHENTICATION2
WPA: 00:0d:54:98:a8:2e WPA_PTK entering state INITPSK
WPA: 00:0d:54:98:a8:2e WPA_PTK entering state PTKSTART
TX EAPOL - hexdump(len=113): 00 0d 54 98 a8 2e 00 0f 3d ae 55 70 88 8e 02 03
00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 d9 42 ed a4 f9 02 36 33 82 44
2e 66 e8 21 fd 3a 22 ce 62 b2 30 c1 a8 27 5c 2e 27 42 43 ce 5e d7 00 00 00
00 00 00 00 00 00 0000 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: 99 bytes from 00:0d:54:98:a8:2e
   IEEE 802.1X: version=1 type=3 length=95
ath0: STA 00:0d:54:98:a8:2e WPA: received invalid EAPOL-Key: Key MIC not set
WPA: 00:0d:54:98:a8:2e WPA_PTK entering state PTKSTART
TX EAPOL - hexdump(len=113): 00 0d 54 98 a8 2e 00 0f 3d ae 55 70 88 8e 02 03
00 5f fe 00 89 00 20 00 00 00 00 00 00 00 02 d9 42 ed a4 f9 02 36 33 82 44
2e 66 e8 21 fd 3a 22 ce 62 b2 30 c1 a8 27 5c 2e 27 42 43 ce 5e d7 00 00 00
00 00 00 00 00 00 0000 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
WPA: 00:0d:54:98:a8:2e WPA_PTK entering state PTKSTART
TX EAPOL - hexdump(len=113): 00 0d 54 98 a8 2e 00 0f 3d ae 55 70 88 8e 02 03
00 5f fe 00 89 00 20 00 00 00 00 00 00 00 03 d9 42 ed a4 f9 02 36 33 82 44
2e 66 e8 21 fd 3a 22 ce 62 b2 30 c1 a8 27 5c 2e 27 42 43 ce 5e d7 00 00 00
00 00 00 00 00 00 0000 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
WPA: 00:0d:54:98:a8:2e WPA_PTK entering state PTKSTART
TX EAPOL - hexdump(len=113): 00 0d 54 98 a8 2e 00 0f 3d ae 55 70 88 8e 02 03
00 5f fe 00 89 00 20 00 00 00 00 00 00 00 04 d9 42 ed a4 f9 02 36 33 82 44
2e 66 e8 21 fd 3a 22 ce 62 b2 30 c1 a8 27 5c 2e 27 42 43 ce 5e d7 00 00 00
00 00 00 00 00 00 0000 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
WPA: 00:0d:54:98:a8:2e WPA_PTK entering state DISCONNECT
madwifi_sta_deauth: addr=00:0d:54:98:a8:2e reason_code=2
WPA: 00:0d:54:98:a8:2e WPA_PTK entering state DISCONNECTED
WPA: 00:0d:54:98:a8:2e WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:0d:54:98:a8:2e key_idx=0
madwifi_set_sta_authorized: addr=00:0d:54:98:a8:2e authorized=0
ath0: STA 00:0d:54:98:a8:2e IEEE 802.11: deauthenticated due to local deauth
request
Wireless event: cmd=0x8c04 len=20
ath0: STA 00:0d:54:98:a8:2e IEEE 802.11: deassociated


--------------------------------------------------------------------------------------------------------------

I'm using a windows XP supplicant
Why doesn't it work?













 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Mal di schiena? Le nostre panche ad inversione sono la soluzione giusta per
te: distendono la colonna vertebrale e rilassano i muscoli. 

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2843&d=20050228





More information about the HostAP mailing list