The oneliner below works as follows: First off, you must be on the same LAN subnet for this to work, otherwise getting the MAC is most likely impossible Ping the host to make sure the MAC is in the ARP table Get the MAC using arp and cut out surrounding noise Tested on Ubuntu 15.10 […]