Set up Wifi from terminal

RMAG news

sudo apt install wpa_supplicant
# Find out what is the wifi name
ip link set dev wlp3s0 up

#If wpa_supplicant conf file does not exist
wpa_passphrase <wifi_name> <wifi_password> | tee /etc/wpa_supplicant/wpa_supplicant.conf

wpa_supplicant -B -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlp3s0
dhclient wlp3s0

Leave a Reply

Your email address will not be published. Required fields are marked *