How can I force Network Manager to associate to a specific access point?
in my network environment I have two access points with the same ESSID; one of them is near my desktop and another is in another building.
I get signal from both of them, and the connection often switches from the near one to the far one, leading to a connection drop.
How can I force network manager to use only a given AP, ignoring the other?
Solution 1:
First, find the BSSID (MAC address) of the AP that's further away. See this answer on how to get it.
Then click on the NM indicator → choose Edit Connections... → then click on the Wireless tab. Find the SSID in the list and click on Edit.
Now rename the connection to make it easier tell them apart and untick the Connect automatically checkbox. Also enter the address of the AP in the BSSID field.
(source: xrmb2.net)
That's it. You'll still see both APs in the NM indicator with the same name (don't know if you can change that), but your computer will only automatically connect to the closer one.