-
Star
(214)
You must be signed in to star a gist -
Fork
(41)
You must be signed in to fork a gist
-
-
Save NathanGiesbrecht/da6560f21e55178bcea7fdd9ca2e39b5 to your computer and use it in GitHub Desktop.
# Simple No-ip.com Dynamic DNS Updater | |
# | |
# By Nathan Giesbrecht (http://nathangiesbrecht.com) | |
# | |
# 1) Install binary as described in no-ip.com's source file (assuming results in /usr/local/bin) | |
# 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file | |
# 3) Copy this file noip2.service to /etc/systemd/system/ | |
# 4) Execute `sudo systemctl daemon-reload` | |
# 5) Execute `sudo systemctl enable noip2` | |
# 6) Execute `sudo systemctl start noip2` | |
# | |
# systemd supports lots of fancy features, look here (and linked docs) for a full list: | |
# http://www.freedesktop.org/software/systemd/man/systemd.exec.html | |
[Unit] | |
Description=No-ip.com dynamic IP address updater | |
After=network.target | |
After=syslog.target | |
[Install] | |
WantedBy=multi-user.target | |
Alias=noip.service | |
[Service] | |
# Start main service | |
ExecStart=/usr/local/bin/noip2 | |
Restart=always | |
Type=forking |
Hello, how do I know the version that I have installed by NOIP? NOIP.SERVICE -V / NOIP2 -V, how would it be? thank you!
@tute123456 If you have the noip2
binary then you are running the old 2.x client. In the new 3.x client the binary is called noip-duc
. Try which noip2
and which noip-duc
to determine which one exists.
If you're on an apt-based system like Debian or Ubuntu you can find the version with dpkg -l 'noip*'
. On Fedora and possibly other rpm-based distributions the command may be like dnf list installed | grep -i noip
. I don't have a rpm-based system handy to verify.
@tute123456 If you have the
noip2
binary then you are running the old 2.x client. In the new 3.x client the binary is callednoip-duc
. Trywhich noip2
andwhich noip-duc
to determine which one exists.If you're on an apt-based system like Debian or Ubuntu you can find the version with
dpkg -l 'noip*'
. On Fedora and possibly other rpm-based distributions the command may be likednf list installed | grep -i noip
. I don't have a rpm-based system handy to verify.
Thank you, you could pass me a link for the installation of version 3.3, or if possible a guide to erase the old 2.x and install the new one, thank you very much!
Thanks, @felipealfonsog! That is very cool.