7

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

7

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.

  • 8
    Can you please provide details on how to get the radius server certificate? – VarunAgrawal Jan 8 '16 at 19:14
  • Try omitting the line starting with ca_cert=. On my university's WPA Enterprise network this lets me connect without a certificate. – tjohnson Sep 24 '18 at 20:24

protected by goldilocks Oct 24 '15 at 10:36

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.