Skip to content

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.

Trackbacks

Keine Trackbacks

Kommentare

Ansicht der Kommentare: Linear | Verschachtelt

Noch keine Kommentare

Die Kommentarfunktion wurde vom Besitzer dieses Blogs in diesem Eintrag deaktiviert.

Kommentar schreiben

Die angegebene E-Mail-Adresse wird nicht dargestellt, sondern nur für eventuelle Benachrichtigungen verwendet.
Um einen Kommentar hinterlassen zu können, erhalten Sie nach dem Kommentieren eine E-Mail mit Aktivierungslink an ihre angegebene Adresse.

Um maschinelle und automatische Übertragung von Spamkommentaren zu verhindern, bitte die Zeichenfolge im dargestellten Bild in der Eingabemaske eintragen. Nur wenn die Zeichenfolge richtig eingegeben wurde, kann der Kommentar angenommen werden. Bitte beachten Sie, dass Ihr Browser Cookies unterstützen muss, um dieses Verfahren anzuwenden.
CAPTCHA

Markdown-Formatierung erlaubt
Formular-Optionen