{"id":152,"date":"2018-04-02T23:15:11","date_gmt":"2018-04-02T16:15:11","guid":{"rendered":"https:\/\/prosindo.com\/blog\/?p=152"},"modified":"2018-04-02T23:15:11","modified_gmt":"2018-04-02T16:15:11","slug":"get-associated-wifi-clients-openwrt","status":"publish","type":"post","link":"https:\/\/prosindo.com\/blog\/2018\/04\/02\/get-associated-wifi-clients-openwrt\/","title":{"rendered":"Get Associated WiFi Clients OpenWRT"},"content":{"rendered":"<p>In order to see associated wifi clients, even if they don&#8217;t have a DHCP Client or have no ip, you have to ask the AP for associated wifi devices:<\/p>\n<p><code># Universal (Tested with OpenWRT 14.07 and 15.05.X)<\/code><br \/>\n<code>iwinfo wlan0\/wl0\/ath0 assoclist<\/code><\/p>\n<p><code># Proprietary Broadcom (wl)<\/code><br \/>\n<code>wl -i wl0 assoclist<\/code><\/p>\n<p><code># Proprietary Atheros (madwifi)<\/code><br \/>\n<code>wlanconfig ath0 list sta<\/code><\/p>\n<p><code># MAC80211<\/code><br \/>\n<code>iw dev wlan0 station dump<\/code><\/p>\n<p>This way you will also see the connection speed. For me this is looking like this:<\/p>\n<p><code># iwinfo wlan0 assoclist<\/code><br \/>\n<code>12:34:56:78:9A:BC -26 dBm \/ -95 dBm (SNR 69) 1930 ms ago<\/code><br \/>\n<code>RX: 24.0 MBit\/s, MCS 0, 20MHz 3359 Pkts.<\/code><br \/>\n<code>TX: 130.0 MBit\/s, MCS 14, 20MHz, short GI 1209 Pkts.<\/code><\/p>\n<p>Source:\u00a0 https:\/\/serverfault.com\/a\/776302<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to see associated wifi clients, even if they don&#8217;t have a DHCP Client or have no ip, you have to ask the AP for associated wifi devices: # Universal (Tested with OpenWRT 14.07 and 15.05.X) iwinfo wlan0\/wl0\/ath0 assoclist # Proprietary Broadcom (wl) wl -i wl0 assoclist # Proprietary Atheros (madwifi) wlanconfig ath0 list &hellip; <a href=\"https:\/\/prosindo.com\/blog\/2018\/04\/02\/get-associated-wifi-clients-openwrt\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Get Associated WiFi Clients OpenWRT&#8221;<\/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":[1],"tags":[],"class_list":["post-152","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/comments?post=152"}],"version-history":[{"count":1,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/152\/revisions"}],"predecessor-version":[{"id":153,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/152\/revisions\/153"}],"wp:attachment":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/media?parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/categories?post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/tags?post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}