I am having real trouble connecting my school's WiFi network, which has MsChapV2 and WEP encryption. I use wpa_supplicant(and also tried Xsupplicant but it is not installed anymore) and my wireless adapter is Atheros using the madwifi driver. This is how my configuration looks:
Code:
ctrl_interface=/var/run/wpa_supplicant
ap_scan=2
fast_reauth=0
update_config=1
network={
ssid="IOT-WL"
scan_ssid=1
key_mgmt=IEEE8021X
eap=PEAP
identity="IOT\17009"
password="abc1234"
# ca_cert="/etc/ssl/certs/cacert.org.pem"
phase1="peaplabel=0 peapver=0"
phase2="auth=MSCHAPV2"
wep_key0=12345678901234567890123456
}
I run wpa_supplicant by calling:
Code:
wpa_supplicant -iath0 -cmyconfigfile.conf
and what I get is:
Code:
CTRL-EVENT-EAP-STARTED EAP authentication started
ioctl[SIOCGIFADDR]: Cannot assign requested address
ioctl[SIOCGIFADDR]: Cannot assign requested address
repeating all the way.
I don't know what this ca_cert parameter is, and I didn't use a certificate file to connect using Windows. And also to enable wpa_supplicant to use WEP encryption I put a dummy password, otherwise it disables encryption. It has been days since I have been trying every thing I could find on google to get it working, but so far I have nothing.
Here is the instructions for how to connect in Windows 2000 and XP:
http://web.iot.dk/WL/DOC/IOT-WL.PDF this is in Danish but it is still understandable what to do in Windows (neither can I speak Danish

)
Here also I have found some instructions about connecting using Xsupplicant, but I couldn't get it working too.
http://www.sgh.dk/~sgh/iotwl-linux.html (this one is in Danish too, but it is more easily understandable than the Windows one)
I would appreciate any help to get this working.