Finding your IP address

From ZynthianWiki
Revision as of 15:06, 13 January 2020 by Krakou (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Here's how to figure out which IP address has been assigned to your Zynthian box by your local network (router).

Try entering the following terminal/console command in a console/terminal/command prompt window of your computer:

arp -a

This will display a list of devices and IP addresses for things your computer know about on your local network. One of those is likely to be your Zynthian box.

Another technique is to do a portscan (just on port 80) of the entire local subnet (usually 192.168.0.x or 192.168.1.x)

Use the following commands to do this:

 nmap -p 80 192.168.1.0-255 
 nmap -p 80 192.168.0.0-255 

This will show you the IP addresses of all computers on your local net that have a running web server.

Now you can browse to http://xxx.xxx.xxx.xxx (where xxx.xxx.xxx.xxx represents the IP address of your Zynthian) and get the Zynthian web login screen.

Finding the ip address of a Raspberry Pi with keyboard and screen

You can temporarily plug in a USB keyboard/mouse and an HDMI screen (TV) to your Pi so you have a physical console.

Run the following command in a terminal:

ifconfig

and look for “inet addr” within all the stuff that spews onto the screen. If there is too much information for you to find your IP address, enter

ifconfig | less 

to limit the amount displayed, or

ifconfig | grep 'inet addr:' 

to only display the IP address.