Home Download Ubuntu

Install no-ip client from source on Ubuntu 9.10

Go to your home directory:

sudo cd ~

Download no-ip client:

wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz

Untar it:

tar xzf noip-duc-linux.tar.gz

Change directory to directory in which it was untared (my version is 2.1.9, so your folder may differ):

cd no-ip-2.1.9


sudo make

If the command above gives you some errors as you might not have GCC installed, you can install it by running first:

sudo apt-get install gcc

Make install:

sudo make install

It will ask you some question about the configuration of the client:

To start the program:

sudo /usr/local/bin/noip2

If we want to make it run every system start-up, we need to make a script:

sudo nano /etc/init.d/noip2

We enter the following:

#! /bin/sh
sudo /usr/local/bin/noip2

We exit the editor and make it executable:

sudo chmod +x /etc/init.d/noip2

Now we add it to system start-up:

sudo update-rc.d noip2 defaults

Useful command lines for no-ip client:

/usr/local/bin/noip2 -C                 configure a client
/usr/local/bin/noip2                    run a client
/usr/local/bin/noip2 -S                 display info about running clients
/usr/local/bin/noip2 -D pid             toggle the debug state for client pid
/usr/local/bin/noip2 -K pid             terminate client pid

All the commands available for noip client:

USAGE: noip2 [ -C [ -F][ -Y][ -U #min]][ -c file]
[ -d][ -D pid][ -i addr][ -S][ -M][ -h]

Version Linux-2.x.x
Options: -C               create configuration data
-F               force NAT off
-Y               select all hosts/groups
-U minutes       set update interval
-c config_file   use alternate data path
-d               increase debug verbosity
-D processID     toggle debug flag for PID
-i IPaddress     use supplied address
-I interface     use supplied interface
-S               show configuration data
-M               permit multiple instances
-K processID     terminate instance PID
-h               help (this text)

If you want to see if no-ip client is actually working, enter this in terminal:

sudo /usr/local/bin/noip2 -S

It should say 1 noip2 process active like this:

1 noip2 process active.

Process 1257, started as noip2, (version 2.1.9)
Using configuration from /usr/local/etc/no-ip2.conf
Last IP Address set
Account email@gmail.com
configured for:
host  domain.myftp.org
Updating every 30 minutes via /dev/eth0 with NAT enabled.

and the Last IP Address set should be your Ip adress, Account should be your email which you used when you have set up no-ip client, configured for: should be your no-ip.com subdomain you've choosen.
If some data is wrong, you should follow this tutorial to reconfigure your no-ip client


Magne said...

LOLLOLOLOLOLOLOLO Doesnt work at some places:( like the untarring, it needs to know the location (hard to find)

Speedy Gonzales said...

The untarring works if you changed the location to your home directory, where usually you have full permissions. You can untar it even to a different location, but you need to have read/write permissions.
And all the tutorials on this site are tested personally by me.

Jose said...

Thanks for the post. I was able to set up my web server with No-Ip from it.

Thanks again!

Rjordan said...

Already followed every related step, after rebooting my pc was unable to connect via remote desktop.
On the ubuntu pc where noip client was installed, do I have to see any icon showing that the service is running?
Or is there any command that will allow me to see if the service is up and running?

Speedy Gonzales said...

@Rjordan: I hope some steps didn't gave you some errors. I see that you have Ubuntu Desktop installed. I have Ubuntu server installed, but the installation is exactly the same.
To be able to see if no-ip client is up and running, i've write you some notes at the end of this tutorial. Just scroll the page up.

Castanho said...

I`m receiving "update-rc.d: warning: /etc/init.d/noip2 missing LSB information" while doing the step:
>sudo update-rc.d noip2 defaults

any clue?


YehudaY said...

the tar will NOT work because it is trying to find the file no-ip-duc-linux.tar.gz but the file name is noip-duc-linux.tar.gz. no "-" between the "noip"

Speedy Gonzales said...

I see it, changed it. Thanks!

nl1daj said...

Did it twice and it finally works!
Thanks for your tutorial!
At first time running i got an error like "No configuration file found" But after the second install it worked out fine.
Tanks again!

JaneLame said...

I just wanted to say thanks. This worked like a charm.

Speedy Gonzales said...

you're welcome!

dennis iversen said...

If someone would like to use a client written in PHP you can find on at the following URL:


Speedy Gonzales said...

Congrats on your php client! I hope your project will not be deleted. I would like to test it. http://github.com/diversen/noiphp

Javier Gómez said...

HELP PLEASE! I am writing the script but then you say "exit the editor" but how? if I write exit it just writes it down and if I close the terminal then I lose it

Speedy Gonzales said...

@Javier Gómez: After making the modifications, you have to press CTRL+X, then it will ask you "Save modiffied buffer ... ?". just hit Y then Enter.

Post a Comment