Ubuntu connect to server
nmcli device wifi rescan. After running re-scan, print the list in the terminal window. nmcli device wifi list. Using nmcli with “device wifi list” will print out a detailed list of all wireless networks that the user can access, complete with SSIDs, channels, connection modes, signal strength and etc. Connect to any one of these networks using “nmcli device wifi connect”.