gogoNET

IPv6 & Networking the Internet of Things

Coming soon.

Views: 6677

Reply to This

Replies to This Discussion

Hey, what about "coming soon" ??
If you want to setup IPv6 tunnel under Ubuntu you need to use tspc (tunnel setup protocol client) so you can browse IPv6 ready websites using IPv4.


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.

Configure tspc

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

userid=your-name
server=broker.freenet6.net
passwd=your-password

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

ifconfig tun

Test IPv6 connectivity using the following command

ping6 ipv6.google.com

ping6 www.kame.net

View Google.com IPv6 Address using the following command

host ipv6.google.com

You can use the following commands to start and stop tunnel

sudo /etc/init.d/tspc stop

sudo /etc/init.d/tspc start
THX, coming soon is here.
isn't tspc seriously outdated ? is there something that prevents people using gw6c instead of tspc with ubuntu ??
http://unquietwiki.blogspot.com/2009/10/go-go-dancing-on-internet-i... I've got a working configuration going using gw6c in Ubuntu Karmic.
GW6C quick install guide (for anon users) a quick few chnages and this will run as a router ;-)

Step 1:
Download and install Freenet
wget http://go6.net/4105/file.asp?file_id=150 -O go6.tar.gz
mkdir go6
cd go6
tar zxf ../go6.tar.gz
rm ../go6.tar.gz
sudo apt-get -y install libcurl4-openssl-dev openssl libcrypto++-dev libpthread-stubs0-dev build-essential
cd ./gw6c-messaging
make target=linux exportdir=../tspc-advanced export
cd ../gw6c-config
make target=linux exportdir=../tspc-advanced export
cd ../tspc-advanced
make target=linux all
sudo make target=linux installdir=/usr/local/gw6c install
cd ~
rm -r go6

Step 2:
Create config file
cd /usr/local/gw6c/bin
sudo rm gw6c.conf #If there are errors here, it's no problem.
sudo gedit gw6c.conf
Paste the following and save:
server=anon.freenet6.net
auth_method=anonymous
host_type=host
prefixlen=64
if_prefix=eth0
dns_server=208.67.222.222
gw6_dir=/usr/local/gw6c
auto_retry_connect=yes
retry_delay=30
keepalive=yes
keepalive_interval=30
tunnel_mode=v6anyv4
if_tunnel_v6v4=sit1
if_tunnel_v6udpv4=tun
if_tunnel_v4v6=sit0
client_v4=auto
client_v6=auto
template=linux
proxy_client=no
broker_list=tsp-broker-list.txt
last_server=tsp-last-server.txt
always_use_same_server=no
log_filename=gw6c.log
log_rotation=yes
log_rotation_size=32
syslog_facility=USER

Step 3:
Run Freenet
cd /usr/local/gw6c/bin
sudo ./gw6c
If you don't see any errors it should be fine. Wait a minute to give it start-up time and go to this page (http://go6.net/). If you see something like 'You are using IPv6', everything went fine!
I use the updated one:
wget http://go6.net/4105/file.asp?file_id=160 -O go6.tar.gz

and edit

gw6_dir=/go6l/gw6c

the result:
root@enigma:/go6/gw6c/bin# ping6 ipv6.google.com
PING ipv6.google.com(tx-in-x68.1e100.net) 56 data bytes
64 bytes from tx-in-x68.1e100.net: icmp_seq=1 ttl=56 time=389 ms
64 bytes from tx-in-x68.1e100.net: icmp_seq=2 ttl=56 time=390 ms
This write-up needs serious work! In attempting to install on Ubuntu Server 9.10 when following the steps I received numerous errors, mostly something not declared, when compiling at the first:

make target=linux exportdir=../tspc-advanced export

Not being a programmer there may be something missing on my box that need to be installed, but this write-up doesn't mention that. Perhaps the author needs to better define the requirements and/or build a vanilla box and test this out more thoroughly.
Try the gw6 client.
I have an Ubuntu 9.10 and installation gw6c fails.
here is the errors:
max@R510:~$ sudo aptitude install gw6c
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Lettura delle informazioni sullo stato esteso
Inizializzazione dello stato dei pacchetti... Fatto
I seguenti pacchetti NUOVI (NEW) saranno installati:
gw6c radvd{a}
0 pacchetti aggiornati, 2 installati, 0 da rimuovere e 0 non aggiornati.
È necessario prelevare 154kB di archivi. Dopo l'estrazione, verranno occupati 627kB.
Continuare? [Y/n/?] y
Scrittura delle informazioni sullo stato esteso... Fatto
Get:1 http://it.archive.ubuntu.com karmic/main radvd 1:1.2-1 [62,7kB]
Get:2 http://it.archive.ubuntu.com karmic/universe gw6c 6.0.1dfsg.1-4 [90,9kB]
Scaricato 154kB in 0s (196kB/s)
Selezionato il pacchetto radvd.
(Lettura del database... 160789 file e directory attualmente installati.)
Estrazione di radvd (da .../radvd_1%3a1.2-1_i386.deb)...
Selezionato il pacchetto gw6c.
Estrazione di gw6c (da .../gw6c_6.0.1dfsg.1-4_i386.deb)...
Elaborazione dei trigger per man-db...
Elaborazione dei trigger per ureadahead...
ureadahead will be reprofiled on next reboot
Configurazione di radvd (1:1.2-1)...
update-rc.d: warning: radvd start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (S 2 3 4 5)
Starting radvd:
* /etc/radvd.conf does not exist or is empty.
* See /usr/share/doc/radvd/README.Debian
* radvd will *not* be started.

Configurazione di gw6c (6.0.1dfsg.1-4)...
* Starting Gateway6 Client gw6c Failed to open specified file.
Last status context is: Configuration validation.
Finished.
[ OK ]

Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Lettura delle informazioni sullo stato esteso
Inizializzazione dello stato dei pacchetti... Fatto
Scrittura delle informazioni sullo stato esteso... Fatto

An idea to solve.
Thanks
i got an error message on ubuntu when i run /etc/init.d/tspc start


Setting up IPv6 tunnel: Status error 303 in tunnel negociation: 303 Unsupported tunnel mode


Error is 303: 303 is not defined as a client error, might be a TSP error?
TSP session done

RSS

Training

Product Information

Fill out my online form.

© 2014   Created by gogo6.

Badges  |  Report an Issue  |  Terms of Service