Hi there
as i am setting up my server under mageia 3
Here is a little wiki to setup noip at startup with mageia
Setting up No-IP and Setup it to Autostart
Step 1
1. You have to install noip
for i386
ftp://fr2.rpmfind.net/linux/epel/5/i386 ... 5.i386.rpm
for 64
ftp://ftp.pbone.net/mirror/atrpms.net/e ... x86_64.rpm
Step 2
2. Just open the file with the installer
Step 3
3. Then you have to setup noip with your account
3.1 Open terminal
3.2 run "su"
3.2 run "noip2 -C"
3.3 follow the instruction
Step 4
4. run "sudo dolphin &"
4.1 navigate to "\etc\init.d\" with dolphin explorer and look for noip
4.2 open noip with text editor (Kate for example)
4.3 copy the given script on it (replace present one) ... i made a script to work with mageia 3

4.4 save and run "chmod 0755 /etc/init.d/noip"
- Code: Select all
#!/bin/sh
#
# chkconfig: - 99 80
# description: Starts and stops the no-ip.com Dynamic dns client daemon
#
# pidfile: /var/run/noip.pid
#
# Written by intika and tested on Mageia 3
#
# 01-07-2013
#
# Source function library.
if [ -f /etc/init.d/functions ] ; then
. /etc/init.d/functions
elif [ -f /etc/rc.d/init.d/functions ] ; then
. /etc/rc.d/init.d/functions
else
exit 0
fi
DAEMON=noip2
# Avoid using root's TMPDIR
unset TMPDIR
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
RETVAL=0
start() {
if [ $(pgrep noip2) != '' ] ; then
echo "no-ip client daemon already started" && exit 0
fi
echo -n $"Starting no-ip client daemon: "
daemon /usr/bin/$DAEMON -c /etc/no-ip2.conf &&
echo
RETVAL=$?
return $RETVAL
}
stop() {
if [ $(pgrep noip2) != '' ] ; then
echo -n $"Stopping no-ip client daemon: "
killproc $DAEMON -TERM
kill $(pgrep noip2)
echo
RETVAL=$?
else
echo "no-ip client daemon is not running" && exit 0
fi
return $RETVAL
}
restart() {
stop
start
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
condrestart)
[ $(pgrep noip2) != '' ] && restart || :
;;
reload)
echo -n $"Reloading $prog: "
#killproc $DAEMON -HUP
kill $(pgrep noip2)
RETVAL=$?
echo
;;
status)
status $DAEMON
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|stop|restart|condrestart|reload|status}"
exit 1
esac
exit $?
Step 5
5. Check/add that the service to autostart when linux start
5.1 run "systemctl enable noip.service"
5.2 run "chkconfig --add noip"
5.3 run "chkconfig --level 01237 noip off"
5.4 run "chkconfig --level 456 noip on"
Step 6
6. Reboot.
Info :
That's it

you have now noip auto starting and updating your host

Note 1 :
After 3 or 5 minutes the command "sudo systemctl status noip.service" will show
"Active: failed (Result: timeout)" it's normal don't worry the ip will still be updated, to check if no ip is still running use "sudo noip -S"
Timeouts apply to all init script operations in systemd. While on SysV
systems a hanging init script could freeze the system on systemd all
init script operations are subject to a timeout of 5min.
http://www.freedesktop.org/wiki/Softwar ... tibilities
Note 2 :
To start the service : service "sudo noip start" or "sudo systemctl start noip.service"
To check if noip is running : sudo noip -S
To check service state : sudo systemctl status noip.service