Latest Posts

What is instup.exe and is it safe? Hacking of black, white and gray hat defined What it is and how to use it? HDG explains: how does GPS work? How To Clean a TV or Monitor Screen (The Right Way) 5 Best Firefox Privacy Add-ons for Online Safety How To Build Your Own Laptop Google Chrome Content Settings: A Full Guide How to Send a Fax from an iPhone or Android Smartphone Automatically Move, Delete, or Copy Files in Windows How to Delete Only Old Emails in Gmail CPU Processor Comparison – Intel Core i9 vs i7 vs i5 vs i3 How to Delete Your Google Search History – A Modern Guide 8 AI Assistants and What They Can Do For You How to Take Screenshots on Nintendo Switch Everything You Should Know About Power Banks How to Record a WhatsApp Video or Audio Call Ryzen 3900X vs Intel i9-9900K – Which CPU Is Truly Better? How to Make Your Social Media Accounts Private Freeware Versus Shareware – What’s The Difference?

Every device on a network has an Internet Protocol or IP address. The IP address is how you identify a specific device on your network among all others, much like a street or postal address. To connect to a device on your network, you need to know its IP address, which can sometimes be difficult to find.

This article explains how to get the IP address of a raspberry pi that is connected to your network. In some cases, your Pi’s IP address may be dynamic. That means it can change. If your Raspberry Pi’s IP address has changed, you’ll need a way to find out the new IP address. Since you may or may not have a screen connected to your Pi, we’ll walk you through a few ways to find your Pi’s IP address with and without a screen.

Finding Your Raspberry Pi’s IP With a Monitor and Keyboard Connected to the Pi

The easiest way to find your Pi’s IP address is to log into the Pi directly, regardless of whether you have an operating system with a GUI desktop installed.

If you have a Headless installation (not a Linux desktop)

If the operating system you have installed on your Pi does not include a GUI desktop, you can use the terminal window to search for the IP address of your Raspberry Pi.

  1. Log in to your Pi.
  2. Type ip a and press Enter
  1. The IP address appears in the following form: inet 192.168.xx
  2. In the example above, the Raspberry Pi is connected to the network via ethernet, so the IP address appears in the eth0 section. If it was connected via Wi-Fi, the IP address would appear in the wlan0 section.

If you have a Linux desktop

If you have a Raspberry Pi OS with Desktop installed on your Pi, you can easily find your Pi’s IP address by hovering your mouse over the network icon (two arrows) in the top right corner, next to the clock. An information panel will appear showing your Raspberry Pi’s network connections.

If your Pi is connected to the network via Ethernet, you will see the IP address of your Raspberry Pi after it eth0† In the image above, the IP address is 192.168.1.179. Ignore the slash and the numbers after it. (That’s what the submask tells you.) If your Pi is connected to your network via Wi-Fi, you’ll see your Pi’s address after wlan0

How to find your Pi’s IP address from a Windows computer on the same network

Here are a few easy ways to find your Pi’s IP address from another computer on the same network.

Use the Hostname command

Using the hostname command is a good way to discover your Raspberry Pi’s IP address from another computer on the same network.

  1. On a Windows computer that is on the same network as your Pi, launch the Command Prompt by typing cmd in the search box and press Enter
  2. In the command prompt window, type nslookup raspberry pie
  1. As you can see above, the nslookup command returned two results. The first is the gateway address (the address of your router) and the second is the IP address of your Raspberry Pi.
  2. Note: if the command “*** [NAME_OF_YOUR_NETWORK] can’t find raspberrypi: nonexistent domain” meaning the Pi is not on the same network, you made a typo in the command, or your computer doesn’t have access to query the DNS server.

Use the Ping command

Most network devices have the ping command enabled, and for the vast majority of Raspberry Pi OS graphics, ping is enabled by default. However, it is possible that ping commands are disabled on your Pi, so this method of identifying your Pi’s IP address is not guaranteed to work.

Using a ping command is like playing Marco Polo’s game. You shout “Marco” and your network device answers “Polo” and gives away its location.

  1. On a Windows computer that is on the same network as your Pi, launch the Command Prompt by typing cmd in the search box and press Enter
  2. In the command prompt window, type ping raspberry pie and press Enter
  1. In the screencap above you can see that the IP address is shown multiple times. If the ping command fails, the IP address it returns may still be correct, so see if it works.
  2. Note: If ping can’t find the Raspberry Pi on your network, you’ll get an error saying “Ping request could not find host raspberrypi. Please check the name and try again.” In that case, try one of the methods below.

How to Find Your Pi’s IP Address Using Third-Party Tools

Network scanner tools go through every possible IP address on your network and try to detect available hosts, such as your Raspberry Pi. Remember that these tools will only work if your computer or phone is on the same network (ie connected to the same router) as your Raspberry Pi.

Using Angry IP Scanner

Angry IP Scanner is an open source program by Anton Keks and is loved by many Raspberry Pi users. It is best to download Angry IP Scanner from his GitHub page. This way you know for sure that you get the latest release. This tool is available for Windows, Mac OS and Linux.

Install and run Angry IP Scanner on another computer on the same network as your Pi. This method has the advantage that each device on your network. Find the result with a hostname that starts with raspberry pie† Warning: Only run this tool if you own the network!

Use the Fing app on your smartphone

Fing is an app available for android and iPhone which scans your local network and displays the IP addresses of all devices on that network.

Running the Fing app will give you a list of all the devices on your network. Find the result starting with raspberry pieand your Pi’s IP address will be displayed.

Leave a Reply

Your email address will not be published.