How to install NoIP DDNS client on Rasberry Pi

This article is for anyone who needs to install https://www.noip.com Dynamic DNS Update Client on Raspberry Pi.
1. Connect to Raspbian using PuTTY or other SSH client (i.e. ConnectBot on Android)
2. Download and install the client as follows:
cd /usr/local/src
sudo wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
sudo tar xzf noip-duc-linux.tar.gz
cd noip-2.1.9-1
sudo make
(if you encounter error make not found, try installing it with sudo apt-get install build-essential then retry sudo make)
sudo make install
3. Configure the client as follows:
sudo /usr/local/bin/noip2 -C
4. Start the client manually as follows:
sudo /usr/local/bin/noip2
5. If all successful, the IP address shown on https://www.google.com/search?q=myipaddress should match the IP address updated on https://www.noip.com
6. To automatically start the client on Raspbian reboot:
6.1. Edit rc.local file:
sudo nano /etc/rc.local
6.2. Type the followings before exit -0
# Start NoIP DDNS client
sudo /usr/local/bin/noip2
6.3. Press Ctrl-X followed by Y to save changes.
6.4. Reboot Raspberry Pi:
sudo shutdown -r now
6.5. Login and ensure the client is running (see Note).
Note:
a. To check if the client is running:
sudo /usr/local/bin/noip2 -S
b. Or use the following command to see all processes details running Raspbian:
ps aux

Comments

Popular posts from this blog

How to search Active Directory group members using Windows 10 built-in tools

How to check and reload PAC (Proxy Auto Configuration) file on Windows