Monday, November 19, 2018

14.04 - How to connect to a network without having a GUI at any point of time?

I have gone through other questions on connecting to a Wi-Fi network from a terminal. nmcli works from the command line if the password provided is correct. If the password is wrong:



  1. The network manager opens a dialog box asking for the right password

  2. The command doesn't exit till I click on "Cancel" (returns 4 on cancel)


Is there a way to try to connect to a network without having this dialog box pop up if there is an error?


I need this to connect to a Wi-Fi network from a ctrl + alt + F terminal. Here it just keeps waiting and the prompt doesn't return.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...