Skip to content

Instantly share code, notes, and snippets.

@teopost
Last active August 20, 2017 12:37
Show Gist options
  • Save teopost/637a330cefaa058e098211ee52da1889 to your computer and use it in GitHub Desktop.
Save teopost/637a330cefaa058e098211ee52da1889 to your computer and use it in GitHub Desktop.
# Method 1
sudo nmap -sP 192.168.1.2-255 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'
# Method 2
arp -na | grep -i b8:27:eb
# Method 3
for i in $(jot - 1 254); do ping -t 1 192.168.1.$i && arp -a | cut -f 2,4 -d " " | tr [:lower:] [:upper:] | grep B8:27:EB; done
# Method 4
Pi Finder: http://ivanx.com/raspberrypi/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment