Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to be able to tell when a MacBook (running OS 10.5) switches from one wireless access point to another.

In the building I am in, with several wireless access points (all Airport Extremes, all with the same SSID), the computer shows that it is connected in a certain room but does not act as though it is. [I'm still verify that it acts as though it is on the network in other locations.]

When I do

ping -a a_local_ip

then I expect to get a steady metronome of audible pings (and do, in some areas), but in the suspect room, instead of getting beep ... beep ... beep ... beep, I get .........beeep......beep...beep.beep.beep........ Looking at the ping times, they go from 3 ms to 82466.303 ms. (I've also got a 15% packet loss).

Is there a log I can tail or any other way to determine when I change wireless access points, so I can determine if it is the computer's wireless card, or something wrong with the access point?

share|improve this question

Hold down the option key and click on the wireless icon on the menu bar. It should show you the SSID, channel, and Hardware address of the access point you are connected to.


share|improve this answer
+1 for the Hardware Address – Mark Henderson Oct 7 '09 at 21:13
Very cool. I wish it would update in real time, though. – Clinton Blackmore Oct 7 '09 at 21:55

I got some mileage out of doing this:

while true ; do /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | grep BSSID ; sleep 1 ; done


while true ; do clear ; /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I ; sleep 1 ; done
share|improve this answer

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.