In this lesson, I will show you how to find the Raspberry Pi IP address on the network.
So what do we have for now?
Well, we have flashed the operating system into the SD card and now the Raspberry Pi has boot with
this SD card and it should be trying to connect to the wifi.
So now it should already be connected to the WiFi.
But the question is what's its IP address?
Without the IP address we cannot do anything.
And how to find the IP address of the Raspberry Pi?
Well, there are lots of different tools and I'm going to show you one tool here that works well.
And I chose this one because it's available for windows, Linux and also Mac OS.
Okay.
So the tool is called angry IP scanner.
You can just type that on Google and go to angry ip.org here and just find the download button.
So you can see you have the different instructions for windows, Mac OS and Linux.
If you are using Mac OS and Linux, you might have to install Java before, so actually not on Mac OS
anymore.
It's already included, but on Linux you will need to install Java.
So you have the instructions here.
And on windows here I'm on Windows so I can just select the Windows installer okay.
Includes Java and Runtime already.
Just select the Windows Installer and let's install this.
So lots of ads.
But let's just wait for the executable and let's install it okay.
You click on yes.
If you have a pop up.
Let's close that one.
Let's install.
Okay finish.
And then once again you can go on the search bar here.
Or just press the windows key and angry IP scanner enter.
And that's the tool that we are going to use.
So before we do anything once again and I can't repeat that enough, make sure that you are connected.
So here you can see my computer is connected to the network called your Wi-Fi network.
And this is also the network that I have set up for the Raspberry Pi.
So both my computer and the Raspberry Pi should be on the same network.
If it's not the case, then we won't find any IP address here.
So very important.
Now back to this tool.
So what do we have here.
Well we have the IP range that we want to scan okay.
If you click on the IP here so you have the hostname of your computer here.
If you click on that button you will see well you might have a lot or not a lot of stuff depends.
But you should see something with the Wi-Fi.
So what do I have here.
Well I have this network here 192 dot 168.
You might have the same two numbers first and then I have 203.
Okay.
That's the basically the mask for the network.
So what we want to do is we want to scan the addresses from 0 to 255 with those three first numbers.
Okay.
And of course this number here is going to be different for you because, well, you don't have the
same Wi-Fi network as the one that I have.
So by default it should already be good.
But just in case you can click here okay.
On the Wi-Fi here to get the correct network.
And then you can click on start.
Okay.
It's going to scan all the IP addresses here.
So it's going to take a few seconds a bit less than one minute depending on your computer.
So let's wait a bit.
Okay.
And it took 36 seconds for me.
I can see I have three hosts on my network.
So I'm going to click on close.
And then how to find them easily where you can just click on ping here and sort by ping.
Okay.
The first one is my laptop here.
And I have two other hosts here.
But you can see in the hostname.
So somehow I don't see Raspberry Pi in the hostname.
So since it's the first time that the Raspberry Pi is booting, I don't know, maybe the hostname is
not correctly displayed, so it should be one of those two to be sure.
What I could do is I'm just going to remove the power from the Raspberry Pi.
So not really something that we will do as a best practice.
Later on.
I will tell you exactly how to shut down the Raspberry Pi properly, but here I just removed the power
from the Raspberry Pi.
I'm going to scan again and discard.
Yes.
Okay, now you can see I have only two hosts on my network and I have.
So I still have my laptop here and I have the one that ends with 199.
So there was another one with 222.
That one should be the Raspberry Pi.
I'm just going to power the Raspberry Pi again.
Okay, so now it's powered on and I'm going to wait, maybe 30s to try again so that the Raspberry Pi
has the time to connect to the Wi-Fi.
Okay, so give it 30s one minute and then let's scan again.
Okay.
Scanning completed.
I have three hosts, so let's go.
Sort by ping again.
And you can see now this one is back.
So this is the IP address of my Raspberry Pi.
So in my case that's 192 168 203 and 222 for you of course it's going to be different.
And well, as you can see, this is not a perfect case scenario where you just scan and you have the
IP address directly with the host name Raspberry Pi.
Sometimes I guess it could work like this.
And I did a test previously where it was the case, but here somehow I don't have the hostname, so
I'm just letting this in the video to show you actually how you can make some tests and see which is
the Raspberry Pi IP address here.
If it still doesn't appear.
If you didn't find anything, well check again that your computer is connected to the correct Wi-Fi
network.
Maybe if you are using your smartphone as a hotspot, you can usually check.
So it depends on the brand and the kind of phone that you have, but you can usually check how many
devices are connected to your hotspot.
So if you see two devices, one is your computer, one is the Raspberry Pi.
You know that the Raspberry Pi is connected, but if you see only one device, then the Raspberry Pi
is not connected.
So if the Raspberry Pi is not connected, maybe try to pull it off and put it on again.
Wait some time, at least a few minutes, and then it could also be that you provided the wrong Ssid
and the wrong password when you configured the Pi on the SD card.
So there are many reasons why things could go wrong here, but if you correctly followed all the instructions
and you made no mistake, then you should be able to find the IP address.
And now that we have this, we will be able to connect to the Raspberry Pi with SSH and then to enable
VNC so we can have access to the Raspberry Pi desktop.