{"id":761,"date":"2015-05-19T20:14:02","date_gmt":"2015-05-19T20:14:02","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=761"},"modified":"2018-11-22T01:28:40","modified_gmt":"2018-11-22T01:28:40","slug":"ubiquiti-airmax-ssh-commands","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/ubiquiti-airmax-ssh-commands\/","title":{"rendered":"Ubiquiti AirMax SSH Commands"},"content":{"rendered":"<pre>ssh ubnt@192.168.1.20<\/pre>\n<p><strong>AP:<\/strong><\/p>\n<p>list how many devices are connected.<\/p>\n<pre>wstalist |grep \\\"mac\\\" |wc -l\r\nor\r\nwstalist |grep -c \\\"mac\\\" \r\n<\/pre>\n<p>List connected devices<\/p>\n<pre>wstalist<\/pre>\n<p>List ip&#8217;s of connected devices<\/p>\n<pre>wstalist |grep \\\"lastip\\\" | awk '{print $3}' | sed s\/\\\"\/\\ \/g | sed s\/,\/\/g<\/pre>\n<p>List connected devices with the device name and ip address of device<\/p>\n<pre>wstalist |grep -A1 \\\"name\\\" | sed s\/\\\"\/\\ \/g | sed s\/,\/\/g | grep -v \"\\--\"<\/pre>\n<p>List connected devices along with device name, and signal.<\/p>\n<pre>wstalist |grep -A6 \\\"name\\\" | grep -E -v 'rx|tx|associd|aprepeater' | sed s\/\\\"\/\\ \/g | sed s\/,\/\/g | grep -v \"\\--\"<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Station:<\/strong><\/p>\n<p>Signal:<\/p>\n<pre>mca-status | grep signal<\/pre>\n<p>Signal, essid, frequency, noise, and ccq:<\/p>\n<pre>mca-status | grep -A4 essid<\/pre>\n<p>List basic info like device name, mac address, firmware version, platform, etc.<\/p>\n<pre>mca-status | head -n 1<\/pre>\n<p>Show Firmware Version:<\/p>\n<pre>mca-status | head -n 1 | awk -F, '{print $3}'<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ssh ubnt@192.168.1.20 AP: list how many devices are connected. wstalist |grep \\&#8221;mac\\&#8221; |wc -l or wstalist |grep -c \\&#8221;mac\\&#8221; List connected devices wstalist List ip&#8217;s of connected devices wstalist |grep \\&#8221;lastip\\&#8221; | awk &#8216;{print $3}&#8217; | sed s\/\\&#8221;\/\\ \/g | &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/ubiquiti-airmax-ssh-commands\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,129],"tags":[528,530,529,531,455,221,131,132],"class_list":["post-761","post","type-post","status-publish","format-standard","hentry","category-command-line","category-ubiquiti","tag-airmax","tag-nanostation","tag-ns","tag-powerbeam","tag-radio","tag-ssh","tag-ubiquiti-2","tag-ubnt"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=761"}],"version-history":[{"count":9,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/761\/revisions"}],"predecessor-version":[{"id":2164,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/761\/revisions\/2164"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}