EAP245 SSH commands
Is there a complete list of the SSH commands the EAP245 will accept? If not, does anyone at least know which command will return a list of clients associated with the access point?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
forcedfx wrote
Is there a complete list of the SSH commands the EAP245 will accept? If not, does anyone at least know which command will return a list of clients associated with the access point?
AFAIK there is no command, but you can use the /proc pseudo filesystem to list clients and their associated keys.
For example, to get the list of all STAs currently associated to VAP ath0 (MAC address obfuscated intentionally):
$ ssh admin@192.168.1.219 cat /proc/ath0/clients_keys | sed 's/ .*$//'
admin@192.168.1.219's password: yoursecretpassword
00:1B:AC:XX:XX:XX
$
Since sed is not enabled in busybox, I run the command through ssh and pipe it locally through sed to extract just the MAC addresses of associiated STAs. You could also log into the EAP and execute the command:
cat /proc/athX/clients_keys
where X is the number of the VAP for which you want its client list.
- Copy Link
- Report Inappropriate Content
Thanks, I couldn't make that command work on my unit for some reason. But it did help me stumble upon these commands. This gets me all of my attahced devices for all 4 wireless stations.
wlanconfig ath0 list
wlanconfig ath1 list
wlanconfig ath10 list
wlanconfig ath11 list
- Copy Link
- Report Inappropriate Content
Ah, great. I saw wlanconfig, but the 'list' command was not shown in the usage message, just 'nawds list' and 'vendorie list'.
I usually include iwinfo in our own firmware to list this kind of stuff.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 1
Views: 6560
Replies: 3
Voters 0
No one has voted for it yet.