Connect to Raspberry Pi

In this post:
Connect to RPi with an without monitor

There are several ways to accomplish this – it’s not intended to describe all of them (it is possible that in a future post will be described others, for example, via serial interface)

1)Connect the Raspberry Pi – with monitor:

With the RPi without being plugged -> introduce the SD card, connect the monitor, keyboard, mouse and the Ethernet cable.
Next, plug the RPi with the Micro USB Power Supply to the power grid.
If everything is OK, you will be prompt with the login menu:
– login: pi
– password: raspberry


2) Connect the Raspberry Pi – without monitor

This one can be tricky and depending on your current network, can be easier or not.

Note: connect your computer also with an Ethernet cable, this way your computer and RPi, will be in the same network.

2.1) If you are in a home network follow the next steps [easier way]:

– I followed the answer from Diego in this link source
– On the terminal :
ssh -X pi@raspberrypi (optional -X -> to run a graphical client through your SSH session)
login: pi
password: raspberry

“If this FAILS, try finding out what IP address is assigned to the Raspberry Pi. (For example, by using your browser to take a look at your modems website (if you don’t know where, you could try on:
Linux:on terminal write route
Windows:on terminal write ipconfig
Take note of the IP of the gateway, then write this IP in your browser

If you cannot find your gateway, you could try by guess and check (not recommended) the following IPs:
http://192,168.0.1/ or http://192,168.1.1/ or http://192,168.0.254/ or http://192,168.1.254/ or http://192,168.0.138/ or or or or or

Look up the device named something like raspberrypi and copy the IP address. Paste it into the command you tried from above where it now states raspberrypi and you’re good to go!”


2.2) If you are in a school network or in other type of network

Sometimes you cannot access the RPi by his hostname or access to the modem’s page to discover the IP.

In these cases I advice you to follow the guide in:

In summary (under Linux – I tested it):
-if not installed: apt-get install nmap
(maybe you require to write sudo in the beginning)
-discover your subnet: hostname -I
-Now use the nmap command with the -sn flag (ping scan) on the whole subnet range (use your IP address but change 4th part of the IP to 0). This may take a few seconds:

nmap -sn

After a while, you should see something like:
Nmap scan report for raspberrypi (
Host is up (0.0030s latency).

Now you can connect from the terminal using ssh to your RPi:
ssh -X pi@
login: pi
password: raspberry

Done 😉


  1. Appreciating the persistence you put into your site and in depth
    information you provide. It’s awesome to come across
    a blog every once in a while that isn’t the same out of
    date rehashed material. Fantastic read! I’ve saved your site and I’m including your RSS feeds to my Google account.


  2. Wonderful website. A lot of helpful information here.
    I’m sending it to a few pals ans additionally sharing in delicious.

    And naturally, thank you in your sweat!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: