wpa_supplicant 2: Eduroam Networks
Apr 10, 2021
The previous guide on wpa_supplicant
walks through the steps necessary to connect to WPA-encrypted wireless networks. Eduroam connections require additional authentication information.
In the previous guide, we configured a single wireless network connection, and appended the information to the etc/wpa_supplicant/wpa_supplicant.conf
configuration file using wpa_passphrase
.
The file, with multiple configurations added for different wireless networks, might look something like this:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
update_config=1
network=
network=
network=
psk="..."
entry, instead of a WPA PSK that was generated by wpa_passphrase
.Now, we need to provide the necessary authentication information. We can do this by editing the configuration file manually.
[root@void: ~]# cd /etc/wpa_supplicant/
[root@void: ~]# vim wpa_supplicant.conf
wpa_supplicant
might not be included, but the information should still be useful.We add the following network configuration to the file:
network=
The password is now in the configuration file. It is a good idea to make sure that the file can only be read by the root user.
[root@void: ~]# chmod 600 wpa_supplicant.conf
We should now be able to connect to the Eduroam network after restarting the wpa_supplicant
service (The command to do so will be different on systems other than Void Linux).
[root@void: ~]# sv restart wpa_supplicant