/* SpaceAPI-Integration */
This commit is contained in:
parent
f800ed3a08
commit
277ead0112
|
@ -80,3 +80,18 @@ config interface 'lan'
|
|||
option ipaddr '172.22.99.18'
|
||||
option netmask '255.255.255.0'
|
||||
option gateway '172.22.99.4'</pre>
|
||||
|
||||
== SpaceAPI-Integration ==
|
||||
|
||||
Installiere opkg-Pakete ''libnetsnmp'' und ''snmpd''.
|
||||
|
||||
=== /etc/config/snmpd ===
|
||||
|
||||
<pre>config exec
|
||||
option name wlan0-stations
|
||||
option prog /bin/sh
|
||||
option args '-c "exit `iw dev wlan0-1 station dump|egrep -e ^Station\ |wc -l`"'</pre>
|
||||
|
||||
=== Eintragen in Poller ===
|
||||
|
||||
https://github.com/astro/spacemsg/tree/master/spaceapi
|
||||
|
|
Loading…
Reference in New Issue
Block a user