Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

How can I change the way Macbooks roam on the WiFi network? I would like to speedup the roaming of Macs (and maybe other devices).

Is there a setting on the Airport base stations or in Mac OS to speedup AP switching for example?

Currently the network is built around 1 main Switch interconnecting 1 router and 4 Airport base stations using the same SSID:

  • 3 dual band Airport base stations
  • 1 Airport 2.4GHz base station

On the 5GHz band, there is no overlap as each base station uses its own channel.

On the 2.4GHz band there is a very slight overlap between 2 base stations which are at opposite sides and at different stories of the building.

share|improve this question
What exactly is the problem you are experiencing? Is switching networks slow for you? Under which conditions are you switching networks? –  Gerry Oct 10 '12 at 11:59
@Gerry: When moving from one room to another I loose the connection just long enough for airplay to stop, file shares to stop responding, and Time Machine sometimes manages to keep on going but sometimes not. It will be a major issue for the users using the WiFi network. –  Coyote Oct 10 '12 at 12:02
Are you moving between access points with different names, or do the different access points all have the same names? –  nthonygreen Oct 10 '12 at 13:31
@anthonyg I updated the question with more details. Yes they use the same SSID each is setup to different channels, on the 2.4GHz band there is no or negligible overlap. –  Coyote Oct 10 '12 at 14:16

5 Answers 5

up vote 2 down vote accepted

No. There is no setting to drive this or configure things from the OS X side of things or the Airport router side of things.

As magiconair answers, you would have to script this renegotiation as a task using various tools, but if you don't want to program something or find an app that does this (I know of none, but the world of apps is large and growing), you might need to just force a re-join when you notice slowness or have physically moved locations.

By periodically forcing the Wi-Fi to disassociate with the network and then reestablish a connection, your device is much more likely to be connected to the strongest measured base station rather than hanging onto the first base station it joined.

The software is designed to keep a fair connection alive as long as possible rather than hop around always looking for a better connection.

share|improve this answer
How can you do this? –  magiconair Apr 1 '13 at 20:44
On iOS, I usually turn off WiFi in settings. You could also toggle AirPlane mode. Taking more time is to "forget" and then re-join the network or scan and select an alternate SSID and then select back to the one you want. Walking out of range also does the same thing, but sometimes you can't or don't want to walk and prefer to drive things on the device's screen. –  bmike Apr 1 '13 at 21:27
Ok, that is the brute-force method which doesn't really address what the original poster was after. Namely, that he would not like the connection to drop when he is out of range but rather to switch to the better access point. BTW, '/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -z' does the same thing. –  magiconair Apr 2 '13 at 19:03
@magiconair Great comments - I've revisited the question and tried to make the answer more direct in the "no" - you can't do this with Apple's tools directly (as well as pointing to your scripting solution). –  bmike Apr 2 '13 at 19:38

You can change the system preferences for JoinMode and JoinModeFallback to be the following:

    JoinMode (String)
    JoinModeFallback (String)

Do this using the airport command:


Run the command to see the options, up the top you'll see a section on how to sec preferences.

For instance:

sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport prefs joinMode=Strongest
share|improve this answer
Just used joinMode=Strongest and this fixed any issues I had with slow Wifi switch! Thanks a lot. –  Nivco Jan 26 at 1:48
This should be the approved answer btw :) –  Nivco Jan 26 at 1:48
@Nivco - Did you run a command from Termianl to set joinMode=Strongest? I'm not sure if I did it right and not sure how to check. Any help would rock! –  Koby Jan 26 at 17:55
Yes I just ran the command on the terminal. You can check values have changed by using /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/air‌​port prefs it should print out a line that says JoinMode=Strongest –  Nivco Jan 29 at 1:05

I have the same problem but don't have an answer. However, I may have a path for further exploration. The airport utility on ML still has a legacy option to perform a WiFi network scan.

airport -s           # full scan
airport -s<SSID>     # scan only for SSID

The tool is under


and my suspicion is that triggering a scan also triggers a handover if another base station is better since the results are sorted by signal strength. Having said that one could write a tool which pings the default gw and triggers a scan on packet loss. If I have some time I will give it a shot.

share|improve this answer
If you get some good results with that keep me posted. –  Coyote Jun 23 '13 at 11:55

I face this issue in small businesses that with OS X. I have yet to find a good solution other than disconnect and reconnect to grab the closer IP.

share|improve this answer
In my setup the IP is assigned by the same DHCP server for all APs. All devices are on the same network with the same IP range. –  Coyote Apr 25 '14 at 21:40

Try a same channel setup - configure all APs to the same channel. That way the device can pick up the signal strengths of the other APs without having to scan all channels. You will limit the maximum throughout though, depending on the number of clients

share|improve this answer
This sounds counter productive, all recommendations (CISCO, Apple, Alcatel...) are to setup all APs to avoid geographical overlap. But in areas where I have 2 to 4 devices per AP I will try your suggestion and see how this works out. –  Coyote Dec 28 '14 at 14:12
I know - that's why I always had configured different channels, but ended up with poor signal quality all the time when running around. I made a small iOS app displaying the MAC of the currently connected access point and noticed that wifi clients (at least the iphone) seem to like to stick to the current AP as long as possible. When I changed the setup to same-channel I noticed that the AP roaming is much more aggressive. –  Moritz Feb 9 at 14:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.