This site requires JavaScript to be enabled

How do I connect to eduroam on Linux?


6.0 - Updated on 2022-08-15 by Sean Schluntz

5.0 - Updated on 2021-08-31 by Sean Schluntz

4.0 - Updated on 2021-07-29 by Sean Schluntz

3.0 - Updated on 2021-07-29 by Sean Schluntz

2.0 - Updated on 2020-11-05 by Natasha Batra

1.0 - Authored on 2015-08-12 by Sean McMahon

This article provides information on how Linux can be connected to the UC Berkeley Campus eduroam WiFi network. Due to the variety of Linux distributions and graphical interface choices it is not possible to cover all methods of configuration.  This guide only provides the core information necessary for an individual to configure the system themselves. 



Before you Begin

  1. Forget the CalVistor and airbears2 networks from your remembered WiFi networks list
  2. Create your WiFi Key


Linux WiFi Configuration Options

Linux distributions can be configured using the graphical user interface (GUI) or from the command line. 


Connecting Linux to eduroam from the GUI

1. Open the wireless network browser (the following are some example methods from known platforms)

It may take a few moments for your computer to identify and list all available wireless networks


2. Select eduroam from the list of available wireless networks


3. You will be prompted to authenticate to the wireless network, fill out the appropriate information and then click Ok, Save, Join, Continue, or whatever acknowledgement button there may be.

The following are are many of the common configuration options. Some may only be accessible by choosing advanced configuration and some may not be listed as an option.


4. You should now be able to connect to the eduroam network, if you are unable to connect you can check syslog for any errors that need to be addressed.


Connecting Linux to eduroam using the WPA Supplicant

1. Change to the /etc/wpa_supplicant directory


2. With superuser privileges crea a configuration file for eduroam using your preferred text editor, this example will use eduroam_wifi.conf

linux:~$ sudo vi eduroam_wifi.conf


3. Populate the file with the following template

# eduroam wifi configuration
#    NOTE: command to connect as following:
#    wpa_supplicatn -i wlan0 -c /etc/wpa_supplicant/eduroam_wifi.conf




4. Replace {wifiid} with your WiFi Key username


5. To protect your password use a separate window run the following command replacing WIFIKEY with your WiFi Key

echo -n 'WIFIKEY' | iconv -t utf16le | openssl md4


6. Replace {wifikey-hash} in the configuration file with the output (no spaces, no quotes) from the previous command


7. Save the file and exit from the editor


8. You can now test connecting to eduroam with the following command

wpa_supplicatn -i wlan0 -c /etc/wpa_supplicant/eduroam_wifi.conf


9. You should now be able to connect to the eduroam network, if you are unable to connect you can check syslog for any errors that need to be addressed.