#1561: Cannot establish a connection between wpa_supplicant+madwifi-ng to
hostapd
+madwifi-ng with WPA-PSK
---------------------------------------------+------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: madwifi: driver | Version: v0.9.3.2
Resolution: | Keywords: hostapd wpa eapol
Patch_attached: 0 |
---------------------------------------------+------------------------------
Comment (by anonymous):
I have a simliar problem.
I use madwifi stable ver 0.9.3.3, hostapd ver 0.5.9, and wpa-psk
can anybody help me?????
hostapd -d mypsk.conf
Configuration file: mypsk.conf
ctrl_interface_group=0
madwifi_set_iface_flags: dev_up=0
madwifi_set_privacy: enabled=0
madwifi_set_iface_flags: dev_up=1
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=21 WE(source)=13 enc_capa=0xf
Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
Deauthenticate all stations
madwifi_set_privacy: enabled=0
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=0
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=1
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=2
madwifi_del_key: addr=00:00:00:00:00:00 key_idx=3
Using interface ath0 with hwaddr 00:0f:cb:fa:b2:f6 and ssid 'test'
SSID - hexdump_ascii(len=4):
74 65 73 74 test
PSK (ASCII passphrase) - hexdump_ascii(len=8):
74 74 74 74 74 74 74 74 tttttttt
PSK (from passphrase) - hexdump(len=32): 6f 86 c8 59 27 e4 9e 13 02 4b 97
40 43 13 db 80 74 14 8e
7d 27 0b c9 c5 a8 2d 32 4b 85 4d d2 28
madwifi_configure_wpa: group key cipher=1
madwifi_configure_wpa: pairwise key ciphers=0xa
madwifi_configure_wpa: key management algorithms=0x2
madwifi_configure_wpa: rsn capabilities=0x0
madwifi_configure_wpa: enable WPA=0x3
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=32): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1
madwifi_set_privacy: enabled=1
madwifi_set_iface_flags: dev_up=1
ath0: Setup of interface done.
l2_packet_receive - recvfrom: Network is down
New STA
madwifi_del_key: addr=00:13:02:a1:41:8c key_idx=0
WPA: 00:13:02:a1:41:8c WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:13:02:a1:41:8c key_idx=0
WPA: 00:13:02:a1:41:8c WPA_PTK_GROUP entering state IDLE
WPA: 00:13:02:a1:41:8c WPA_PTK entering state AUTHENTICATION
WPA: 00:13:02:a1:41:8c WPA_PTK entering state AUTHENTICATION2
WPA: 00:13:02:a1:41:8c WPA_PTK entering state INITPSK
WPA: 00:13:02:a1:41:8c WPA_PTK entering state PTKSTART
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0
keyidx=0 encr=0)
WPA: 00:13:02:a1:41:8c WPA_PTK entering state PTKSTART
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0
keyidx=0 encr=0)
WPA: 00:13:02:a1:41:8c WPA_PTK entering state PTKSTART
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0
keyidx=0 encr=0)
WPA: 00:13:02:a1:41:8c WPA_PTK entering state PTKSTART
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0
keyidx=0 encr=0)
WPA: 00:13:02:a1:41:8c WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA
00:13:02:a1:41:8c reason
2
madwifi_sta_deauth: addr=00:13:02:a1:41:8c reason_code=2
WPA: 00:13:02:a1:41:8c WPA_PTK entering state DISCONNECTED
WPA: 00:13:02:a1:41:8c WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:13:02:a1:41:8c key_idx=0
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument
madwifi_del_key: Failed to delete key (addr 00:13:02:a1:41:8c key_idx 0)
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
madwifi_set_sta_authorized: Failed to unauthorize STA 00:13:02:a1:41:8c
Could not set station 00:13:02:a1:41:8c flags for kernel driver
(errno=29).
Custom wireless event: 'STA-TRAFFIC-STAT
mac=00:13:02:a1:41:8c
rx_packets=3
rx_bytes=411
tx_packets=4
tx_bytes=428
'
New STA
madwifi_del_key: addr=00:13:02:a1:41:8c key_idx=0
WPA: 00:13:02:a1:41:8c WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:13:02:a1:41:8c key_idx=0
WPA: 00:13:02:a1:41:8c WPA_PTK_GROUP entering state IDLE
WPA: 00:13:02:a1:41:8c WPA_PTK entering state AUTHENTICATION
WPA: 00:13:02:a1:41:8c WPA_PTK entering state AUTHENTICATION2
WPA: 00:13:02:a1:41:8c WPA_PTK entering state INITPSK
WPA: 00:13:02:a1:41:8c WPA_PTK entering state PTKSTART
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0
keyidx=0 encr=0)
WPA: 00:13:02:a1:41:8c WPA_PTK entering state PTKSTART
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0
keyidx=0 encr=0)
WPA: 00:13:02:a1:41:8c WPA_PTK entering state PTKSTART
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0
keyidx=0 encr=0)
WPA: 00:13:02:a1:41:8c WPA_PTK entering state PTKSTART
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0
keyidx=0 encr=0)
WPA: 00:13:02:a1:41:8c WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA
00:13:02:a1:41:8c reason
2
madwifi_sta_deauth: addr=00:13:02:a1:41:8c reason_code=2
WPA: 00:13:02:a1:41:8c WPA_PTK entering state DISCONNECTED
WPA: 00:13:02:a1:41:8c WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:13:02:a1:41:8c key_idx=0
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument
madwifi_del_key: Failed to delete key (addr 00:13:02:a1:41:8c key_idx 0)
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
madwifi_set_sta_authorized: Failed to unauthorize STA 00:13:02:a1:41:8c
Could not set station 00:13:02:a1:41:8c flags for kernel driver
(errno=29).
Custom wireless event: 'STA-TRAFFIC-STAT
mac=00:13:02:a1:41:8c
rx_packets=3
rx_bytes=411
tx_packets=4
tx_bytes=428
'
--
Ticket URL: <http://madwifi.org/ticket/1561#comment:5>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets