Hello,

I am attempting to use the network manager command line interface to connect to a specific wifi network by BSSID. There are multiple wifi networks within range with the same SSID, so I am attempting to use the BSSID to connect to the specific network.

I found the specific BSSID by using the following nmcli command.
Code:
nmcli -f chan,ssid,bssid,signal,security dev wifi
The response looks similar to this.
Code:
4 | network0 | xx:xx:xx:xx:xx:xx | 67
6 | network1 | xx:xx:xx:xx:xx:01 | 64
6 | network1 | xx:xx:xx:xx:xx:02 | 50
6 | network1 | xx:xx:xx:xx:xx:03 | 43
6 | network1 | xx:xx:xx:xx:xx:04 | 40
You'll notice the reason for my specifying a bssid, as the situation involves choosing an ap amongst many with the same SSID, operating on the same channel with varying levels of signal strength.

Upon attempting to connect to a specific network with the following command:
Code:
nmcli d wifi connect xx:xx:xx:xx:xx:01
I receive this error message, despite the network having sufficient signal.
Code:
Error: Connection activation failed: (53) The Wi-Fi network could not be found.
I'm unable to find much information on this particular error message after reading the nmcli man page and searching significantly on Google and various forums.

For what it's worth, I am able to successfully connect to another wifi network (e.g. network0 in the above list) using the same command.

Does anybody know why I'm having a problem connecting, and how to potentially resolve the problem?

Thank you.


Possibly pertinent information:
Wifi Adapter: AWUS036NH