Find ip of raspberry pi without monitor or keyboard
In this tutorial, I will show you how to find ip of raspberry pi without a monitor or keyboard. When setting up headless raspberry pi we need to find the IP address if we don’t have a monitor or keyboard. In this tutorial, I will show you several ways to find the IP address of the raspberry pi. So let’s get started.
Requirements
- Raspberry Pi 3 (You can buy it from here)
- Mac, Windows & Linux System
Read Also: How to enable ssh on raspberry pi without a monitor/keyboard
Connect Raspberry Pi to network
Firstly, connect raspberry pi to the router using LAN cable or use this tutorial to connect raspberry pi to Wifi without a monitor.
After connecting it to network go to your Computer and open Terminal (Mac or Linux) and Command Prompt on Windows and try to execute the following command.
$ arp -na
? (192.168.1.7) at b8:27:eb:d0:34:15 on en0 ifscope [ethernet]
$ arp -na | grep b8:27
After executing the command you will get above output and you can see the IP address of the raspberry pi.
Read Also: How to connect raspberry pi to wifi without a monitor
Using nmap
This is the second method to find the ip address of the raspberry pi. We need to install nmap before this. I am using a Mac OS X so I will install it with brew.
brew install nmap
In Linux:
apt-get install nmap
or
yum install nmap
After installing nmap you need to execute the following command. You can replace subnet range with your subnet range.
nmap -sn 192.168.1.0/24
You will get output something like this.
Host is up (0.0010s latency).
Nmap scan report for raspberrypi (192.168.1.7)
So the IP address of raspberry pi is 192.168.1.7
If you have any issues using this tutorial please feel free to comment below.
Leave a Reply