Raspberry Pi Synth – Remote Access Static IP – Part 2
If you haven’t got your Pi setup, it might be worth having a read of:
Accessing the Pi through the TV or HDMI requires you have have a mouse and keyboard plugged into the Raspberry Pi. While many of you may have a spare mouse and keyboard around, it makes good sense and practicality to remote into your Pi from your main PC.
As you can see below, I have to access my Pi from a laggy TV Tuner plugged into my PC which is then buffered by VLC. It’s very laggy and takes a few seconds for keyboard presses to be registered, but it will allow me to at least set up remote access.
The first part of getting remote access is to have an ethernet connection to your Pi. This can be done via an Ethernet cable into your computer.
But first we must setup an IP address for the Raspberry Pi.
when you’re logged in, type into the command line interface.
sudo nano /etc/network/interfaces
This tutorial will assume the Raspberry Pi is directly plugged into the Ethernet port of the PC and not a network switch or hub. Setup the IP address of your PC’s ethernet interface to something like:
Gateway: 192.168.222.1 (IP Address of Internet Router)
If you’re using a laptop with a WiFi connection to a broadband router of some sort, you can bridge the WiFi and ethernet interface. Do this by selecting both the WiFi and Ethernet Adapter under
“Control Panel -> Network & Sharing Centre -> Change Adapter Settings” and then right click and select “Bridge connections”
Once bridged, your Raspberry Pi will appear on your Local Network. By default the Pi is configured to DHCP IP. While configuring the Pi it’s easier to remote into it if it has a static IP
$ sudo nano /etc/network/interfaces
iface eth0 inet static
Press Ctrl+X, and save it with Y and then hit Enter to save.
You can check the Pi’s IP address if you type:
You’ll note that the changes won’t have taken effect. You need to restart the eth0 interface by typing
$ sudo ifdown eth0
$ sudo ifup eth0
To remote into our Pi we need an SSH (Secure Shell) Client, such as PuTTY. Download it here:
Direct Download Link: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
Setup Putty with the following settings.
Great! Now we’ve logged into the Pi using SSH. We can now disconnect the keyboard and the TV screen, because we practically have all we need. The next step is to get the Graphical Interface setup. To do this, we’ll need to install on our Windows Machine the Xming X Window server.
Download it from here:
Double click on the Xming-6-9-0-31-setup.exe and install it.
Don’t launch Xming yet, because there are some options which will make life easier. Navigate to the Xming installation folder and run Xlaunch, Select Single Window and set the screen size resolution with the extra command:
-screen 0 1024×768+0+0@1
You’ll want to do this otherwise things will appear all over the place. You can then save the configuration and run it later so the settings are saved.
Because we have bridged the Ethernet and WiFi connection, the Raspberry Pi should also be able to access the internet and ping http://www.google.com.
Now on the command line in Putty, you can type midori and start browsing the web from your PC using your Pi. If you want the desktop interface you can use the command
You might get a few error messages, but if everything is working you should see something like this.
Congrats! You now have full remote access to your Pi!
The next part will be about getting the sound system setup in the Pi, it can get a little hairy, and you will need to make sure you’ve successfully completed Part 1 and 2 because we need to make sure our Pi has Internet access and a working SSH’ed Forwarded X11 connection!