Failed to enable WPA in the driver - hostap-driver 0.2.4

Joshua Wright jwright
Fri Aug 6 08:59:54 PDT 2004


I'm trying to use the wpa_supplicant driver with my enGenius Prism2.5 
card and Hostap driver 0.2.4.  I've followed the intructions in the 
wpa_supplicant README, but I'm getting "Failed to enable WPA in the 
driver" from wpa_supplicant:

~:# wpa_supplicant -v
wpa_supplicant v0.2.4 - Copyright (c) 2003-2004, Jouni Malinen 
<jkmaline at cc.hut.fi>
~:# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -d
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=10 (from group name 'wheel')
eapol_version=1
ap_scan=1
Priority group 2
    id=0 ssid='somethingclever'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_hostap_set_wpa: enabled=1
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
Failed to enable WPA in the driver.
wpa_driver_hostap_set_wpa: enabled=0
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
Failed to disable WPA in the driver.
wpa_driver_hostap_set_drop_unencrypted: enabled=0
wpa_driver_hostap_set_countermeasures: enabled=0
~:#

I checked out the previous postings to the list and found 
http://sisyphus.iocaine.com/pipermail/hostap/2004-June/006916.html, but 
I believe I am using the correct driver in this case:

~:# dmesg | grep hostap
hostap_cs: Driver unloaded
hostap_cs: 0.2.4 - 2004-07-17 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=33 (from config)
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 3.3, irq 3, io 0x0100-0x013f
~:# hostap_diag wlan0
Host AP driver diagnostics information for 'wlan0'

NICID: id=0x800c v1.0.0 (PRISM II (2.5) PCMCIA (SST parallel flash))
PRIID: id=0x0015 v1.1.0
STAID: id=0x001f v1.4.9 (station firmware)
~:#

The "wpa" and "getwpa" ioctl's seem to be present in the output from 
"iwpriv", but I get an error when I try to enable wpa:

~:# iwpriv wlan0 wpa 1
<mapping sub-ioctl wpa to cmd 0x8BE0-36>
Interface doesn't accept private ioctl...
wpa (8BE0): Operation not supported
~:#

The "hostap_crypt_wep" module was already loaded in my testing, so I 
manually loaded the "hostap_crypt_tkip" (modprobe hostap_crypt_tkip), 
but no changes.  I've included the relevant portions of my 
wpa_supplicant.conf file at the end of this message.  Any suggestions 
are appreciated.  Thanks,

-Josh
-- 
-Joshua Wright
jwright at hasborg.com
http://home.jwu.edu/jwright/

pgpkey: http://home.jwu.edu/jwright/pgpkey.htm
fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73

"CCMP is short for Counter-Mode CBC-MAC Protocol (and CBC-MAC stands for 
Cipher-Block-Chaining Message-Authentication Code, a name that seems to 
have been created just to make people sorry for asking.)" -Craig Matsumoto


# grep -v "^#" /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
network={
         ssid="somethingclever"
         proto=WPA
         key_mgmt=WPA-PSK
         pairwise=TKIP
         group=TKIP
         psk="my secret passphrase"
         priority=2
}
#




More information about the Hostap mailing list