Connecting to open networks using nmcli Wi-Fi network could not be found
2
votes
1
answer
2322
views
I have an an orange pi zero running armbian I am having problem connecting to open networks using nmcli. I can very well connect to my home "WPA1 WPA2" secured network with no issue at all. Here is to list the network:
# nmcli device wifi list
IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY
XX:XX:XX:XX:XX:XX MyNetwork Infra 7 405 Mbit/s 100 ▂▄▆█ WPA1 WPA2
I use the following command to connect to it and it works perfect:
# nmcli device wifi con MyNetwork password 'mypassword'
Connection 'MyNetwork' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/48)
Now if I turn my android phone to a hotspot with no password, the nmcli can not connect to it. Here is how the nmcli sees the open hotspot (as you can see there are no security set):
# nmcli device wifi list
IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY
XX:XX:XX:XX:XX:XX MyNetwork Infra 7 405 Mbit/s 97 ▂▄▆█ WPA1 WPA2
XX:XX:XX:XX:XX:XX OpenNetwork Infra 1 130 Mbit/s 94 ▂▄▆█ --
My assumption is that I should just use the same command I used to connect to my secure WiFi, but omit the password part...but for some reason I get the following error:
# nmcli device wifi con OpenNetwork
Error: Connection activation failed: (53) The Wi-Fi network could not be found.
I tried this with some other open networks, I get the same error. Is there something that I am missing? is the a driver issue? or is there some settings that I need to change/enable for nmcli to support open networks?
Asked by DEKKER
(998 rep)
Jul 19, 2021, 05:08 PM
Last activity: Apr 7, 2025, 12:04 PM
Last activity: Apr 7, 2025, 12:04 PM