View Airport Express Connections via Command Line
Share
These days I need two Airports to cover the house. There’s an Airport Extreme and an Airport Express that’s wired via Ethernet to extend the network. The Express was acting a little flaky and I wanted to know if anyone was connecting to it. (check out Glenn Fleishman’s e-book for in-depth info on optimizing your Apple wireless network.)
One option is using the Airport Utility to see connections to your Apple wireless access points. But that’s a lot of clicks, and you can’t easily check it from your iPhone or iPad. Here’s an alternative: Use an SNMP command to see what’s going on with your Airport Express.
Murphy found a suitable command on Polydistortion.net, shown below:
snmpget -v 2c -c PASSWORD -M /usr/share/snmp/mibs:$HOME/share/mibs \
-m+AIRPORT-BASESTATION-3-MIB MyAirportExpress.local AIRPORT-BASESTATION-3-MIB::wirelessNumber.0
You can delete that backslash at the end of the top line and enter it all as one line in Terminal. You also want to enter your router’s password in place of password, and your router’s name in place of MyAirportExpress. Don’t get confused and enter your wifi password or the name of your wireless network. It’s the name of the router you’re looking for and the administrative password.
When you enter that in Terminal you should get a response that looks something like this:
AIRPORT-BASESTATION-3-MIB::wirelessNumber.0 = INTEGER: 0
16. November 2011 at 4:56 am :
dilata.info