What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Easily get connected client list

akileos

New Around Here
Hello There,

I'm looking for an easy way to get a list of connected clients, either Hostname, Mac Addr or IP.

Had a look at the code but couldn't find anything reliable that I could syslog,
Tried `wl` commands but couldn't find much either,
Check SNMP but found nothing relating to wireless only,
Last idea was the ajax_wificlients.asp but my Splunk doesn't have log-in capabilities more than basic/digest ...

Any clue where I could grab something reliable ?

Thanks !!!

-Aki
 
Ok in case someone find this later, dirty crontab such as :

* * * * * wl -i eth2 assoclist | awk '{print "Client="tolower($2)}' | logger && wl -i eth1 assoclist | awk '{print "Client="tolower($2)}' | logger

Dumps to syslogs all mac every minute.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top