NOIP is a free Dynamic DNS provider. Dynamic DNS is a system for allowing an Internet domain name (something.com) to be assigned to a dynamic (one that changes and is not always the same) IP address. Since the dynamic IP address changes, Dynamic DNS makes it possible for other computers on the Internet to establish connections to that machine without needing to know the actual IP address.
The IP address is tracked using No-IP.com’s Dynamic Update Client (DUC) software. When the address changes, the DNS record is automatically updated and connections made to the domain name get sent to the correct IP address regardless of what it’s changed to.
This is a short tutorial that will help you install noip client on your Raspberry Pi. Before we proceed you need to visit noip and register for an account. We will need the username & password during installation.
1. Create a directory for the installation
Open up the terminal and enter the following command.
Now navigate into the directory.
2. Download the software
We will first download the software & then install it.
Give it some seconds and the file will be downloaded.
3. Extracts the files
The file that is downloaded is a tar.gz file, to extract the contents run the following command.
tar vzxf noip-duc-linux.tar.gz
Enter the extracted directory
4. Compile & Install the software
Compile the source code using the make command
Once that is done without errors, install it
sudo make install
While it install’s the software you will prompted to enter the username & password. Once that is done it will ask you teh refresh interval … leave it.. to have the default value. You are required to answer some more questions … just ans NO an d you should be good to go.
5. Start the client
After all is set, it’s time to start the client.
That’s it. You have successfully configured the client on your Raspberry Pi. Now the only problem is that you need to start the client every time you restart the Pi. We need to automate that.
6. Auto start the client on reboot
To do this we need to make some changes in the rc.local file. Open it using the following command
sudo nano /etc/rc.local
Once the file is open, have a look at the last two lines
We will modify it by adding /usr/local/bin/noip2 in between the two. Have a look below
Save the file & we are done. Now to check if the process is already running or not, execute the command
sudo /usr/local/bin/noip2 -S
That’s it for now. Have a great day all !! bigsmile
Any issues, feel free to comment below….