Noip2 / No-IP2

From Useful Data
Jump to navigation Jump to search

No-IP2

Having set up No-IP2 to get a NextCloud server working, I found I needed noip2 to run at startup. The command needed is:

sudo /usr/local/bin/noip2 -c /usr/local/etc/no-ip2.conf

The web site for No-IP2 says "Read the README file in the no-ip-2.1.9 folder for instructions on how to make the client run at startup". Havng just read that, Omigod, no wonder I never set that up. What a nightmare. And searching for help online had lots of other people who could no get it working.

This sounds like a task for a Friday night.

Later...

What a world of pain. Too much to document, sadly. And I can't get the command to run on startup.

Useful command:

$ sudo /usr/local/bin/noip2 -S -d
1 noip2 process active.

Process 4549, started as noip2 -c /usr/local/etc/no-ip2.conf, (version 2.1.9)
Using configuration from /usr/local/etc/no-ip2.conf
Last IP Address set 151.101.192.81
Account unique-email@mydomain.co.uk
configured for:
	host  mywebsite.ddns.net
Updating every 59 minutes via /dev/wlx70f12d146651 with NAT enabled.

I did have it updating every 1200 minutes (20 hours) but overnight my IP address changed and meant NextCloud would be down until that was detected, so I've changed it to updating every 59 minutes.