I know this is an old thread, but I wanted to share what worked for me in case it helps someone else down the line. I’m not an expert — just someone who got it working after some trial and error
I’m using Pop!_OS but this should work for any Ubuntu-based system (hopefully).
There are a couple of options for connecting to Wi-Fi for most universities you want somthing like this (at least this is what works at UofT)
Security: WPA2 Enterprise
Authentication: PEAP
Inner Authentication: MSCHAPv2
CA Certificate: For UofT, I was able to select "No CA certificate is required", but check with your own university to be sure.
This setup connected, but it was unstable. I kept getting randomly disconnected. I had to go into my driver settings and turn off low power mode
for me this looked like
sudo nano /etc/modprobe.d/iwlwifi.conf
and adding this line
options iwlwifi power_save=0
then save and run
sudo update-initramfs -u
and then reboot
note that this can look diffrent depending on your chip/driver
Some things I tried that might sometimes help make it more stable (in moast cases not tho) and they can cuase issues if you move around campus alot are:
I turned off IPv6..
I set IPv4 to Manual instead of Automatic (DHCP). This really helped. To do this:
Set the following:
Address: use the IP you were given when it was working but unstable (so when it was automatic) go to terminal and type
ip a
that will give you somthing like
###.###.#.##/##
the first ###.###.#.## is the IP and
just paste the full thing into into a
CIDR to IPv4 Conversion
to get the netmask (if you dont want to paste you IP somewhere online you can just put in any IP put keep the /## the same)
to get gateway run
ip route
you get something like default via ###.##.#.# ...
the ###.##.#.# is your gateway
Once you have that info, go back and set it manually.
you can also set your DNS
If that still doesn’t work and you don’t move your computer around much, you can set the BSSID to the strongest access point near you. This can help if your device keeps switching between routers. Use the command
nmcli dev wifi list
in a terminal to see the available networks and pick the BSSID with the best signal. Then enter that in your Wi-Fi settings under the Identity tab. This does lock you to one router though, so it might not be ideal if you move around a lot.
after you do this and click apply make sure to turn wifi on and off or just run sudo systemctl restart NetworkManager
(if appply doesnt work make sure you set no CA required)
(General advice if you are new to Linux NEVER run a sudo comand that a stranger (or even chat GPT) tells you unless you understand it. even if you trust them they may not know everything about how your syesyem works and could break somthing. thats why I also have the option to just turn wifi on or off or restart your computer)
As for the phone, I used KDE Connect and setting manual IPv4 on my laptop adn DNS helped make that work too. If your phone still can’t connect, you can go into your phone’s Wi-Fi settings, switch to a static IP, and set the same netmask and gateway as your laptop. Then pick an IP that’s close to your laptop’s (like one number higher). That worked for me. You might still have to manually add the phone in KDE Connect using its IP address, but once I did that, it connected and worked fine.
Hope this helps!