4

Can someone please tell me how I can establish connection to my WiFi network from the command line? (My desktop GUI is fried.)

I've tried the following:

sudo iwconfig wlan0 essid NETWORK_NAME
sudo iwconfig wlan0 key s:NETWORK_PASSWORD

However, the second command (to set the password) fails with an error message reading: "Invalid argument".

Thanks.

1 Answers1

2

I can connect with this command even from the true (not emulated) terminal:

nmcli con up id 'my.net.work'
desgua
  • 32,917