DEV Community

shreyashah1903
shreyashah1903

Posted on

Set up Wifi from terminal



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
Enter fullscreen mode Exit fullscreen mode

Top comments (0)