IPv6 | The Internet of Things

Installing gogo6 TSP client in Freebsd 8.2


Tunnel Setup Protocol (TSP RFC5572) is a signaling protocol to set up tunnel
   parameters between two tunnel endpoints.  TSP is implemented as a
   tiny client code in the requesting tunnel endpoint.  The other
   endpoint is the server that will set up the tunnel service.  TSP uses
   XML [W3C.REC-xml-2004] basic messaging over TCP or UDP.  The use of
   XML gives extensibility and easy option processing.

Method 1 with out ports system

Installing gogo6 TSP client in freebsd 8.2 is very straight forward.

1. Register for gogonet http://gogonet.gogo6.com and freenet6 account http://gogonet.gogo6.com/page/freenet6-account

2. Download the gogo6 TSP client, at the time of writing its version is 1.2 http://gogonet.gogo6.com/profile/gogoCLIENT

3. Extract the files.

4. Go to the Directory of the extracted files and type gmake platform=freebsd all, make did not work for me thats why I used gmake.

5.Install the compiled tsp client. make platform=freebsd installdir=/usr/local/gogoc install

6. goto /usr/local/gogoc/bin

7.edit the gogoc.conf. download the latest guide from here http://gogonet.gogo6.com/profile/gogoCLIENT.

8. just run /usr/local/gogoc/bin/gogoc and your good to go.

Method 2

Installing TSP Client (gogoc)

1.Go to /usr/ports/net/gogoc
2. type ''make install''
3. Goto http://gogonet.gogo6.com/page/freenet6-account and register for a freenet6 account.

4. copy the /usr/local/share/examples/gogoc/gogoc.conf.sample to /usr/local/etc/gogoc.conf
5. edit /usr/local/etc/gogoc.conf

in this example we are going to use router mode.
gogoc.conf file should contain

if_prefix=interface_name(em0, bge0 etc)

rc.conf file should contain


6. run /usr/local/etc/rc.d/gogoc start


Views: 1167

Tags: freebsd, router mode, tsp client router mode


You need to be a member of gogoNET to add comments!

Join gogoNET

Comment by kfahoo on February 3, 2012 at 6:48am

I'm aware of it ;] but still want to do so

Comment by ricardo baylon jr. on February 2, 2012 at 8:37pm

I dont recommend starting gogoc on startup, freenet6 servers always have issues, your pc will not boot completely until gogoc can connect or fail connecting which could take a lot of time. it is better to run gogoc after complete system startup or all services are started.

Comment by kfahoo on February 2, 2012 at 10:20am

that does not solve the issue...

for now I added '-y' to command_args variable in /usr/local/etc/rc.d/gogoc but that means I would have to edit this file after upgrade

Comment by ricardo baylon jr. on February 2, 2012 at 8:33am

if you need to run with -y option, run gogoc binary directly i.e gogoc -yf /path/to/config/file

-yf means, run gogoc in foreground(y) and specify the configfile(f)

Comment by kfahoo on February 1, 2012 at 7:02am

how to make gogoc run with '-y' as a service?

what should I add to /etc/rc.conf?


IoT Product Information

Fill out my online form.

© 2016   Created by gogo6.   Powered by

Badges  |  Report an Issue  |  Terms of Service