我有两个具有相同 SSID 的 diff wifi AP。我尝试使用nmcli连接到特定的BSSID,但失败了。
有人可以帮忙吗?
# nmcli -f "in-use,ssid,mode,chan,rate,signal,bars,security,bssid" dev wifi list |grep "AC5300 "
* ASUS_AC5300 Infra 9 54 Mbit/s 100 ▂▄▆█ WPA2 34:97:F6:6E:31:20
ASUS_AC5300 Infra 10 54 Mbit/s 82 ▂▄▆█ WPA2 88:D7:F6:88:AC:30
# nmcli dev wifi connect ASUS_AC5300 bssid 88:D7:F6:88:AC:30
Error: Failed to add/activate new connection: Active connection removed before it was initialized
该命令似乎适用于 ubuntu 14.04。我不知道为什么。