hostapd PRISM2_IOCTL_HOSTAPD failures

dennis khoo dhskhoo
Tue Feb 15 11:28:43 PST 2005


Hi all,


I am trying to get hostapd to act as an authenticator
between an external Radius server a Windows client
doing EAP-TTLS MD5.  I have verified that the Radius
server and Windows client work using another
authenticator.

I am seeing "[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption." output when I set wpa=1 in
hostapd.conf.  Is this pritout normal?  Can anyone
give me a clue as to what might be wrong?  

I am using hostap and hostapd 0.2.6.
wifi0: NIC: id=0x8013 v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.7.4

I've insmod hostap, hostap_pci, hostap_crypt,
hostap_crypt_tkip, hostap_crypt_ccmp

hostapd.conf changes
------------------------------
interface=wlan0
ssid=dennis
macaddr_acl=0
accept_mac_file=/etc/hostapd.accept
deny_mac_file=/etc/hostapd.deny
auth_algs=3
ieee8021x=1
eapol_key_index_workaround=0
own_ip_addr=192.168.1.1
auth_server_addr=192.168.1.2
auth_server_port=1812
auth_server_shared_secret=mysecret
acct_server_addr=192.168.1.2
acct_server_port=1813
acct_server_shared_secret=mysecret
wpa=1
wpa_key_mgmt=WPA-EAP
wpa_pairwise=TKIP CCMP
wpa_group_rekey=300
wpa_gmk_rekey=6400


dmesg
-------------
wlan0: RADIUS Authentication server 192.168.1.2:1812
wlan0: RADIUS Accounting server 192.168.1.2:1813
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
Flushing old station entries
Deauthenticate all stations
wlan0: RADIUS Authentication server 192.168.1.2:1812
wlan0: RADIUS Accounting server 192.168.1.2:1813
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
Flushing old station entries
Deauthenticate all stations
 wlan0: STA 00:0f:a3:1b:4b:10 IEEE 802.11:
authenticated
wlan0: STA 00:0f:a3:1b:4b:10 IEEE 802.11: associated
(aid 1, accounting session 386D4A93-00000000)
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
wlan0: STA 00:0f:a3:1b:4b:10 IEEE 802.11:
deauthenticated due to local deauth request
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not set station flags for kernel driver.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not remove station from kernel driver.
wlan0: STA 00:0f:a3:1b:4b:10 IEEE 802.11:
authenticated
wlan0: STA 00:0f:a3:1b:4b:10 IEEE 802.11: associated
(aid 1, accounting session 386D4A93-00000001)
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
...... repeats.............

Thanks in advance
dennis

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the Hostap mailing list