EAP245 SSH commands

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

EAP245 SSH commands

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
EAP245 SSH commands
EAP245 SSH commands
2019-10-16 13:54:14 - last edited 2019-10-16 17:00:58
Model: EAP245  
Hardware Version: V1
Firmware Version: 1.4

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?

  1      
  1      
#1
Options
3 Reply
Re:EAP245 SSH commands
2019-10-16 18:47:13 - last edited 2019-10-16 18:54:03

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.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#2
Options
Re:EAP245 SSH commands
2019-10-16 19:11:48

@R1D2 

 

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

 

  0  
  0  
#3
Options
Re:EAP245 SSH commands
2019-10-16 20:35:40 - last edited 2019-10-16 20:46:29

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.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  1  
  1  
#4
Options

Information

Helpful: 1

Views: 6565

Replies: 3

Related Articles