How to Install the Dynamic Update Client on Linux
After setting up a no-ip account this is necessary if you don't have a static IP from your ISP.
This guide will walk you through the installation and setup of the Dynamic Update Client (DUC) on a computer running Linux. If you are using Ubuntu or Debian Linux please check our support site for guides on their specific setup.
If you are using Ubuntu Linux, please click here.
Installing the Client
The below commands should be executed from a terminal window (command prompt) after logging in as the “root” user. You can become the root user from the command line by entering “sudo su -” followed by the root password on your machine.
Note: If you do not have privileges on the machine you are on, you may add the “sudo” command in front of steps (5 and 6).
- cd /usr/local/src
- wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
- tar xzf noip-duc-linux.tar.gz
- cd no-ip-2.1.9
- make
- make install
If you get “make not found” or “missing gcc” then you do not have the gcc compiler tools on your machine. You will need to install these in order to procede.
To Configure the Client
As root again (or with sudo) issue the below command:
- /usr/local/bin/noip2 -C (dash capital C, this will create the default config file)
You will then be prompted for your username and password for No-IP, as well as which hostnames you wish to update. Be careful, one of the questions is “Do you wish to update ALL hosts”. If answered incorrectly this could effect hostnames in your account that are pointing at other locations.
Now the client is installed and configured, you just need to launch it. Simply issue this final command to launch the client in the background:
- /usr/local/bin/noip2
Read the README file in the no-ip-2.1.9 folder for instructions on how to make the client run at startup. This varies depending on what Linux distribution you are running.
REf: http://www.noip.com/support/knowledgebase/installing-the-linux-dynamic-update-client/
No comments:
Post a Comment