![]() ![]() Personally I like to use NoIP’s dynamic DNS services. This tutorial explains how to install the NoIP DUC on a RaspberryPi running a Raspbian based distribution, but it will work on Ubuntu or any other Debian based distribution as well. You should execute all of the commands below as superuser. Execute the following commands:Īpt-get install build-essential python-setuptoolsĮasy_install killproc Step 2: Download and install the DUC software You will need some software to install and run the DUC software.Īs not to have to put sudo in front of all of them, it’s best to log in as root or switch to root with sudo su. Next you will have to download and install the DUC software itself. The following commands will download and install the software: The software has to be built from source code, which is why we installed build-essential. The commands above will first remove any previous source downloads for NoIP you might have had. rootubuntu:/usr/local/src tar xf Change directory to the folder: rootubuntu:/usr/local/src cd noip-2.1.9-1/ rootubuntu:/usr/local/src/noip-2.1. Next it downloads the sources for the software and installs it. After installing it should immediately start the configuration wizard, which you can always restart using the command “ /usr/local/bin/noip2 -C“. The configuration wizard will ask for your NoIP account details, as well as the host you want to be using. When it asks if you want to run anything on an update, you should probably just enter “No”. Step 3: Running the DUC software on startupīy default, the DUC software will not start when you reboot your system. sudo mkdir /etc/no-ip 2.) Create a config file. This will vary for other distros) Make sure root has execute permissions on the script, read permissions on the config file, and write permissions to the log file. Update the values in the script, particularly interface, user, pass, and hostname. This is where killproc comes in, which we installed earlier. Method 2: Linux Service (written for Debian-based distros. What we have to do now is set up an init script. The following refers to this approach for running no-ip. Previous to the no-ip package becoming available in Debian you would download the noip2 client that you run on your local machine. We’re going to be using a simple script, as is described in the software’s readme file, with a slight alteration to make it work on our distribution. A Dynamic DNS service is provided by No-IP.After signing up for the free service, perhaps with a hostname of, you can install no-ip. Installing the service is simple to do, and requires little knowledge of Linux.You will need to create a directory for the client software to be installed. Update-rc.d noip2 defaults Step 4: Reboot Execute the following commands to install it and set it up: I have the script uploaded on my webserver, so you can just download it to your drive. How to Install the Linux Dynamic Update Client on Ubuntu.You’re all done now, so you can reboot the system now and when it boots up, the NoIP DUC software should be running. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |