This is based on a tutorial from the University of Southampton (YouTube)

To enable eduroam
Open a terminal and type;
sudo leafpad /etc/network/interfaces
This will open the interfaces file in leafpad, edit this file to look something like below where we have set wlan0 to use wpa_supplicant
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and ‘man dhcpcd.conf’
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
Next, in a terminal type;
sudo leafpad /etc/wpa_supplicant/wpa_supplicant.conf
Edit this file as below
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
Reboot the pi and check that wifi is working and you’re connected via eduroam
  • Comments Off on How to get a Raspberry pi to use WiFi to connect to eduroam on a (UK) University Network

Setting up SSH and VNC on a Raspberry pi 3

13 Jan 2017 In: Personal

This is based on my experience with a Raspberry pi 3 running Raspbian Jessie.

Setup SSH
In Raspbian Jessie ssh may already be enabled by default but if not open a terminal and type
sudo raspi-config
select 7 Advanced Options
select A4 SSH
You’ll be asked if you want enable SSH Select Yes.
To find the IP address of you pi open a terminal and type:
hostname -I
On another computer open terminal(Linux) or command line in Windows, I’m using Ubuntu and type;
ssh pi@<YOUR Raspberry Pi IP ADDRESS>
It will prompt you for your password. NOTE: the default password for the user pi is raspberry, you can now change this.
Now install VNC Server on the Raspberry pi
Open Terminal, and type:
sudo apt-get install tightvncserver
To start VNC Server, type:
You’ll be asked to set a password to access the pi. You’ll need this when you try to access the pi from another computer.
To run VNCServer at Startup
You will normally want the VNC Server to run automatically after the Raspberry Pi reboots, open a terminal and type:
cd /home/pi
cd .config
mkdir autostart
cd autostart
Create a new autostart file for TightVNC by typing the following:
sudo leafpad tightvnc.desktop
This will open the default text editor (leafpad) with a blank file called tightvnc.desktop Edit the contents of the file with the following text:
[Desktop Entry]
Exec=vncserver :1
Connecting to Raspberry Pi via VNC
On another PC open Remina (or other VNC Client)
server address is IP-Address-of-Your-pi:1 (note :1 which defines display 1)
Username is pi
Password is: whatever you set for Tightvnc
You should now have a VNC connection to your pi.
This is all fine if you want to run the pi headless and administer it remotely but, if like me you want to run a pi with a monitor attached as a display sign for example then you will need to be able to display the same monitor output on both HDMI and VNC. Remember from above the pi was displaying session :0 and VNC displayed session :1
To achieve this I used X11VNC rather than TightVNC
Install X11VNC
Open a Terminal and type:
sudo apt-get install x11vnc
x11vnc -storepasswd
As with TighVNC before we need to set X11VNC to autostart in a terminal type:
cd /home/pi
cd .config
mkdir autostart [You can miss this step if you’ve already created the directory]
cd autostart
sudo leafpad x11vnc.desktop
Type the following text into the x11vnc.desktop file:
[Desktop Entry]
Exec=x11vnc -forever -usepw -display :0 -ultrafilexfer

Note: If you created an autostart file for TightVNC as above, then remember to either remove this file from the autostart directory or delete it, otherwise when you reboot your pi it will try and start both TightVNC and X11VNC.

You should now be able to connect to your Raspberry pi using your VNC client with the IP address of your pi (without the :1) and it should display the same output as the Rasperry pi HDMI monitor.


  • Comments Off on Setting up SSH and VNC on a Raspberry pi 3

Update: Google Play is now available in the UK. Here’s how to use it in Ubuntu. And here’s  a guide to tweaking the desktop app Nuvola.

Google Play, formerly Google Music is only available in the US at the moment presumably for licencing reasons. But it is possible to get it outside the US in a variety of ways. Basically you have to trick the Google Play site into thinking you are actually in the US so you can register with your normal Gmail account. There are numerous tutorial on the web detailing how to do this so I’m not going to repeat everything here, I’m just going to recount what I tried and what eventually worked for me.

I wanted to be able to access my music from my Android mobile with Google Play and upload my music to the cloud from my Ubuntu PC. To do this you’ll need the Play Music app for Android, but since it’s not available outside the US the easiest way to get it is from the xda-developers site, download to your phone then install the apk file following this method. To upload your music you need the Google Music Manager, there was a copy on the xda-developers site  but this was the Windows version so I decided to wait till I’d registerd with and download their Ubuntu 64bit version.

The simplest thing I tried first was some free proxy services like Hide My Ass and TunnelBear which effectively allows you to surf anonymously so web services cannot detect your true IP address. I tried a couple of these services but didn’t have any luck. I then followed the tutorial on which recommended using the Tor Browser Bundle. Tor sets up a secure internet connection for you and by using the browser (a modified version of FireFox) included you should be able to connect with Unfortunately everytime I tried this approach I got suck on the T&C agreement stage and the browser just seemed to hang there.

Finally I found an approach that did work, TunnelBear have just released an Android app to allow you to set up a secure connection and select whether you’re in the UK or US. By selecting US all sites you visit will believe you are actually in the US. next thing to do was open a browser and go to and sign in with my usual Gmail account details, agree to the T&C and bingo I had now registered .

Back on my PC and using my normal WiFi connection I logged into and proceeded to download the music manager which you’ll need to upload your music to the cloud.

So now all I have to do is spend ages uploading music to the cloud as it is by all accounts a very slow process.

  • Comments Off on How to get Google Play music in the UK for Ubuntu & Android

I’ve bought downloaded MP3s from Amazon on many occasions but was always annoyed to have to use their downloader so I was interested to find an open source alternative called Clamz in the Ubuntu 10.10 repositories. First install Clamz through Synaptic or sudo apt-get install Clamz if you prefer in a terminal.

Next, buy your MP3s on Amazon as you would normally, you will then be directed to a page telling you to download and install their downloader, assuming you don’t have it. Skip to the bottom of the page and look for the phrase “If you have already installed the latest Amazon MP3 Downloader, click here to enable it for use with this browser.” Click the link and now your browser should save the Amazon file in your Downloads directory.

As Clamz is a command line program you need to open a terminal and run the following command where ****** is the number sequence of the Amazon file.

clamz -d ~/Desktop AmazonMP3-******.amz
This will unzip the MP3s in the download to your Desktop.

I, like many people have the basic free version of Dropbox which provides a very useful 2Gb of cloud storage but with a few clicks you can increase this to 2.7Gb. Read the Lifehacker posts here and here. Recently the Dropbox team launched a scavenger hunt offering up to an additional 1Gb storage for free although this does require a bit more effort, unless you want to follow some of the walk throughs already posted.

If you don’t have a Dropbox account yet head over to Dropbox and sign up for the free 2Gb account then follow the Lifehacker tips above to get an additional few Mbs with a few clicks. Once done you can start the scavenger hunt by heading over to There are twenty nine steps in total and you cannot skip any unfortunately. have fun.

  • Comments Off on Get an additional 1.7Gb Storage Free from Dropbox

Dangerous Driving !

2 Jun 2010 In: cycling

I’m thoroughly hacked off by the inconsiderate and down right dangerous standard of driving in this country. I counted ten near misses on my bike in the last two days. Two out of three drivers seem to think passing a cyclist at 50/60 mph within 2 feet is OK and that overtaking on a blind bend with double continuous lines in the centre is fine. Most seem unaware of Highway code Rule 163, in fact some are clearly unaware of the Highway code. >:(

  • Comments Off on Dangerous Driving !

links for 2009-11-30

1 Dec 2009 In: Personal
  • Comments Off on links for 2009-11-30

links for 2009-11-25

26 Nov 2009 In: Personal
  • Comments Off on links for 2009-11-25

links for 2009-11-20

21 Nov 2009 In: Personal
  • Comments Off on links for 2009-11-20

links for 2009-11-17

18 Nov 2009 In: Personal
  • Comments Off on links for 2009-11-17

About this blog

This is the personal web site of Seòras, pronounced Shaw-russ, Gaelic for George. I'm from Aberdeen (Scotland),I'm a scientist, union activist, researcher, web designer, photographer, cyclist, hill walker, guitarist & father.