Finding Your IP Address - mech-soluitons-ltd/Control-Application GitHub Wiki
Here are a few ways you can locate your IP Address
If you have a HDMI cable connected to your Raspberry Pi, you can simply login with the default username pi
and password raspberry
then type in ifconfig
.
-
If you are using ethernet look for the IP under
ETH0
-
If you are using WiFi look for the IP in
WLAN0
. -
Multiple entries can show if you are connected to both Wifi and Ethernet, take whichever you prefer.
-
It usually starts with
192.168.x.xx
If you only have one Raspberry Pi on the network, you could simply ping the Raspberry Pi with your computer.
The default hostname that you ping will be raspberrypi.local
, if you flash the Cloud3DPrint image or the Raspbian Image, it will use the default hostname. You can also set the hostname before flashing in the Raspberry Pi Imager by pressing ctrl+shift+x
to open up advanced config.
-
Open start menu and type
cmd
to open a command prompt -
Type
ping raspberrypi.local
and look for the IP address like shown below. Keep this for later use.
If you get a long string with colons (e.g. fd41:ed98:25f7:7596:23d4) then add a -4
at the end of the command. This will only work on Windows.
ping raspberrypi.local -4
If you can't connect your Pi to a screen with HDMI you will need to have access to your router or a computer to run a few commands to determine your Raspberry Pi IP address.
You can check out the guide below for various methods to determine your Pi's IP address without connecting to a screen.
If you have access to your router, you can find your IP by looking at the devices on the router.
- Open start menu and type
cmd
to open a command prompt - Type
ipconfig
and look for the address in Default Gateway, here it is192.168.0.1
If you are on mac, open up spotlight with
cmd+space
and type inTerminal
, then type inroute -n get default
Windows Command Prompt
Mac Terminal
- Go to this address in a browser
- Login to your router (The default login for most routers is
username: admin
password: admin
but this can vary, check your modem/router box or instruction manuals if needed)
-
Look for the raspberry pi in the network devices, try to navigate around to find it. If not, consult a user manual for your router.
We have identified the pi using
192.168.0.100
on the network, we will keep this for later use.
There are a few mobile apps that you can download to help you locate your IP Address
Go to 'Discovery' tab
- Look for devices named Raspberry Pi
Go to 'LAN' tab
- Look for devices named Raspberry Pi
Other apps that perform similar functions will work as well. Note that iOS has some restrictions as it cannot scan for MAC address, WiFiman will not work on iOS since it will show up as 'Generic' instead of 'Raspberry Pi'