AR5112 card working with madwifi-bsd, hostapd-0.4.1, wpa_supplicant-0.4.1(and openssl-0.9.7g)

Victor Yeo yeosv at ndc.com.tw
Fri Jun 3 01:28:14 EDT 2005


hi again,

i figure out my previous problem, i did not load
wlan_xauth.o file.

Now when i run hostapd, i get "l2_packet_receive -
recv: Network is down" error, i just want to do simple
WPA_PSK, without 802.1x. Can someone who has done that
give me the example hostapd.conf file ? Many thanks.

victor

# hostapd -d hostapd.conf
Configuration file: hostapd.conf
madwifi_set_iface_flags: dev_up=0
Using interface ath0 with hwaddr 00:0b:6b:34:88:d0 and
ssid 'MyWireless'
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=0x2
madwifi_configure_wpa: rsn capabilities=0x0
madwifi_configure_wpa: enable WPA= 0x1
set PARAM_AUTHMODE
set PARAM_AUTHMODE next
madwifi_set_iface_flags: dev_up=1
ath0: creating bss 00:0b:6b:34:88:d0
br0: port 1(ath0) entering listening state
madwifi_set_privacy: enabled=1
WPA: group state machine entering state GTK_INIT
GMK - hexdump(len=32): 00 8a f4 43 79 2e a1 87 81 a6
98 97 4b e3 7d 2a a6 2d fe
2c d7 0d 89 24 d2 f6 87 b1 d4 ee 89 55
GTK - hexdump(len=32): 73 8f 56 20 79 74 45 2e 6e c5
88 4b 91 1e 0b d2 d4 b8 71
79 f9 a1 50 1b c0 40 69 43 3e 55 e2 ce
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
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff
reason_code=3
Deauthenticate all stations
l2_packet_receive - recv: Network is down
br0: port 1(ath0) entering learning state
br0: port 1(ath0) entering forwarding state
br0: topology change detected, propagating
NETDEV WATCHDOG: ath0: transmit timed out
ath0: creating bss 00:0b:6b:34:88:d0


----- Original Message ----- 
From: "Victor Yeo" <yeosv at ndc.com.tw>
To: "Beat Meier" <bmeier at infovia.com.ar>; <hostap at shmoo.com>
Sent: Friday, June 03, 2005 12:35 PM
Subject: Re: AR5112 card working with madwifi-bsd,
hostapd-0.4.1,wpa_supplicant-0.4.1(and openssl-0.9.7g)


> good'day,
>
> Using Ar5213 card, I use hostapd-0.4.1 with latest madwifi bsd
> branch, i can compile, after i run, i get these
> errors:
>
> What is the reason? In .config file, i set
> CONFIG_DRIVER_MADWIFI=y and comment out
> CONFIG_DRIVER_BSD. Could this be the reason?? Thanks
> for any help.
>
> victor
>
> # hostapd -d hostapd.conf
> Configuration file: hostapd.conf
> madwifi_set_iface_flags: dev_up=0
> br0: port 1(ath0) entering disabled state
> Using interface ath0 with hwaddr 00:0b:6b:34:88:d0 and
> ssid 'MyWireless'
> 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=0x2
> madwifi_configure_wpa: rsn capabilities=0x0
> madwifi_configure_wpa: enable WPA= 0x1
> ioctl[IEEE80211_IOCTL_SETPARAM]: Invalid argument
> ath0: DRIVER Error enabling WPA/802.1X!
> IEEE 802.1X initialization failed.
> rmdir[ctrl_interface]: No such file or directory
> madwifi_set_privacy: enabled=0
> madwifi_set_ieee8021x: enabled=0
> madwifi_set_iface_flags: dev_up=0
> Rgds,
> Siow Vic
>





More information about the HostAP mailing list