wpa_supplicant Disconnect Problem
Hello all,
I am putting ubuntu hoary on a laptop (Thinkpad R50e) and everything works fine, except for wpa with the intel pro 2200bg (ipw2200). The driver and wpa_supplicant work fine, and the driver works fine with unencrypted and wep access points, but it has problems with wpa. I use mschapv2 and peap to connect with my linksys wrt54g (stock, not running openwrt). wpa_supplicant authenticates fine and gets a key, but when I run dhclient (or do anything with the network connection), it disconnects and reauthenticates over and over again. No traffic gets across. I looked around on the web for a solution and someone mentioned using dhcpcd 2.0 with the -o option but that did exactly the same thing.
Log output from wpa_supplicant:
root@thinkpad:/usr/local/sbin# wpa_supplicant -c /etc/wpa_supplicant.conf -i eth0 -D ipw
ioctl[SIOCSIWPMKSA]: Operation not supported
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:13:10:f1:5b:03 (SSID='linksys' freq=0 MHz)
Associated with 00:13:10:f1:5b:03
CTRL-EVENT-EAP-STARTED EAP authentication started
CTRL-EVENT-EAP-STARTED EAP authentication started
CTRL-EVENT-EAP-METHOD EAP method 25 (PEAP) selected
EAP-MSCHAPV2: Authentication succeeded
EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
WPA: Key negotiation completed with 00:13:10:f1:5b:03 [PTK=CCMP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:13:10:f1:5b:03 completed (auth)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:13:10:f1:5b:03 (SSID='linksys' freq=0 MHz)
Associated with 00:13:10:f1:5b:03
WPA: Key negotiation completed with 00:13:10:f1:5b:03 [PTK=CCMP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:13:10:f1:5b:03 completed (reauth)
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:13:10:f1:5b:03 (SSID='linksys' freq=0 MHz)
Associated with 00:13:10:f1:5b:03
WPA: Key negotiation completed with 00:13:10:f1:5b:03 [PTK=CCMP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:13:10:f1:5b:03 completed (reauth)
My wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="linksys"
scan_ssid=0
key_mgmt=WPA-EAP
eap=PEAP
identity="[my username]"
password="[my password]"
phase2="auth=MSCHAPV2"
priority=10
}
Thanks for any help in advance!
|