1.4 KiB
1.4 KiB
title | date | url | layout | category |
---|---|---|---|---|
Install and configure No-IP client | 2015-03-15 | install-and-configure-no-ip-client | post | Hacking |
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 :
{% highlight bash %} $ tar vzxf noip-duc-linux.tar.gz $ cd noip-2.1.9-1/ $ make && sudo make install $ sudo /usr/local/bin/noip2 {% endhighlight %}
For now, we've to create the service running script :
{% highlight bash %} #!/bin/sh
Author: Horloge-Skynet
Date: Begun 2015-03-15
Objective: Run a 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
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
{% endhighlight %}
... and move it into init directory :
# mv NOIP_Init /etc/rc0.d/
After a reboot, please make sure that the process noip2
is running.