2012年9月17日 星期一

使用gogo6 Ubuntu Tunnel Broker

一、第一種方式

1.需要安裝gogoc:


sudo apt-get install gogoc


2.設定Tunnel Broker伺服器:

sudo vim /etc/gogoc/gogoc.conf


可以去IPv6日的網站上面找尋各大ISP Server,選擇你想要的。

楊大俠用Hinet 且不需要帳密為例子。



userid=
passwd=
auth_method=anonymous
server=tban.ipv6.hinet.net

3.修改完成後啟動gogoc:

sudo gogoc


二、第二種方式


1.下載 gogoc-1_2-RELEASE.tar.gz

請各位大大去google找尋載點吧,不然就到官網下載,因為現在官網載點要註冊,所以我提供了各位還是需要在註冊一次。

2.下載完成後解一下
tar xf gogoc-1_2-RELEASE.tar.gz

3. cd  gogoc-1_2-RELEASE


4.安裝
make platform=linux all sudo make platform=linux installdir=/usr/local/gogoc install 

/usr/local/gogoc這是安裝到哪邊的路徑,這部分是可以更改的。


5. cd /usr/local/gogoc/bin 也就是你安裝到的資料夾


6.修改gogoc.conf,跟方法一相同


sudo vim gogoc.conf



userid=
passwd=
auth_method=anonymous
server=tban.ipv6.hinet.net


7.執行
sudo ./gogoc

下面是我電腦的畫面喔!!!!


gogoCLIENT v1.2-RELEASE build Sep 16 2012-20:07:44
Built on ///Linux sampo-Aspire-One-753 2.6.38-15-generic-pae #61-Ubuntu SMP Tue Jun 12 19:32:42 UTC 2012 i686 i686 i386 GNU/Linux///
TSP version not supported by server: 2.0.2.
Failed to retrieve TSP capabilities.
Disconnected. Retrying.


8.ifconfig tun



tun       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet6 addr: 2001:b020:0:71::13b/128 Scope:Global
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1280  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:472 (472.0 B)  TX bytes:56 (56.0 B)


就有IPv6拉

若出現Failed to contact TSP listener at anonymous,就等待吧,據說是server忙碌中。