This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
fuss:apple_airport [2015/12/21 22:13] – [Get the External IP Address of an Airport Device] office | fuss:apple_airport [2022/04/19 08:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Enable SNMP on Airport Devices ====== | ||
+ | If you are under OSX Lion and onward you will notice that the Aiport Utility does not allow you to enable SNMP, along with a bunch of other options that may have been useful to you. Do not worry, the settings are there but they are just hidden by the dumbed-down interface. Just load Snow Leopard and use the Aiport Utility in Snow Leopard to enable SNMP. | ||
+ | |||
+ | ====== Query Apple Aiport or TimeCapsule Devices over SNMP ====== | ||
+ | |||
+ | To set-up SNMP on the machine quarrying the device: | ||
+ | |||
+ | - The foremost thing to do is to enable SNMP on the Aiport. | ||
+ | - On Debian-like systems, issue: '' | ||
+ | - Download the [[http:// | ||
+ | |||
+ | You can now, for example, walk the entire tree of the Airport machine: | ||
+ | <code bash> | ||
+ | snmpwalk -v1 -c public 192.168.0.1 -m AIRPORT-BASESTATION-3-MIB | ||
+ | </ | ||
+ | |||
+ | where: | ||
+ | |||
+ | * '' | ||
+ | |||
+ | ====== Get the External IP Address of an Airport Device ====== | ||
+ | |||
+ | Consider a scenario where you have an Airport device that routes all the traffic to clients behind the Airport. You may need to retrieve the real IP address that the Airport currently has leased from your ISP. | ||
+ | |||
+ | Provided you have installed the necessary SNMP tools as mentioned in the previous section of this page, the following bash command: | ||
+ | |||
+ | <code bash> | ||
+ | snmpwalk -v1 -c public 192.168.0.1 -m AIRPORT-BASESTATION-3-MIB | ||
+ | </ | ||
+ | |||
+ | where: | ||
+ | |||
+ | * '' | ||
+ | |||
+ | should retrieve the external IP address of the Airport device. |