NO-IP DynDNS Client configuration
INSTALLATION-STEPS
$ sudo apt-get install make
$ sudo apt-get install gcc
$ sudo reboot
$ sudo -s
$ cd /usr/local/src
$ wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
$ tar xf noip-duc-linux.tar.gz
$ cd noip-2.1.9-1/
$ make install
$ /usr/local/bin/noip2 -C
(Only if you haven't done the initial setup yet)
$ /usr/local/bin/noip2
HOW TO KILL THE NOIP2-PROCESS
KILL NOIP2-PROCESS
$ pgrep -l noip2
$ /usr/local/src/noip-2.1.9-1/noip2 -K [process-id]
HOW TO START NOIP2-PROCESS ON STARTUP (REBOOT)
SET UP STARTUP SCRIPT
$ sudo touch /etc/init.d/noip2
$ sudo chmod 755 /etc/init.d/noip2
$ sudo update-rc.d noip2 defaults
$ sudo nano /etc/init.d/noip2
Now fill the file with the following content:
#######################################################
#! /bin/sh
# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc
case "$1" in
start)
echo "Starting noip2."
/usr/local/bin/noip2
;;
stop)
echo -n "Shutting down noip2."
killproc -TERM /usr/local/bin/noip2
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
#######################################################
STARTING AND STOPPING NOIP2-PROCESS
START AND STOP NOIP2-PROCESS
$ sudo service noip2 start
$ sudo service noip2 stop
WARNING: The stop-command may only work if killproc-Package is installed
Killproc can be downloaded from ftp://ftp.suse.com/pub/projects/init