|
大家好,我在本本上装的ubuntu6.06,无线网驱动用ndiswrapper,我们学校的无线网上802.1x协议,windows下的配置是wep加密,自动提供密钥,ieee 802.1x验证,使用peap,验证方法为eap-mschap v2,在linux中我使用wpa_supplicant来验证,wpa_supplicatn.conf文件为:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
network={
ssid="SHULIB-WLAN"
ap_scan=1
key_mgmt=IEEE802.1X
eap=PEAP
identity="04721429"
password="**********"
ca_cert="/etc/cert/ca.pem"
phase1="peaplabel=1"
phase2="auth=MSCHAPV2"
}
可总是连不上,输出如下:
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper' ctrl_interface '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'
Line: 6 - start of a new network block
ssid - hexdump_ascii(len=11):
53 48 55 4c 49 42 2d 57 4c 41 4e SHULIB-WLAN
key_mgmt: 0x8
eap methods - hexdump(len=2): 19 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):
30 34 37 32 31 34 32 39 04721429
password - hexdump_ascii(len=18): [REMOVED]
ca_cert - hexdump_ascii(len=16):
2f 65 74 63 2f 63 65 72 74 2f 63 61 2e 70 65 6d /etc/cert/ca.pem
Priority group 0
id=0 ssid='SHULIB-WLAN'
Initializing interface (2) 'eth1'
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)=19 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:14:a5:7e:74:cc
Driver does not support 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
Setting scan request: 0 sec 100000 usec
Added interface eth1
Wireless event: cmd=0x8b06 len=12
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 852 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:60:b3:13:9f:41 ssid='SHULIB-WLAN' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
1: 00:60:b3:13:9d:55 ssid='SHULIB-WLAN' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
2: 00:60:b3:13:9f:0a ssid='SHULIB-WLAN' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
selected non-WPA AP 00:60:b3:13:9f:41 ssid='SHULIB-WLAN'
Trying to associate with 00:60:b3:13:9f:41 (SSID='SHULIB-WLAN' freq=2437 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
State: ASSOCIATING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 568 bytes of scan results (2 BSSes)
该怎么办啊? |
|