I use NetworkManager with a WLAN that has two access points (same SSID).
Is there a quick way to switch between
- auto selection
- force to connect to one specific access point
- force usage of the other access point
Command line solution is also fine (as long as NetworkManager can keep managing the device).
Edit: some people think I can easily configure different entries and select between those. This is not true: even with two entries (with fixed BSSID each) with different names (but same SSID), the menu only presents one entry (with the name of the SSID) without indicating BSSID or name of the corresponding trusted entry.
I don't know of anyway to make the GUI show different connections for different BSSIDs, but the CLI tool,
nmcli
offers this option:This offers two ways to script a switch in access points:
ap
parameter to tell NM to connect to an AP.I have never tried either, but both should be equivalent.