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:
- The network manager opens a dialog box asking for the right password
- 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
F<num> terminal. Here it just keeps waiting and the prompt doesn't return.