NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
bmomjian
Aug 29, 2018Guide
Generating "Wireless Stations" output via ssh
I would like to generate the output of this WAC730 webpage via ssh:
https://wap.home/admin.cgi?action=wireless_stations
I see the 'wl' command, but I don't see how to create that outp...
- Aug 30, 2018
Sorry, I meant just the data rate. My later post (that keeps getting deleted) has tx/rx rates from "wl -i wlan0 sta_info". In my script I loop over the "wl -i wlan0 assoclist" MAC addresses and call "sta_info" for each MAC address, and that does have tx/rx rates. I would post that script but am afraid the post will get deleted again like the last two tries.
schumaku
Aug 30, 2018Guru - Experienced User
Curious on where you see Tx _and_ Rx data rates ... Web UI here does only show the (Tx) Rate. SNMP queries does not unveil Rx Rate (at least of the clients we have currently connected, it returns "Not Support" on .1.3.6.1.4.1.4526.100.7.19.8.1.1.14 aka. rxDataRate.
bmomjian
Aug 30, 2018Guide
Sorry, I meant just the data rate. My later post (that keeps getting deleted) has tx/rx rates from "wl -i wlan0 sta_info". In my script I loop over the "wl -i wlan0 assoclist" MAC addresses and call "sta_info" for each MAC address, and that does have tx/rx rates. I would post that script but am afraid the post will get deleted again like the last two tries.
- RaghuHRAug 30, 2018NETGEAR Expert
- bmomjianSep 01, 2018Guide
I am going to try and repost my script without any display of MAC addresses, which might have caused my blocking previously. The script I used was:
wl -i wlan0 assoclist | cut -d' ' -f2 | while read MAC do wl -i wlan0 sta_info "$MAC" | egrep 'data bytes:|rate of last' | tr -d '\n' | (echo -n "$MAC"; cat; echo) done | awk '{print $1, $5, $9, $15, $22}'and I use an awk script to store the previous counter values and compute the differences every five seconds to display:
Name TX bytes RX bytes TX rate RX rate Load jack.home 4387 1368 1 6 4615 bill.home 2873 0 1 6 2873 sally.home 3081 5222 72 24 260 fred.home 1789935 10917 72 6 26603 jill.home 3729 815 19 24 225
I don't think there is anything on the web interface that shows continual traffic changes.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!