i need to learn to do it just using the commands in the terminal. any help would really help thanks
Asked
Active
Viewed 1.2k times
2
-
Is this a desktop or a server? If it is a desktop, then NetworkManager will probably disallow other methods to connect. – chili555 Aug 07 '19 at 13:33
-
Are you using Ubuntu? Which version? Do you want to reload an existing connection, or are you attempting the initial setup? What sort of authentication does the wifi use? – waltinator Aug 07 '19 at 13:34
-
@singrium Those old answers assume that the encryption is WEP. That's not likely the case today. – chili555 Aug 07 '19 at 14:02
-
@chili555, Thank you, I'll delete my comments then. – singrium Aug 07 '19 at 14:04
-
@chili555 it is a desktop kubuntu 19.04 i want to connect to a new wireless network – Subhanshu Prasad Aug 07 '19 at 14:49
1 Answers
8
I suggest that you do the following steps:
nmcli device wifi rescan
nmcli device wifi list
nmcli device wifi connect my_lil_router password 1234567890
Of course, substitute your exact details here.

chili555
- 60,188
-
-
If my answer has been helpful, please accept it: https://askubuntu.com/tour – chili555 Aug 08 '19 at 13:32
-
+1 Doctor Chili555 is requested in the operating rtoom. Paging Doctor Chili555... – Fabby Aug 10 '19 at 14:58