COKEDUDE
June 10th, 2010, 07:36 AM
Can anyone get this to work?
ip neigh flush all > /dev/null; # Clears out your arp cache
fping -c 1 -g -q 192.168.1.0/24 2> /dev/null; # pings all of subnet
arp -n | grep "00:1B:4C:22:28:B1" # Search cache for MAC address
http://programminglinuxblog.blogspot.com/2007/11/detecting-ip-address-from-mac-address.html
ip neigh flush all > /dev/null; # Clears out your arp cache
fping -c 1 -g -q 192.168.1.0/24 2> /dev/null; # pings all of subnet
arp -n | grep "00:1B:4C:22:28:B1" # Search cache for MAC address
http://programminglinuxblog.blogspot.com/2007/11/detecting-ip-address-from-mac-address.html