Connecting Raspberry Pi to Eduroam Wifi

Connecting Raspberry Pi to Eduroam Wifi

Hi people! 👋 I was working with Raspberry Pi lately and was trying to connect it to eduroam. If you are not familiar with eduroam, it is a service used by most universities to provide Wifi on their campuses. It uses Enterprise WPA and Raspberry Pi does not connect to it automatically out of the box.

I actually found these instructions on a different website but that website is down now. I am putting these instructions here for all of you who might be stuck in the same situation.

Raspberry Pi uses wpa-supplicant to connect to the wifi. wpa-supplicant has a wpa_supplicant.confconfiguration file where you can manually add information about an access point which you want your Pi to connect to. We will update this wpa_supplicant.conf file to add information about eduroam so that whenever our Pi gets signals from eduroam, it automatically connects to it.

Step 1:

Let’s edit the wpa_supplicant.conf file. Open up the terminal on your Raspberry Pi and type the following command (without the $):

$ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

This will open up nano (text editor) to allow you to edit the file. Now paste in the following text in the file:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store