Does anyone know how to use Ruby to grab a list of the MAC addresses of all the devices on the local network? Preferably as quick a response as possible.
Thanks!
Does anyone know how to use Ruby to grab a list of the MAC addresses of all the devices on the local network? Preferably as quick a response as possible.
Thanks!
Substitute your actual IP range for the X's
ping -c 2 x.x.x.255
And then parse the results of an
arp -a