Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Retrieve AEBS router configuration info using terminal rather than Airport Utility

Posted on 2011-03-22
1
Medium Priority
?
569 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
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…

610 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