10

I'm currently trying to connect to my University wifi network and it's of WPA2-Enterprise type.

I found the setup instructions online and I followed them when setting it up using wpa_supplicant.

enter image description here

The picture above is the settings the school suggests and below is the code I have in my wpa_supplicant.conf file.

enter image description here

However, I am not able to get internet access even though I am connected.

enter image description here

jengafenga
  • 101
  • 1
  • 1
  • 5

1 Answers1

8

This guy has the answer:

If you have the cert then this should work for you.

This is how I did it.

First I grabbed the public certificate that the RADIUS server was offering and saved it as a PEM file.

sudo mkdir /etc/certs
sudo cp radius.pem  /etc/certs/

Then I edited /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
network={
  ssid="MySSID"
  scan_ssid=1
  key_mgmt=WPA-EAP
  pairwise=CCMP TKIP
  group=CCMP TKIP
  eap=PEAP
  identity="raspi"
  password="mypassword"
  ca_cert="/etc/certs/radius.pem"
  phase1="peapver=0"
  phase2="MSCHAPV2"
  }

then edited /etc/network/interfaces auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0

iface wlan0 inet dhcp
    pre-up wpa_supplicant -B -Dwext -i wlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
    post-down killall -q wpa_supplicant

It sounds simple but it took me a while to crack it. I am also the person who set up the RADIUS server (FreeRADIUS) so I have some inside knowledge. I hope this helps.

Darth Vader
  • 4,096
  • 24
  • 42
  • 67
Lucas Goossen
  • 223
  • 2
  • 7