Can I connect to a specific access point by BSSID?

Is there any way to get Mac OS X to connect to a specific access point by BSSID? I have a network with the same SSID for multiple access points, and I would sometimes like to specify which specific access point to connect to. Is this something Mac OS X can do natively, or is there a third party tool that can do this?


What OS X version do you have?

In older versions this is possible:

/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -A'NETWORKNAME' BSSID='00:11:22:33:44:55' password='PASSWORD'

But on OS X 10.6 it doesn't work anymore.

I've searched high and low for a solution for this, but haven't found anything yet. The only solution is going closer to your base station. So that the n -signal is stronger.


an updated version of the above tool can confirm working on el capitan (10.11)

airport-bssid


You can use that tool:

airport-bssid on github