Remote Connections

After initial setup, you can run your RP in 'headless' mode, meaning that the RP is not connected to a monitor.

SSH (Secure Shell)

This is a command line utility that allows us to interact with the RP's terminal. To connect to the RP we need to know its network or IP address.

Every computer connected to a network is assigned a unique address of the form xxx.xxx.xxx.xxx knows as its IP (Internet Protocol) address.

Hover over the wifi icon to reveal the IP address (this will change every time the RP connects)

We can also access it from the terminal:

Terminal Icon

by typing ifconfig and looking at the address under wlan0

In OSX open the terminal application and connect using the username pi with the code below, replacing the ip address with the RP's

ssh pi@10.0.0.106

type yes when prompted to continue connecting

Once connected, we can look around the RP's file system using the ls (look-see) command

We can find out the path of our current location by using the pwd command where we should see that we are in the home directory of the user called pi:

See the terminal section for more information

VNC (Virtual Network Computing)

VNC allows you to remotely view the RP's desktop on your own machine. There are lots of VNC software packages out there. We will use RealVNC - download and install it from here:

Open VNC Viewer and create a New Connection

Enter the RPs IP address in the VNC Server input box and give the connection a name:

Click OK and enter the username pi password atticlab

Click ok and the RP desktop should load

Last updated

Was this helpful?