{"id":32,"date":"2007-04-27T20:33:31","date_gmt":"2007-04-28T03:33:31","guid":{"rendered":"http:\/\/www.dreness.com\/blog\/archives\/32"},"modified":"2019-12-07T17:10:12","modified_gmt":"2019-12-08T00:10:12","slug":"apple-airport-base-station-monitor","status":"publish","type":"post","link":"https:\/\/dreness.com\/blog\/archives\/32","title":{"rendered":"Apple airport base station monitor"},"content":{"rendered":"<p><a href=\"https:\/\/dreness.com\/bits\/tech\/airport\">Download<\/a>.<\/p>\n<pre>\r\n{1} andre@dude [~] % airport -h\r\nProgram Options:\r\n      -h           print this help\r\n      -d           output in comma delimited format\r\n                   (base station ID lines are designated by '*')\r\n      -v           verbose mode\r\n                   (stacks up to 3 times)\r\n      --encode     Specify plaintext to retrieve the base64 encoding.\r\n                   This should be used to store the SNMP community name near\r\n                   the top of this script.\r\n                   \r\nOutput Field Specification\r\n   Each of these letters represents a piece of available information about a\r\n   wireless device associated to the base station. The order in which the tokens\r\n   are specified is used as the output field order. Do not prefix these tokens\r\n   with \"-\" or \"--\".\r\n       n       wirelessPhysAddress\r\n       y       wirelessType\r\n       s       wirelessStrength\r\n       r       wirelessRate\r\n       o       wirelessNoise\r\n       t       wirelessNumTX\r\n       e       wirelessNumRX\r\n       T       wirelessNumTXErrors\r\n       E       wirelessNumRXErrors\r\n       a       wirelessTimeAssociated\r\n       i       wirelessLastRefreshTime\r\n\r\nDefault output is equivalent to \"nysroai\".\r\n\r\nExamples:\r\nDebug mode with default fields:\r\nairport -v\r\n\r\nComma-delimited mode with field specification:\r\nairport -d nsroteTE<\/pre>\n<p>Sample run (polling two base stations in a wds configuration):<\/p>\n<pre>\r\n{19} andre@donk [~] % airport\r\n10.0.1.3 (dreness) WLAN clients: 2  DHCP clients: 0\r\n  Name or Address     Type   Str    Rate   Noise   Connected    Idle       \r\n  boop                wds    -66    54     -91     3 23:58:56   0  0:00:00  \r\n  dude                sta    -81    5      -94     3 23:34:03   0  0:20:22  \r\n10.0.1.1 (Boop) WLAN clients: 7  DHCP clients: 8\r\n  Name or Address     Type   Str    Rate   Noise   Connected    Idle       \r\n  peperoni            sta    -85    5      -98     3  5:05:08   0  0:00:00   \r\n  dude                sta    -57    54     -93     3  5:04:49   0  0:00:00  \r\n  dreness             wds    -56    54     -88     3  5:05:08   0  0:00:00  \r\n  hughe               sta    -50    27     -90     3  5:04:21   0  0:00:00  \r\n  pandabank           sta    -72    24     -100    3  5:04:15   0  0:00:17  \r\n  00 11 24 ED 4A E5   sta    -63    54     -96     3  5:04:21   0  0:00:00 <\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Download. {1} andre@dude [~] % airport -h Program Options: -h print this help -d output in comma delimited format (base station ID lines are designated by &#8216;*&#8217;) -v verbose mode (stacks up to 3 times) &#8211;encode Specify plaintext to retrieve &hellip; <a href=\"https:\/\/dreness.com\/blog\/archives\/32\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-os-x","category-scripts"],"_links":{"self":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":1,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":981,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/32\/revisions\/981"}],"wp:attachment":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}