How to connect to eduroam with nmtui
I am using NetworkManager
to work with any kind of network connection.
I found my freedom with the nmtui
and it was working fine until today. Today, I needed to connect to an eduroam WiFi. Long story short this is currently not possible that easy with nmtui
or nmcli
.
Since I try to keep the system footprint small, I have not installed any gui for the NetworkManager.
Thanks to GallaFrancesco, I found a way to connect to my eduroam realm.
Execute the following command in your shell.
nmcli connection add \
type wifi con-name "eduroam" ifname $(ifconfig | grep -i w | cut -d":" -f 1) ssid "eduroam" -- \
wifi-sec.key-mgmt wpa-eap 802-1x.eap peap \
802-1x.phase2-auth mschapv2 802-1x.identity "<username>@<realm>"
After that, restart your networkmanager service with systemctl restart NetworkManager.service
to ensure the eduroam connection was found.
Finally, open nmtui
and activate the eduroam
connection. Now, you have to provide your password.
I've created a small howto here.