Australian IPv6 Tunnel Broker

Redhatter from ##australia on Freenode, was kind enough to walk me through the steps of setting up AARNet IPv6 tunnel for my Linux router. I have been using Hurricane Electric tunnel service for awhile, and have been quite pleased with the speed of that. Basically all you have to do to set this up on linux is, head over to http://broker.aarnet.net.au/ and make an account, register for a tunnel (it might throw an error about not being able to create a tunnel, just ignore this…

Prefix publishing interface is the port that you will be creating for ipv6. I set mine to sit0.
Local endpoint IPv4 address is your global IP
Local endpoint tunnel interface is the interface you use to connect to the internet. I used ppp0.

Download gw6c, compile and install. Also make sure your kernel has all the right options. That can be found in the gw6c documentation.

Below is my configuration. Bold’ed values will need to be changed.

userid=mwheeler
passwd=password
server=broker.aarnet.net.au
auth_method=any
host_type=router
prefixlen=56
if_prefix=vlan2 # This is your interface you will sharing your ipv6 with..., eg, eth1
dns_server=ns1.theskorm.net:ns2.theskorm.net
gw6_dir=/opt/ #This has to be where you install gw6c client.
auto_retry_connect=yes
retry_delay=30
retry_delay_max=300
keepalive=yes
keepalive_interval=30
tunnel_mode=v6anyv4
if_tunnel_v6v4=sit1
if_tunnel_v6udpv4=tun
if_tunnel_v4v6=sit0
client_v4=218.214.124.179 #The same ip you put in when you registered for a tunnel
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_console=0
log_stderr=0
log_file=0
log_syslog=2
log_filename=gw6c.log
log_rotation_size=32
log_rotation_delete=no
syslog_facility=USER

Make sure you read through the config, and understand it. If you read the sample config provided it has comments for most things.

Once you have it configured, you can start the client. It shouldn’t say anything, and sit in the background. Have a look at ifconfig to see if an interface was created, and check netstat -r. If that all looks good try to use ping6 www.kame.net or ipv6.google.com. You should now have ipv6. Now try your computers, see if they got a proper address, and see if it can ping.

If you have any problems (I didn’t :) ) check the logs, or maybe try out wireshark.

Looking Back and Forwards

I thought I’d step back for a bit and reflect on the progress and success of my blog, after re-reading Jonathans 2008 New Year post.

Like Jonathan, I like to measure my personal success, not the amount off visits or clicks I get. What I was aiming to do, was have a constant flow of blog posts. At first I thought that was every second day, then every 3.5 days, and then eventually weekly, followed by monthly. What I realized is blog worthy information isn’t constant. It seems to follow the financial climate more than anything else, in the sense that blog worthy topics are typically new toys to show the Internet, and the like.

So for the last few months, my schedule has been some what random and based around life’s clock. That said, I still try to make an effort of finding something to blog about at least once a month. I still declare my blog as alive, and not dead, however slow or fast the updates be.

To me, I will call this blog dead when I feel that blogging is a chore, and not after 3 months on inactivity. Summing up, I have enjoyed writing these blog posts, and I am amazed at the amount of readers and subscribers to my blog. I’m hoping to keep this running until the end of this year and onwards. Lets see how this goes.

Statpress

Statpress is a wonderful, and you should try it out if you have a WordPress blog. I did find one bug with the search function which gives the following error…

Cannot load wp-statpress/statpress.php

The good news is that this is easily fixed, and is just a simple typo in the code. Attached you should find the patch file, or you can open up statpress.php and change line 819 to look like the following.
From
<input type=hidden name=page value='wp-statpress/statpress.php'>......
To
<input type=hidden name=page value='statpress/statpress.php'>......

And all should be good.

statspress.php.patch

OpenSUSE first thoughts

So I love gentoo, however on a desktop computer which I will using for Uni it was a little high maintenance. I wanted to try something new so I gave Fedora 11 a go, which failed, so a work mate got me a copy of OpenSUSE.

The hardest part of the install was working out it’s partitioning tool and not getting it to touch my second drive, which had Windows and backups on it. I did finally get it to work, but for some reason it thought 15GB was enough room for me. That’s not a huge problem because I just extended the LVM after the install.

Once install, installing the ATI drivers using the one click installer was wonderful (however I did have to click more than once). Compiz fusion was easy enabled and networking (WPA) was a breeze to setup in YaST. The general look and feel wasn’t quite right, so as usual I modified to my liking.

OpenSUSE for me has achieved my goal as the required amount of terminal use is minimal. I have installed several apps without any problems and it’s been wonderful to use.