?
Solved

Retrieve AEBS router configuration info using terminal rather than Airport Utility

Posted on 2011-03-22
1
Medium Priority
?
568 Views
Last Modified: 2012-05-11
I have an Airport Extreme Base Station (AEBS).  Apple provides an application called Airport Utility to view and maintain this router's settings.  Most other routers have web page access to them, but as far as I know, the AEBS has no internal web page access.  How can I access the AEBS' configuration information using Terminal instead of the Airport Utility?
0
Comment
Question by:lisfolks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
lisfolks earned 0 total points
ID: 35191347
Found an answer:  SNMP can be used.  Here is an example script which pulls the WAN IP address directly from the AEBS.  SNMP is turned on and the SNMP Community String is "public".  (In the Airport Utility, under Advanced, in the "Logging and Statistics" section, the "Allow SNMP" box must be checked.  However, the "Allow SNMP over WAN" box need not be checked - unless I want to access these settings remotely over the Internet - which I'm not interested in at this time.)

#!/bin/sh

SNMPKEY="public"

if [ $# = 1 ] ; then
   SNMPKEY="$1"
fi
IFS=" "
set -- $(netstat -nr | egrep '^0.0.0.0|^default')
ROUTER=$2
set -- $(snmpwalk -Os -c "$SNMPKEY" -v 1 "$ROUTER" ipRouteNextHop.0.0.0.0)
set -- $(snmpwalk -Os -c "$SNMPKEY" -v 1 "$ROUTER" ipRouteNextHop.$4)

echo $4

Open in new window


Thanks to 'runforresterrun' over at Mac World's Mac OS X Hints area for this script:
http://hints.macworld.com/article.php?story=20091222232613368

Now, I just need to learn more SNMP to get the rest of the stuff...  :)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SUMMARY Enterprise backup in a heterogeneous network is a subject full of complications and restrictions. Issues such as filename & path structure, attributes and extended metadata always tend to complicate the subject to the extent where either …
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question