How to connect to Protected EAP (PEAP) wifi via terminal
In the words of kemtnbkr on the Ubuntu forums:
Make sure
wpasupplicant
is installed
Remove network manager from startup apps; log out and log back in
change your
/etc/network/interfaces
to: Code:auto lo iface lo inet loopback auto wlan0 iface wlan0 inet dhcp wireless-mode Managed wpa-ssid **censored** wpa-ap-scan 1 wpa-proto RSN WPA wpa-pairwise CCMP TKIP wpa-group CCMP TKIP wpa-key-mgmt WPA-EAP wpa-eap PEAP wpa-identity **censored** wpa-password **censored** wpa-phase1 fast_provisioning=1 wpa-pac-file /home/kyle/Downloads/chain2.cer
With terminal: Code:
sudo ifconfig wlan0 down sudo ifconfig wlan0 up sudo dhclient wlan0 -v
You are Connected.
Related videos on Youtube
João Carlos
Updated on September 18, 2022Comments
-
João Carlos over 1 year
My friend needs to connect to the wifi in our school, which uses a Protected EAP (PEAP) Authentification.
He installed the Gnome GUI by the way.
When he tries to connect to the wifi however, after putting the login and password, a window pops up warning that he didn't select a CA certificate (which is not needed), and he can't interact with that window. Meaning that he can't select ignore and then connect.
Is there a way to connect to this network by using the terminal?
Edit: My question was identified as similar to another, but the answers there doesn't help us. The network we are trying to connect to is one that needs username and password [Protected EAP (PEAP)]. The question/answers from the other thread only talk about the usual wifi where we only need to input the wifi's password.
-
Mark Kirby over 8 yearsPossible duplicate of connect to wifi from command line
-