Installing NoIP Client on Ubuntu 8.04

The very first thing that you want to do is to go to the No-IP website and create an account. I'm assuming that for the purposes of this document you all know how to do that. The important bits of information that you will need from this process is to know:
  1. Account Name (typically this is your email address)
  2. Password for No-IP
  3. Host Name configured in No-IP
Once you have setup an account and created your unique host name, open up Terminal (Applications > Accessories > Terminal) and start punching in the following:
sudo apt-get install no-ip
When the package is downloaded, you will want to create the configuration directory:
sudo mkdir /var/lib/noip2
Once the configuration directory is created, you'll need to create a configuration file:
sudo joe /var/lib/noip2/noip2.conf
and when Joe opens, just enter in a space and save and exit. That will create the dummy file and you'll be then able to run:
sudo noip2 -C
which will run the configuration for NoIP2.

First you will be prompted to enter in the interface that has an external connection. In my case, since I'm running noip from my Ubuntu router it has two interfaces, my external connection is on eth1.

You will be prompted to first enter in your Account Name. Remember this is your email address. Then you will be prompted to enter in your password and finally it will register your host that is registered to your no-ip account.

Once the wizard is complete you should be dropped back to your Terminal prompt. Now the question is how do you know that it's running? For this you will want to check your logs. Run the following:
cat daemon.log | grep noip
You should see something like the following:
george@otani:/var/log$ cat daemon.log | grep noip
May 11 09:42:38 otani noip2[11343]: v2.1.7 daemon started with NAT enabled
May 11 09:42:38 otani noip2[11343]: ****.servehttp.com was already set to xx.xx.xx.xxx.
The "****.servehttp.com' will be replaced with whatever you specified as your own host within the configuration wizard and the xx.xx.xx.xxx will be the IP address that should be your external WAN IP address. You can confirm this by opening your router administration and comparing what you see in the logs to what's listed there as your WAN address. Or you can visit a webpage that will tell you what your external IP address is.

1 comments:

Anonymous said...

You can convert sudo joe command on sudo touch. Touch command make a file what is empty.