Tag Archives: RHEL

Setting Up CentOS/Fedora/RHEL with Tunnelbroker

Tunnelbroker allows users with only IPv4 access to access the internet via IPv6 via a tunnel, hence its name. To use Tunnelbroker, you will first need an account from their website. Make sure to use your IP address under IPv4 Endpoint and select the location closest to you for a lower latency.If you plan to use this tunnel on a remote server, choose the most relevant settings for that server.

After proceeding, you will have an IPv6 tunnel setup for you. Now, you will have to edit the configuration files.

To configure your computer/VPS to begin using the tunnel, edit the /etc/sysconfig/network file. You will need to add the following two lines. In some installs, you may have NETWORKING_IPV6=no, in which case you just change the no to the yes. This should be pretty self explanatory.

NETWORKING_IPV6=yes
IPV6_DEFAULTGW=<Server IPv6 Address without /64>

To complete configuring your computer to route IPv6 through tunnelbroker, you will have to create /etc/sysconfig/network-scripts/ifcfg-sit1, with the following content:

DEVICE=sit1
BOOTPROTO=none
ONBOOT=yes
IPV6INIT=yes
IPV6TUNNELIPV4=<Server IPv4 Address>
IPV6TUNNELIPV4LOCAL=<Client IPv4 Address>
IPV6ADDR=<Client IPv6 Address with /64>

For these changes to take effect, run the following command to restart your network.

service network restart

To test that IPv6 is working, you can ping one of the sites with IPv6 enabled (such as this site). Pinging IPv6 addresses use the ping6 command, rather than the traditional ping command.

ping6 www.fusionswift.com
ping6 ipv6.google.com
ping6 www.v6.facebook.com

Installing Firefox 7 on CentOS 5 and 6 and RHEL

Update: See newer post for instructions on installing Firefox/Thunderbird 10 on CentOS and RHEL.

As of writing, the latest version of Firefox for CentOS is 3.6.22, and the Mozilla team released version 7 of the Firefox browser earlier this week. Obviously, the CentOS repository is slightly behind in keeping Firefox updated. However, if you wish to upgrade to Firefox 7, the process is quite simple. This tutorial has been tested on CentOS 5 and 6, under both 32 bit and 64 bit.

Update: This has also been tested successfully on 64bit RHEL 6.

The installation process varies slightly based on whether you are using 32 bit or 64 bit.

Download Firefox

32 bit:

wget 'http://3347-mozilla.voxcdn.com/pub/mozilla.org/firefox/releases/latest/linux-i686/en-US/firefox-7.0.1.tar.bz2'

64 bit:

wget 'http://3347-mozilla.voxcdn.com/pub/mozilla.org/firefox/releases/latest/linux-x86_64/en-US/firefox-7.0.1.tar.bz2'

Unzip Firefox

tar xf firefox-7.0.1.tar.bz2

Move Firefox to the proper directory

32 bit:

sudo mv firefox /usr/lib/firefox-7.0

64 bit:

sudo mv firefox /usr/lib64/firefox-7.0

Modify the Firefox command to use the new version of Firefox

sudo perl -pi -e 's/3.6/7.0/g' /usr/bin/firefox

Clean up unnecessary files

rm -rf firefox-7.0.1.tar.bz2