LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   wpa_supplicant, ioctl[SIOCSIWAUTH]: Operation not supported (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wpa_supplicant-ioctl%5Bsiocsiwauth%5D-operation-not-supported-613144/)

baosheng 01-12-2008 03:13 PM

wpa_supplicant, ioctl[SIOCSIWAUTH]: Operation not supported
 
Hi,

I am trying to connect to an IEEE 802.1X Wi-Fi with dynamic WEP keys using EAP-PEAP/MSCHAPv2. So I configured my /etc/wpa_supplicant.conf like this:

Code:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=forrest

network={
        ssid="TTUnet"
        key_mgmt=IEEE8021X
        eap=PEAP
        phase2="auth=MSCHAPV2"
        identity="TTU\sbao"
        password="I can't let you know this, hahah."
}

But when starting wpa_supplicant in the command:
Code:

wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant.conf -dd
, I saw a line
Code:

ioctl[SIOCSIWAUTH]: Operation not supported
in terminal output.

And then, I saw some failure information repeated on the terminal.

Can anyone tell me why "Operation not supported"? What are possible reasons of this error assert?

This output on the terminal is:
Code:

forrest@dolphin:/forrest$  sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd
[sudo] password for forrest:
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
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='forrest' (DEPRECATED)
Line: 6 - start of a new network block
ssid - hexdump_ascii(len=6):
    54 54 55 6e 65 74                                TTUnet         
key_mgmt: 0x8
eap methods - hexdump(len=16): 00 00 00 00 19 00 00 00 00 00 00 00 00 00 00 00
phase2 - hexdump_ascii(len=13):
    61 75 74 68 3d 4d 53 43 48 41 50 56 32            auth=MSCHAPV2 
identity - hexdump_ascii(len=8):
    54 54 55 5c 73 62 61 6f                          TTU\sbao       
password - hexdump_ascii(len=10): [REMOVED]
Priority group 0
  id=0 ssid='TTUnet'
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
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:1c:10:e6:20:ee
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - wpa_driver_wext_set_drop_unencrypted
ioctl[SIOCSIWAUTH]: Operation not supported


Zmyrgel 01-14-2008 03:47 AM

Have you checked your kernel configuration that it has the all the things required by wpa_supplicant?

That would be my quess.

baosheng 01-15-2008 03:20 PM

Hi,

Thanks for the reply. But how can I know what is wpa_supplicant required in the kernel?

I tried to use ldd:

Code:

forrest@flavia:~$ ldd /sbin/wpa_supplicant
        linux-gate.so.1 =>  (0xffffe000)
        libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7efa000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7db7000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7db2000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb7d7d000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c33000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7c1e000)
        /lib/ld-linux.so.2 (0xb7f54000)



All times are GMT -5. The time now is 07:37 PM.