different between BSD madwifi and HEAD madwifi

GoldWater goldwater716
Thu Jun 9 10:20:28 PDT 2005


Dear all:

After I buy D-link G520 (for Fedora2 linux-2.6.5-1.358 act AP) and
D-link G650 (XP with SP1a act client), and installed HostAPd-0.3.7,
HEAD madwifi, freeRadius-1.0.2, my G650 discovered that there are AP
G520 in my room, but it alway bypass any authentication and connected
to AP (XP tell me it connected, but I can not ping each other),
HostapD output log can found below.

After I using BSD madwifi, the result is completely opposite(hostapd
is re-compile with BSD madwifi header), XP still discover AP, but it
can not login anymore, and hostapd output nothing, only silent and
waiting.

hostapd.conf
=========
interface=ath0
driver=madwifi
accept_mac_file=/usr/local/bin/hostapd.accept
deny_mac_file=/usr/local/bin/hostapd.deny
ieee8021x=1
own_ip_addr=10.1.1.167
nas_identifier=dog.abc.com.hk
auth_server_addr=127.0.0.1
auth_server_port=1812
auth_server_shared_secret=Very-Secret_KEY
acct_server_addr=127.0.0.1
acct_server_port=1813
acct_server_shared_secret=Very-Secret_KEY
wpa=1
wpa_key_mgmt=WPA-EAP
wpa_pairwise=TKIP CCMP
wpa_group_rekey=300
wpa_gmk_rekey=6400
=================================

output of hostapd with HEAD madwifi
===========================
[root at secdoc bin]# ./hostapd -dd hostapd.conf
Configuration file: hostapd.conf
madwifi_set_iface_flags: dev_up=0
Using interface ath0 with hwaddr 00:11:95:88:2d:ec and ssid 'LAP2'
ath0: RADIUS Authentication server 127.0.0.1:1812
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=0x1
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): cf 7c 2a 30 ad 06 34 a4 7d 5b 81 64 f2 17 41 d6
3a 08 88 28 fa 2f de 0e bb 55 df 6c 9a 0b 14 3f
GTK - hexdump(len=32): 77 b4 a3 e4 52 4a 5f 16 db d8 30 53 a0 56 fc 31
81 30 12 55 9d be f5 c6 4f eb 28 62 3c a7 90 e4
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=0x8b19 len=12
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0f:3d:ae:d9:c6 IEEE 802.11: associated
  New STA
No WPA/RSN information element for station!?
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0f:3d:ae:d9:c6 IEEE 802.11: associated
No WPA/RSN information element for station!?
Data frame from not associated STA 00:0f:3d:ae:d9:c6
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0f:3d:ae:d9:c6 IEEE 802.11: associated
No WPA/RSN information element for station!?
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0f:3d:ae:d9:c6 IEEE 802.11: associated
No WPA/RSN information element for station!?
Data frame from not associated STA 00:0f:3d:ae:d9:c6
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0f:3d:ae:d9:c6 IEEE 802.11: associated
No WPA/RSN information element for station!?
Data frame from not associated STA 00:0f:3d:ae:d9:c6
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0f:3d:ae:d9:c6 IEEE 802.11: associated
No WPA/RSN information element for station!?
Data frame from not associated STA 00:0f:3d:ae:d9:c6
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0f:3d:ae:d9:c6 IEEE 802.11: associated
No WPA/RSN information element for station!?
Data frame from not associated STA 00:0f:3d:ae:d9:c6
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0f:3d:ae:d9:c6 IEEE 802.11: associated
No WPA/RSN information element for station!?
Data frame from not associated STA 00:0f:3d:ae:d9:c6
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0f:3d:ae:d9:c6 IEEE 802.11: associated
No WPA/RSN information element for station!?
Data frame from not associated STA 00:0f:3d:ae:d9:c6
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0f:3d:ae:d9:c6 IEEE 802.11: associated
No WPA/RSN information element for station!?
Data frame from not associated STA 00:0f:3d:ae:d9:c6
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0f:3d:ae:d9:c6 IEEE 802.11: associated
No WPA/RSN information element for station!?
Data frame from not associated STA 00:0f:3d:ae:d9:c6
<Ctrl-C here>
Signal 2 received - terminating
Removing station 00:0f:3d:ae:d9:c6
Flushing old station entries
Deauthenticate all stations
madwifi_set_privacy: enabled=0
madwifi_set_ieee8021x: enabled=0
madwifi_set_iface_flags: dev_up=0
=============================

Best Regards,
Wai Lun




More information about the Hostap mailing list