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!

Question about ARP as presence detection

DAVIZINHO

Regular Contributor
Hello,
I use a script to know if my devices are connected at my network.
Now I use this command:
arp -i br0 -na | awk '{print $4}'

This give to me a list of macs that connect to my network.

The problem is that i have one device connected that i can see in asus web interface but not apears in this arp list

this is normal? any solution? other command that works for my idea?

thanks
 
What is the device? Is it asleep?

Entries in the ARP table will expire after a while, that's normal. So unless there is traffic going to or from the device in question it's quite possible its ARP entry has been removed.
 
The devices is a AVR amplifier (harman/kardon). Not have a lot of trafic in the network interface, but while i launch de arp command, i make ping -t and reply all the pings
i dont understand :-(
 
Check the raw content of the arp cache:

Code:
cat /proc/net/arp
 
If it's in ports 5-8 try moving it to ports 1-4.
I will check in wich port is connected but i think this is not the problem
The "ghost device" is connected in a aditional switch, and in this switch are connected 2 devices more (a tv and a sat receiver) that apears perfectly in the arp
 

Similar threads

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