ioctl[SIOCSIWPMKSA]: Operation not supported

John Saroglou johny at yorku.ca
Sun Jul 3 17:37:40 EDT 2005


Greetings,

I'm stuck on trying to do a simple WPA-PSK authentication (see the log
session below) with my wrt54g v3.03.1

My WEP authentication works fine though I get 'ioctl[SIOCSIWPMKSA]:Operation not supported'


I've successfully applied WE-18 to my 2.6.11 kernel and rebuilt
mobile:~# iwconfig -v
iwconfig  Wireless-Tools version 28
          Compatible with Wireless Extension v11 to v18.

Kernel    Currently compiled with Wireless Extension v18.

wifi0     Recommend Wireless Extension v18 or later,
          Currently compiled with Wireless Extension v18.

wlan0     Recommend Wireless Extension v18 or later,
          Currently compiled with Wireless Extension v18.


I'm using hostap-driver-0.4.1 with the following packages from
unstable debian 3.1:

ii  hostap-utils    0.4.0-1               Utility programs for Host AP driver for Inte
ii  hostapd         0.4.2-1               user space IEEE 802.11 AP and IEEE 802.1X/WP
ii  wireless-tools  27+28pre8-1           Tools for manipulating Linux Wireless Extens
ii  wpasupplicant   0.4.2-1		  Client support for WPA and WPA2 (IEEE 802.11i)



My /etc/wpa_supplicant.conf is as:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
        ssid="DoriPhoRiKHtAftOtItA"
        scan_ssid=1
        proto=WPA RSN
        key_mgmt=WPA-PSK
        pairwise=TKIP CCMP
        group=TKIP CCMP
        psk=my_hex_key
}

mobile:~# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"DoriPhoRiKHtAftOtItA"  
          Mode:Managed  Frequency:2.437 GHz  Access Point:44:44:44:44:44:44   
          Bit Rate:11 Mb/s   Sensitivity=1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=42/70  Signal level=-54 dBm  Noise level=-96dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:20   Missed beacon:0



Any suggestions?

Thanks in advance.

John.


--- log session  --- 

mobile:~/hostap-driver-0.4.1# wpa_supplicant -Dhostap -iwlan0 -c/etc/wpa_supplicant.conf -ddd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver
'hostap'
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=0
eapol_version=1
ap_scan=1
fast_reauth=1
Line: 7 - start of a new network block
ssid - hexdump_ascii(len=20):
     44 6f 72 69 50 68 6f 52 69 4b 48 74 41 66 74 4f
DoriPhoRiKHtAftO
     74 49 74 41                                       tItA            
scan_ssid=1 (0x1)
proto: 0x3
key_mgmt: 0x2
pairwise: 0x18
group: 0x18
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='DoriPhoRiKHtAftOtItA'
Initializing interface (2) 'wlan0'
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
ioctl[SIOCSIWPMKSA]: Operation not supported
Own MAC address: 00:09:5b:25:51:e6
wpa_driver_hostap_set_wpa: enabled=1
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0
key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0
key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0
key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0
key_len=0
wpa_driver_hostap_set_countermeasures: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=20):
     44 6f 72 69 50 68 6f 52 69 4b 48 74 41 66 74 4f
DoriPhoRiKHtAftO
     74 49 74 41                                       tItA            
Wireless event: cmd=0x8b19 len=12
Received 243 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:13:10:18:55:5b ssid='DoriPhoRiKHtAftOtItA' wpa_ie_len=24
rsn_ie_len=0 caps=0x11
   selected
Trying to associate with 00:13:10:18:55:5b
(SSID='DoriPhoRiKHtAftOtItA' freq=2437 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02
01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_hostap_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_hostap_associate
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b04 len=12
Wireless event: cmd=0x8b1a len=33
CTRL-EVENT-TERMINATING - signal 2 received
State: ASSOCIATING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_hostap_set_wpa: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=0
wpa_driver_hostap_set_countermeasures: enabled=0
No keys have been configured - skip key clearing



More information about the HostAP mailing list