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
|