Go to noip’s dynamic update client for ubuntu (noip2)
follow directions up through making:
You will be able to install No-IP.com’s DUC on Ubuntu in just a few minutes with Terminal.
Once you have opened your Terminal window, log in as the “root” user. You can become the root user from the command line by entering “sudo -s” followed by the root password on your machine.
#cd /usr/local/src/
cd ~/Downloads
wget http://www.noip.com/client/linux/noip-duc-linux.tar.gz
tar xf noip-duc-linux.tar.gz
cd noip-2.1.9-1/
sudo make install
select the appropriate interface, like eth0
You will then be prompted to log in with your No-IP account username and password.
Note: 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 proceed.
As root again (or with sudo) issue the below command:
You will then be prompted for your No-IP username and password, as well as the 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 that the client is installed and configured, you just need to launch it. Simply issue this final command to launch the client in the background:
Improved instructions for installing as a service, from here:
Create the file /etc/systemd/system/noip2.service with the following content (and drop your init.d scripts):
cat <<EOT | sudo tee /etc/systemd/system/noip2.service
[Unit]
Description=No-ip.com dynamic IP address updater
After=network.target
After=syslog.target
[Service]
Type=forking
ExecStart=/usr/local/bin/noip2
Restart=always
[Install]
WantedBy=default.target
EOT
Then issue
sudo systemctl daemon-reload
sudo systemctl enable noip2
sudo systemctl start noip2
sudo systemctl status noip2
Other Useful commands:
sudo systemctl stop noip2
sudo systemctl disable noip2