Created
August 3, 2018 09:13
-
-
Save lewiswalsh/2b5f3b87649a60c8aa4db23e15204f9c to your computer and use it in GitHub Desktop.
Find raspberry pi on the network
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arp -a | findstr b8-27-eb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo nmap -sP 192.168.1.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment