Howto Configure IPv6 Tunnel in Ubuntu
Connecting to the IPv6 Internet requires either a native connection or the cooperation of a friendly server to provide you with a tunnel.Tunnel Server Protocol Client (tspc), is a daemon to automate the setup and maintenance of an IPv6 tunnel. This client will connect to any migration broker which uses Hexago's implementation.
Install tspc in ubuntu
sudo aptitude install tspc
This will complete the installation.
You can get free IPv6 access form freenet6 register freenet6 account from here to obtain username and password.
The default configuration file is located at /etc/tsp/tspc.conf. Open file using a text editor using the following command
sudo gedit /etc/tsp/tspc.conf
You need to provide username, password and hostname registered at Freenet6
userid -- Yourid
passwd -- yourPassWord
server -- broker.freenet6.net
Search, userid, server, and passwd variable in file and set them as follows
Save and close the file. Restart tspc service using the following command
sudo /etc/init.d/tspc restart
Testing your IPv6 Connections
Use the following command to see your tunnel IPv6 address
Test IPv6 connectivity using the following command
View Google.com IPv6 Address using the following command
You can use the following commands to start and stop tunnel
sudo /etc/init.d/tspc stop
sudo /etc/init.d/tspc start
Thanks for this guide.
However, I had some problems implementing it on Ubuntu Hardy on my MacBook as when I completed the installation/config as you describe (and I installed the Gateway6 5.1 Source Code (Linux/Unix/Darwin/BSD) as is recommended in the email I received after registering with go6. Note that this is not straightforward as the .tar.exe file needs to be renamed to tar.gz before compiling).
In any event, after I had followed all of the steps and tried
I get this error
tun: error fetching interface information: Device not found
Any suggestions what’s up with this?
… same problem, same error message on Hardy as Paul mentioned
Worked a treat – thanks.
Works fine for me. But if i want to use the IPv6 for Sabnzbd I must everytime put “sudo tspc” in the terminal to activate it. I want to automate it, but I don’t know how.
In regards to Manankanchu and Paul’s issue, the problem is that the tap/tun module isn’t running. To start it, just run the following:
sudo modprobe -i tun
To have it load it every time the computer starts up, run this command:
sudo echo “tun” >> /etc/modules
Note: If you decide not to use IPv6, it’s not necessary to remove the tun/tap module.
Not able to find this with apt-get or aptitude but did find some other config options.
Is this outdated?
Instead of tspc (now deprecated), see “gogoc”