What's new

wl -i eth2 assoclist

  • 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!

calzor suzay

Regular Contributor
wl -i eth1 assoclist
and
wl -i eth2 assoclist

Shows MACs on 2.4GHz and 5GHz ranges but is there a similar command for hard wired stuff?
 
No, because unlike WiFi where the client maintains a connection to the access point Ethernet traffic is transitory. The best you can do is look at the router's ARP table but that's not a 100% reliable indication that the client is still connected to the network.
 
Well that's a bit rubbish :(
Is there like a constant ping script or is that resource hungry?
 
No the previous check I had was using wl -i eth1 assoclist to pick up a device then curl to a webpage running home automation to update a switch in the HA. I was hoping to piggy back off it and use curl to send an email but now I'm back to just trying to detect the device as it's not wifi.
 
As the HA runs a website thinking of using wget to site for a check.
Or perhaps even curl -sSf
 
Last edited:

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!
Top