I am setting up a method to program IP phones. I need a way to query the local network, get the MAC addresses of all the phones. I so far have this to discover the phones I want:
arp-scan --interface=eth0 --localnet --retry 1 --timeout 50 --numeric --plain | grep -e 80:82:87
This shows from the command line only the devices I want. From here I want to show them on a page and also send the info - just the MAC address to a Mysql table.
Where do I go from here??
Thanks for any hints or direction
arp-scan --interface=eth0 --localnet --retry 1 --timeout 50 --numeric --plain | grep -e 80:82:87
This shows from the command line only the devices I want. From here I want to show them on a page and also send the info - just the MAC address to a Mysql table.
Where do I go from here??
Thanks for any hints or direction