Skip to content

Instantly share code, notes, and snippets.

View pletch's full-sized avatar

Tim pletch

  • Carmel, IN
View GitHub Profile
@pletch
pletch / wl_snmpd.sh
Last active October 6, 2020 21:24 — forked from anonymous/wl_snmpd.sh
simple script to run a triggered snmp command get to wifi client info
#!/bin/sh
# Modified script to provide detailed wifi client info on atheros 9k based device with LEDE/OpenWRT. Script requires 'bc'
# package to output results. Output was designed to match the OID results from an Engenius EAP600 when queried via SNMP.
#
# Outputs summary of client stats for each radio in the following format "mac address, SNR, total data received,
# connection rate"
# Example output:
# iso.3.6.1.4.1.14125.2.1.1.15.9.0 = STRING: "cc:aa:bb:dd:ee:ff -56 445942Kb 105M,"
# iso.3.6.1.4.1.14125.2.1.1.16.9.0 = STRING: "aa:bb:cc:dd:ee:ff -64 18388740Kb 78M, bb:bb:cc:dd:ee:ff -63 77624Kb 44M,"