This is from the category „note for myself“. I use Raspberries Pis nearly on a daily base. Sometimes you have to setup an new one. If you do not have your standard image you use over and over again in the always same network you have to find out the IP address of your new Pi. Or you switched the network and didn’t set a fixed IP address.

The easiest way is the following small command line – make sure that in this example 192.168.1.* is you local network mask:

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

It will list you all network devices which have part „b8:27:eb“ in their MAC address, which is always part of the Raspberry network devices.


Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.