If you are unable to access the RaspberryPi through a monitor, you can still check the IP address by pinging the router and checking for connected devices.
Now there are three ways to find the static IP address:
Method 1: Use a host device and ping command
1. You must ensure that you connect your host device (for example- your computer) to the same network as the Raspberry Pi.
2. Open the command prompt (Windows users)/ terminal (Linux users).
3. Run the following command:
This command works if you have not changed the default host name of the RPI. Incase you have, then type the command:
4. Finally hit enter after entering the command. Then you will see lines that resemble the ones below:
PING raspberrypi.local (192.168.1.38): 56 data bytes 64 bytes from 192.168.1.38: icmp_seq=0 ttl=255 time=2.618 ms
Method 2: using the terminal/CMD:
1. On your computer, type ipconfig (this is for Windows users) or ifconfig (this is for Linux users). Here you will see your own IP address along with the default gateway.
2. Go to the browser and enter the gateway you discovered; you will be sent to your router webpage. Here, it will ask for a password. This will sometimes be printed under your router model or in the papers they provide you upon purchase. If nothing works, try typing admin.
3. a multitude of options will be provided by the router. Check the section that shows the status of the device and devices connected to it.
4. if your RaspberryPi has been connected, then its name will be displayed as Raspberry.
Method 3: Use an app or a software to find the IP address
You can find the IP address using an app called Fing or Advanced IP scanner.
1. Connect the Pi to the Network. Then use an ethernet cable to connect the Raspberry Pi to the local network. WIFI is a great option as well
2. You can use Software’s like Advanced IP scanner and AngryIP scanner to ping a range of addresses and report the one that responds. You will then find device name- RaspberryPi against a particular IP address. That is the IP address that you’re looking for.
It is important to note here that you should connect your Pi to the same network as the software or app that you choose to use. You can connect the Pi to the modem through an ethernet cable.
Note: if you want to give your Raspberry Pi a static IP address, you can assign it one using the command: static ip_address=’ followed by the desired IPv4 address and the suffix ‘/24’
You can also check out the article on ‘DIY How to Setup Raspberry Pi in Headless mode.’