Page 1 of 1

Get "signal dbm" via CLI/API/batch interface?

Posted: Mon May 19, 2014 10:57 am
by ng3700v2
I'm looking for a way to obtain the list of "Connected Wireless Hosts" including the "Signal" column programmatically without having to use the web interface. Is there a command, script, API, or some other means of acquiring this data?

Here's what I've tried:
I copied /www/hosts.sh to hosts2.sh and removed the "eval $( gargoyle_session_validator ..." line. This lets me get a bunch of data using cURL without logging in. Unfortunately, however, the wireless signal is not included in the output. I'm assuming that data is crunched in the /www/js/hosts.js

Any help or assistance is greatly appreciated.
Thanks!

Re: Get "signal dbm" via CLI/API/batch interface?

Posted: Mon May 19, 2014 12:11 pm
by ng3700v2
After more research, I finally discovered that this command will provide me that information that I desire:

Code: Select all

iw dev wlan0 station dump