LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 01-12-2008, 03:13 PM   #1
baosheng
Member
 
Registered: Oct 2004
Location: Lubbock, TX, USA
Distribution: Ubuntu 7.10
Posts: 74

Rep: Reputation: 15
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
 
Old 01-14-2008, 03:47 AM   #2
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

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

That would be my quess.
 
Old 01-15-2008, 03:20 PM   #3
baosheng
Member
 
Registered: Oct 2004
Location: Lubbock, TX, USA
Distribution: Ubuntu 7.10
Posts: 74

Original Poster
Rep: Reputation: 15
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wpa_supplicant: ioctl[SIOCSIWAUTH]: Operation not supported alkos333 Slackware 8 09-30-2007 02:40 PM
OpenVPN: Cannot ioctl TUNSETIFF tun: Operation not permitted? licht Linux - Networking 3 07-29-2007 07:38 AM
wpa_supplicant - ioctl[SIOCSIWAP]: Input/output error Irayo Linux - Wireless Networking 2 05-13-2006 06:50 PM
can't do iwlist scan : operation not supported flowchartz Linux - Wireless Networking 7 02-09-2006 07:39 PM
SIOCETHTOOL: Operation not supported tallen Linux - Newbie 2 01-26-2006 09:28 PM


All times are GMT -5. The time now is 12:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration