How to Connect to the eduroam Wireless Network - Linux - Ubuntu
The instructions below work with all Linux-Ubuntu devices.
The instructions below work with Ubuntu 20.04. These instructions may also work for non-Ubuntu distributions if your distribution uses the NetworkManager applet. If your distribution does not use the NetworkManager applet or if it uses wicd, you may need to install and configure wpa_suppliant manually.
From your computer’s home screen, click on the battery icon under the System menu in the top right corner of the screen. In the drop-down menu, click on Select Network.
Select eduroam network and Click Connect
Enter the following details in the screen that is presented.
Authentication: Protected EAP(PEAP)
Anonymous Identity: [Leave Blank]
Domain: eduroam.uwaterloo.ca
CA Certificate & CA certificate password: leave as is and check the box next to “No CA certificate is required”
Inner Authentication: MSCHAPv2
Username: username@uwaterloo.ca (your 8-character UWaterloo, i.e. youruserna@uwaterloo.ca)
Password: your password
Click Connect
A window will pop up asking for your password again. Type in your password again and you should then be connected to eduroam.
Troubleshooting Common Issues
If the standard connection steps don’t work, try these solutions before proceeding to advanced troubleshooting.
Verify Your Configuration
Ensure all connection settings match the instructions above, especially:
Authentication: Protected EAP (PEAP)
Inner Authentication: MSCHAPv2
Domain: eduroam.uwaterloo.ca
Username and password are entered correctly.
Install Required Packages
Check that essential networking tools are installed on your Linux system:
wpa_supplicant
network-manager Install missing packages using your distribution's package manager. For example:
sudo apt install wpasupplicant network-manager
Update Your System
Outdated software can cause compatibility issues. Update your system using:
sudo apt update && sudo apt upgrade
Use a CA Certificate
If “No CA certificate is required” doesn’t work, manually download the eduroam CA certificate from your institution’s website and select it when configuring the connection.
Use a Different Network Manager
If the graphical interface doesn’t work, try connecting via the command line:
nmcli dev wifi connect "eduroam" password "yourpassword"
Note: These steps modify system settings and should be used only if other solutions do not work. If you are uncomfortable performing these changes, contact IST Service Desk for assistance.
Advanced Troubleshooting: WPA Supplicant Errors
If you encounter a WPA Supplicant failed message or errors in the logs (e.g., "EAP-MSCHAPV2: Failed to derive response"), you may need to adjust your OpenSSL configuration. This can occur on some Linux distributions after an update.
Check for Errors: Open a terminal and run:
journalctl --boot --unit wpa_supplicant.service --follow
If you see errors like:
OpenSSL: EVP_DigestInit_ex failed: error:0308010C:digital envelope routines::unsupported
Edit OpenSSL Configuration: Modify the openssl.cnf file to enable the legacy provider.
Open the file in a text editor:
sudo nano /etc/ssl/openssl.cnf
Locate the [provider_sect] section and ensure this line is uncommented:
legacy = legacy_sect
Locate the [legacy_sect] section and ensure these lines are uncommented:
activate = 1
Save Changes and Restart: Save the file and restart your network or reboot your system.
Reconnect to eduroam: Try connecting again using the standard instructions above.
Related articles
Need help?
Contact the IST Service Desk online or 519-888-4567 ext. 44357.