Picture

Samuel's Website

Install and configure No-IP client

Samuel Forestier — 15 March 2015
The following will show you how you could install No-IP client on Raspberry Pi.
First of all, download the archive which contained the client with:
$ wget http://www.noip.com/client/linux/noip-duc-linux.tar.gz
Next, extract, install, and launch the configuration script:
# tar vzxf noip-duc-linux.tar.gz
$ cd noip-2.1.9-1/
# make && make install
# /usr/local/bin/noip2
For now, we've to create the launching script of service:
#!/bin/sh
#Author: Horloge-Skynet
#Date: Begun 15/03/15
#Objective: Launch of NO-IP service.

case "$1" in

start)
/usr/local/bin/noip2
;;
stop)
killall noip2
;;
reload|restart)
$0 stop
$0 start
;;
*)

echo "Usage: $0 start|stop|restart|reload"
exit 1

esac
exit 0

### BEGIN INIT INFO
# Provides:          NOIP_Init
# Required-Start:    $all
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: NO-IP service
# Description:       Launch NO-IP service at the run
### END INIT INFO
... and move it into init directory:
# mv NOIP_Init /etc/rc0.d/
After a reboot, please make sure that the process noip2 is launched.