Tag Archives: raspberrypi

NOIP daemon autostart after system restart on Raspberry Pi (Raspbian)

This short tutorial shows how to setup noip daemon to run automatically after system restart. OS used is Raspbian 3.18.7+ on Raspberry Pi 1 B+ device. Already installed and configured noip is assumed.

1. Create file /etc/init.d/noip2. Should be owned by root with 755 permissions. Put the code from https://gist.github.com/rtrzebinski/863458ed5a176fa94a6b into this file.

$ sudo su
# cd /etc/init.d
# touch noip2
# chmod 755 noip
# vim noip

# ls -l noip2 
-rwxr-xr-x 1 root root 1038 Apr 19 10:48 noip2

2. Add script to run commands:

# update-rc.d /etc/init.d/noip2 defaults 90

3. Restart device

# sudo reboot

4. Check if noip is up after reboot

$ ps aux | grep noip
nobody    2071  0.0  0.3   2484  1700 ?        Ss   10:54   0:00 /usr/local/bin/noip2

Noip will now start after every system reboot.