Ubuntu – Unable to connect to university wifi on Ubuntu 18.04 LTS

18.04networkingwireless

I've been trying for the past few days to connect to my university wifi and can't do it no matter what I try. I have tried these:

Ubuntu 16.04 problems connecting to eduroam

How to connect to WPA2/PEAP/MSCHAPv2 enterprise wifi networks that don't use a CA_Certificate, like Eduroam

Cannot connect to WPA2/WPA Enterprise (PEAP and MSCHAP)

HOWTO: Wireless Security – WPA1, WPA2, LEAP, etc.

and a couple of others that got lost in my browsing history. I can connect normally on windows and on my smartphone. I also can connect to my home network perfectly (on Ubuntu). I've got no clue on what exactly the problem is and being a linux novice certainly doesn't help. What I know for sure (because I can see on the Android configuration) is that the network uses PEAP and I don't need a CA certificate or Anonymous identity.

Edit: Let me clarify. I enter my credentials or edit the network configuration. The network appears as remembered. If I double click it will start connecting and after some time it will ask for my username and password again, like the first time. No error message or anything.

Best Answer

A workaround using your smartphone

While it may not be working for all smartphones, here is a workaround that works for my LG G5.

  1. Connect your smartphone with the university WiFi
  2. Share your smartphone's internet (Setting>Network>Tethering)
  3. Choose either USB tethering or Bluetooth tethering.
  4. Do not choose Wi-Fi hotspot as your smartphone cannot connect to a WIFI network and act as hotspot at the same time.