Compile, Install, Configure and make start on boot the client in Raspbian

First sign up for a no-ip account in and create a hostname for your Raspberry Pi.

In your Raspberry Pi download the Linux client from, uncompress, compile and install it:

tar xzvpf noip-duc-linux.tar.gz
cd `find . -name "noip-[0-9]*"`
sudo make install

Once the client is installed it’s time to configure it by running this command:

sudo /usr/local/bin/noip2 -C

It will ask for your internet interface, login/email of your account at, your password, the domain you want to configure (if you only have one the client will take it by default) and the update interval (which you should leave it to 30). Now that the client is configured you can run it this way:

sudo /usr/local/bin/noip2

DNS records don’t work right away because they need some time to propagate, so you’ll have to wait a little bit. You can check if it works using the ping command:

PING (W.X.Y.Z) 56(84) bytes of data.
64 bytes from (W.X.Y.Z): icmp_req=1 ttl=64 time=0.203 ms

If you want to run the client at boot time (which you’ll probably want…) create an init.d script file in /etc/init.d/noip2 with this content:

#! /bin/sh

# Provides:          noip2
# Required-Start:    $syslog
# Required-Stop:     $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: client service

# . /lib/lsb/init-functions
case "$1" in
        echo "Starting noip2."
        echo "Shutting down noip2."
        killall noip2
        #killproc /usr/local/bin/noip2
        echo "Usage: $0 {start|stop}"
        exit 1

exit 0

Then give it executable permissions and update the rc.d scripts:

sudo chmod +x /etc/init.d/noip2
sudo update-rc.d noip2 defaults

Now you can reboot your Raspberry Pi and it will automatically update it’s ip at noip on boot.


You might also like

Make Raspbian run from an external USB hard drive or USB memory stick
Raspberry Pi can ONLY boot from the SD Card. If you want to use your Raspberry Pi from an external USB...
TP-Link TL-WN725N version 2 in Raspberry Pi
Version 2 of TP-Link TL-WN725N driver doesn't come by default in Raspbian so it won't work by just plug-ining...
Compile and install driver for TP-Link TL-WN725N version 2 in Raspbian
NOTICE! This module is now deprecated as for kernel >= 3.10.0. If you update with rpi-update the module...
Install Raspbian RAW image into an SD Card in Mac OS X
First download a Raspbian RAW image from here: Plug-in your SD...
Leave a comment ?


Leave a Comment