I have been struggling for more than two weeks trying to set up my University Wifi (eduroam ) on my Raspberry Pi. It works perfectly in my home with a basic WPA PSK authentication.
Any help will be very much appreciated!!
Below the details:
- Img: ArchLinuxARM-2014.06-rpi.img
- Wifi dongle: Comfast Wireless-N USB Adapter Models: CF-WU7ION (rtl8192cu)
My WPA_Supplicant config file (/etc/wpa_supplicant/wpa_supplicant.conf)
$this->bbcode_second_pass_code('', '
ctrl_interface=/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="eduroam"
key_mgmt=WPA-EAP
eap=PEAP
auth_alg=OPEN
identity="xxxxx@uni.ac.uk"
ca_cert="/etc/ssl/certs/mycert.pem"
phase2="auth=MSCHAPV2"
password="mykey"
}
')
I am sure the .pem file is OK, I have tried several available wpa_supplicant configurations with proto = RSN WPA, or with eap= TTLS,... among others. I have tried several eduroam configurations available on forums and google.
In addition I have successfully installed the 8192cu-dkms patch, but eduroam still doesn't work.
The commands I use:
$this->bbcode_second_pass_code('', '
(1) wpa_supplicant -B -i wlan0 -D wext -c /etc/wpa_supplicant/home.conf
(2) dhcpcd wlan0
')
For command (1),
If using nl80211 it shows me the error
$this->bbcode_second_pass_code('', 'Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
wlan0: Failed to initialize driver interface')
I tried then wext and I get these messages: (I ignored them since the same happens in home and it works there):
$this->bbcode_second_pass_code('', '
Successfully initialized wpa_supplicant
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
')
In WPA_CLI the status is SCANNING and I got and address and a uuid. Indeed the eduroam network is available
For command (2),
I got:
$this->bbcode_second_pass_code('', 'dhcpcd[154]: version 6.3.2 starting
dhcpcd[154]: all: IPv6 kernel autoconf disabled
dhcpcd[154]: wlan0: IPv6 autoconf disabled
dhcpcd[154]: wlan0: IPv6 kernel disabled
dhcpcd[154]: wlan0: waiting for carrier
dhcpcd[154]: time out
dhcpcd[154]: exited')
ip link show me:
$this->bbcode_second_pass_code('', '5: wlan0: <NO CARRIER, BROADCAST, MULTICAST, UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen')
As said, I really appreaciate any help!!!