Tag Archives: Fedora

Starting Services on Boot with ntsysv on CentOS/RHEL/Fedora

ntsysv allows you to easily specify the scripts/services you want to automatically start on boot. For CentOS and RHEL users, you can easily install┬ántsysv using yum. This should work on Fedora too, as they are in the same boat as RHEL and CentOS. ntsysv is not available on Debian/Ubuntu natively, so this method of starting services won’t work.

yum install ntsysv

After you have installed it, run the ntsysv command.

ntsysv

You’ll be presented with a window that has a combination of red, blue, and gray.

Use the up/down arrow to navigate the list. Use the spacebar to check/uncheck a service. Use your tab to navigate to ‘Ok’ and ‘Cancel’. This part is mostly self explanatory.

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