How to find Raspberry Pi using MAC address

When you want to find your headless but networked Raspberry Pi and you’re lazy like me use nmap:

sudo nmap -sP | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'

Mask /24 means that addresses from to will be searched. You can extend that to /16 if you don’t know subnet of your device.


0 responses to “How to find Raspberry Pi using MAC address”

  1. […] previously posted a note about finding Raspberry Pi without knowing it’s ip address. Well, basically it’s the […]