17

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?

  • If the APs are on the same network, you should be connecting automatically to any in range, right? – Nathan Greenstein Jan 26 '11 at 1:04
  • @Nathan Connecting to the network isn't the problem, it's just one is a G network and one is an N network, and I want to use the N one whenever possible. Changing the SSID is, unfortunately, not an option. – Kyle Cronin Jan 26 '11 at 1:06
  • Gotcha. I was missing the g/n bit. – Nathan Greenstein Jan 26 '11 at 1:14
  • Maybe if you dig into the preferences file and try to edit manually . I know for an old powerbook G4 (Mac 10.4.11) I have the airport command line tool "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport" with the --associate and --bssid options available but it seems to be removed from newer releases. – phwd Jan 26 '11 at 23:55
  • 1
    I have the same issue. I solved it from the other end, blocking my Mac's MAC from the undesirable router. – Jamie Kitson Jan 1 '13 at 19:42
4

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.

  • on osx 10.14.1 (mojave) is located in "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport" – AsimRazaKhan Nov 19 '18 at 10:20
2

You can use that tool:

airport-bssid on github

  • 1
    the link doesn't inspire much confidence either – Tetsujin Nov 30 '15 at 20:15
  • @Annhydrium Please add some instructions. Most of the information contained in the README file on that GitHub project is in Japanese. – Ben Morrow Aug 29 '16 at 4:17
  • Try google translate. – historystamp Nov 28 '16 at 23:53
  • The readme is in japanese, and you have to compile it from source, but once you've figured it out, it works as advertised – tbodt Oct 8 '17 at 2:33
  • @tbodt I couldn't get it to work. There may be something I am missing. I downloaded it and compiled it both using the makefile and xcode, neither worked. It claims to have connected to the bssid I want, but macos still doesn't care and tries to connect to the other network – MuhsinFatih May 13 '18 at 2:53
2

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

airport-bssid

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .