Setting up a Raspberry Pi as an IPv6 gateway using Hurricane Electric.

First thing you’ll need to do is register at the Hurricane Electric Website and create your own tunnel. I’m not going to go over that since there’s a lot of help on the Hurricane Electric Website about it. These instructions only apply to you, after you’ve registered as a user, and set up your tunnel on their website.

Take a note of your Tunnel details from the Hurricane Electric website, you’ll need them to set up your Linux IPv6 Gateway. The IPv6 addresses are used for documentation purposes only, see RFC 3849 (no point showing everyone on the Internet my home IPv6 address range).

HE Server IPv4 Endpoint
Static IPv6 assignment from my routable range 2001:DB8:8:7aa::1
Client IPv6 Endpoint 2001:DB8:7:7aa::2

Ok first thing to do is enable IPv6 support on your raspberry pi, at the prompt type.

To make the change permanent, you will have to edit the modules file and have your pi load it at start-up (reboot). To do this edit the modules file, type the following.

Your modules file should look similar to this after to append the “ipv6” line at the end.

You need to edit /etc/network/interfaces and add your own data to the bottom of the file. Two bits of data, the first bit goes after your own network adaptor (usually eth0). and the second part after that.

  • Adding static IPv6 address from my routable range.
  • Adding the Hurricane Electric Tunnel interface (called he-ipv6)
  • Please note that the IP’s are on different networks.

The IPv6 and IPv4 setting below will of course be yours and not the ones I’ve made up for the purpose of showing how it’s done 🙂

Now we’ll deal with DNS, you have two options, you can either use your ISP’s DNS server and hope that it’s set up to deal with IPv6 resolution, or you can use free public recursive DNS servers. I’m going to use Google’s public recursive DNS servers which I know work.

To set this up, you’ll need to edit the /etc/resolv.conf file and add the DNS servers in. Type the following at the prompt.

Add the following and save.

Testing the Tunnel

Before we go any further, were going to bring the tunnel up and test it.

At the prompt, type the following.

To test, type the following.

You should get similar results to me.

If your results are similar to above then your raspberrypi is connected to the IPv6 Internet (Hurrah!) :-). If not then check your IPv6 settings and ask for help on the HE forum here.

Now we need to bring the interface down, we’ll bring it back up again after we’ve firewalled it.


Continue reading

Installing FreeNX server on 12.04 Precise Pangolin

I’m making the assumption that you have a working 12.04 installation that’s connected to the internet. 🙂

First, your going to add the freenx repository, then update. Followed by installing the freenx software.

Now tht you have the Freenx server installed, you will want to configure it to use the ubuntu-2d session for any Freenx clients. The ubuntu-3d session doesn’t work with  Freenx and will give you an error message “Failed to load session “gnome-fallback””.

All done, you should be able to connect using NoMachine’s free client. 🙂

Installation of FreeNX Server on Ubuntu 12.04 Precise Pangolin
How to Install FreeNX Server on Ubuntu 12.04 Precise Pangolin

Installing Amazon’s MP3 downloader on Ubuntu 10.04

Thanks to google and a few websites I managed to get Amazon’s MP3 downloader to work on my linux workstation at home.

It looks like Amazon’s Amazon MP3 application requires libboost 1.34, which is older than the version now included in Ubuntu 10.04. So the first thing that you need to do is download the earlier versions of the libraries.

Next, Install the libraries

At this point you can either delete the library files (since there now installed), or keep them in case Amazon doesn’t get round to updating there software (which I’m sure they will of course).

To delete the files from your drive, do the following

Once done, simply re-run the Amazon MP3 downloader and your good to go.

Ubuntu Forum
Hilltop Yodeller’s Website
Linux Mint Website

Backing up your DVD’s using Linux DVD::Rip

Just a reminder to myself really, these setting work fine for me and I use them to rip/backup DVD, also, it allows me to stream them via my PS3 to my telly and/or other PC’s in the house. Feel free to comment and/or give advice.

DVD ripping and transcoding with Linux
MPlayer the Movie Player
What Video Codec?? Divx4/5 Xvid ffmpeg
Encoding Tips

Realtek RTL8101E NIC dropped frames on Hardy Heron

I’m having a real problem with the built in network card on my home linux machine (currently running Ubuntu 8.04 LTS server or affectionately named Hardy Heron).

There’s a couple of proviso’s attached to this howto, the first one being that if Ubuntu release a new Kernel as an update, you may have to re-run this fix, or if the old Realtec driver (r8169) gets fixed in the new Kernel , you may want to unblacklist that module and run with that.

Current Kernel version:

The symtoms are:

  • Very bad download and upload speeds
  • Huge amounts of dropped RX packets

Output from ifconfig below:

Continue reading