This is from the category „note for myself“. I use Raspberry Pis nearly on a daily base. Sometimes you have to setup a 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 -sn 192.168.1.0/24
This will list all network devices currently available within the same subnet. It will list all devices with IP and MAC address like in the following example:
Starting Nmap 7.80 ( https://nmap.org ) at 2020-05-10 22:16 CEST
Nmap scan report for fritz.box (192.168.0.1)
Host is up (0.00079s latency).
MAC Address: CC:CE:1E:XX
:XX:XX (AVM Audiovisuelles Marketing und Computersysteme GmbH)
Nmap scan report for YYYYYY.fritz.box (192.168.0.2)
Host is up (0.025s latency).
MAC Address: 24:92:0E:XX:XX:XX (Samsung Electronics)
Nmap scan report for 192.168.0.3
Host is up (0.0072s latency).
1 thought on “ Find Raspberry Pi in your network ”