networking - How can I force a connection to a specific WiFi network using nmcli? - Ask Ubuntu


networkmanager extremely slow scan , detect new networks wireless card (rtl8xxxu driver).

using network manager gui can "force" connection specific wireless network using "connect hidden network". if networkmanager hasn't yet detected particular ssid, try (and succeed) @ connecting indicated network:

networking menu

however, haven't found way emulate command line:

$ nmcli c id connectionnameorid error: connection activation failed: no suitable device found connection.  $ nmcli d wifi connect networkname password 'pskpassword' error: no network ssid 'networkname' found. 

this frustrating! obviously, networkmanager has some api allows try connecting as-yet-unscanned network. there way me access nmcli or command-line tool?

how nmcli connection $name ifname $iface?

nmcli device wifi connect creates new connection, expects argument ssid, not connection (name).


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User