noip2 can't update my IP address correctly after computer reboot

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I want to set up a server with using no-ip DDNS service.
I follow this guide, but it can't update my IP address after reboot
the following message is command # noip2 -S
1 noip2 process active.
Process 501, started as noip2, (version 2.1.9)
Using configuration from /usr/local/etc/no-ip2.conf
Last IP Address set 0.0.0.0
Account XXX@XXXXXX
configured for:
host XXXXXX.noip.me
Updating every 30 minutes via /dev/ppp0 with NAT enabled.
after I login and command # service noip2 restart
it can update my IP address.
How can I correct it ?
My OS is debian 8
debian ip init-script
add a comment |Â
up vote
0
down vote
favorite
I want to set up a server with using no-ip DDNS service.
I follow this guide, but it can't update my IP address after reboot
the following message is command # noip2 -S
1 noip2 process active.
Process 501, started as noip2, (version 2.1.9)
Using configuration from /usr/local/etc/no-ip2.conf
Last IP Address set 0.0.0.0
Account XXX@XXXXXX
configured for:
host XXXXXX.noip.me
Updating every 30 minutes via /dev/ppp0 with NAT enabled.
after I login and command # service noip2 restart
it can update my IP address.
How can I correct it ?
My OS is debian 8
debian ip init-script
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to set up a server with using no-ip DDNS service.
I follow this guide, but it can't update my IP address after reboot
the following message is command # noip2 -S
1 noip2 process active.
Process 501, started as noip2, (version 2.1.9)
Using configuration from /usr/local/etc/no-ip2.conf
Last IP Address set 0.0.0.0
Account XXX@XXXXXX
configured for:
host XXXXXX.noip.me
Updating every 30 minutes via /dev/ppp0 with NAT enabled.
after I login and command # service noip2 restart
it can update my IP address.
How can I correct it ?
My OS is debian 8
debian ip init-script
I want to set up a server with using no-ip DDNS service.
I follow this guide, but it can't update my IP address after reboot
the following message is command # noip2 -S
1 noip2 process active.
Process 501, started as noip2, (version 2.1.9)
Using configuration from /usr/local/etc/no-ip2.conf
Last IP Address set 0.0.0.0
Account XXX@XXXXXX
configured for:
host XXXXXX.noip.me
Updating every 30 minutes via /dev/ppp0 with NAT enabled.
after I login and command # service noip2 restart
it can update my IP address.
How can I correct it ?
My OS is debian 8
debian ip init-script
debian ip init-script
asked May 1 '15 at 16:36
Kai7
96
96
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
I experienced the same error, IP 0.0.0.0 and working after manual service restart.
To fix this I simply put a delay for the script to run the client (and update the IP-address) with 'sleep 10' after 'start)' - line.
#! /bin/sh
# /etc/init.d/noip2.sh
# Supplied by no-ip.com
# Modified for Debian GNU/Linux by Eivind L. Rygge <eivind@rygge.org>
# corrected 1-17-2004 by Alex Docauer <alex@docauer.net>
# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc
DAEMON=/usr/local/bin/noip2
NAME=noip2
test -x $DAEMON || exit 0
case "$1" in
start)
echo -n "Starting dynamic address update: "
sleep 10
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
stop)
echo -n "Shutting down dynamic address update:"
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
echo "noip2."
;;
restart)
echo -n "Restarting dynamic address update: "
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
*)
echo "Usage: $0 start"
exit 1
esac
exit 0
That worked for me !
â Nolan Conaway
Mar 14 '17 at 15:45
add a comment |Â
up vote
0
down vote
Old post but I encountered the same issue (0.0.0.0 in Last IP).
The thing that worked for me was to RTFM and just add 2 rules INPUT and OUTPUT for port 8245 TCP in my iptables.
hope it'll help someone.
New contributor
n0vitch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
I experienced the same error, IP 0.0.0.0 and working after manual service restart.
To fix this I simply put a delay for the script to run the client (and update the IP-address) with 'sleep 10' after 'start)' - line.
#! /bin/sh
# /etc/init.d/noip2.sh
# Supplied by no-ip.com
# Modified for Debian GNU/Linux by Eivind L. Rygge <eivind@rygge.org>
# corrected 1-17-2004 by Alex Docauer <alex@docauer.net>
# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc
DAEMON=/usr/local/bin/noip2
NAME=noip2
test -x $DAEMON || exit 0
case "$1" in
start)
echo -n "Starting dynamic address update: "
sleep 10
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
stop)
echo -n "Shutting down dynamic address update:"
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
echo "noip2."
;;
restart)
echo -n "Restarting dynamic address update: "
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
*)
echo "Usage: $0 start"
exit 1
esac
exit 0
That worked for me !
â Nolan Conaway
Mar 14 '17 at 15:45
add a comment |Â
up vote
1
down vote
I experienced the same error, IP 0.0.0.0 and working after manual service restart.
To fix this I simply put a delay for the script to run the client (and update the IP-address) with 'sleep 10' after 'start)' - line.
#! /bin/sh
# /etc/init.d/noip2.sh
# Supplied by no-ip.com
# Modified for Debian GNU/Linux by Eivind L. Rygge <eivind@rygge.org>
# corrected 1-17-2004 by Alex Docauer <alex@docauer.net>
# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc
DAEMON=/usr/local/bin/noip2
NAME=noip2
test -x $DAEMON || exit 0
case "$1" in
start)
echo -n "Starting dynamic address update: "
sleep 10
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
stop)
echo -n "Shutting down dynamic address update:"
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
echo "noip2."
;;
restart)
echo -n "Restarting dynamic address update: "
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
*)
echo "Usage: $0 start"
exit 1
esac
exit 0
That worked for me !
â Nolan Conaway
Mar 14 '17 at 15:45
add a comment |Â
up vote
1
down vote
up vote
1
down vote
I experienced the same error, IP 0.0.0.0 and working after manual service restart.
To fix this I simply put a delay for the script to run the client (and update the IP-address) with 'sleep 10' after 'start)' - line.
#! /bin/sh
# /etc/init.d/noip2.sh
# Supplied by no-ip.com
# Modified for Debian GNU/Linux by Eivind L. Rygge <eivind@rygge.org>
# corrected 1-17-2004 by Alex Docauer <alex@docauer.net>
# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc
DAEMON=/usr/local/bin/noip2
NAME=noip2
test -x $DAEMON || exit 0
case "$1" in
start)
echo -n "Starting dynamic address update: "
sleep 10
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
stop)
echo -n "Shutting down dynamic address update:"
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
echo "noip2."
;;
restart)
echo -n "Restarting dynamic address update: "
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
*)
echo "Usage: $0 start"
exit 1
esac
exit 0
I experienced the same error, IP 0.0.0.0 and working after manual service restart.
To fix this I simply put a delay for the script to run the client (and update the IP-address) with 'sleep 10' after 'start)' - line.
#! /bin/sh
# /etc/init.d/noip2.sh
# Supplied by no-ip.com
# Modified for Debian GNU/Linux by Eivind L. Rygge <eivind@rygge.org>
# corrected 1-17-2004 by Alex Docauer <alex@docauer.net>
# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc
DAEMON=/usr/local/bin/noip2
NAME=noip2
test -x $DAEMON || exit 0
case "$1" in
start)
echo -n "Starting dynamic address update: "
sleep 10
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
stop)
echo -n "Shutting down dynamic address update:"
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
echo "noip2."
;;
restart)
echo -n "Restarting dynamic address update: "
start-stop-daemon --stop --oknodo --retry 30 --exec $DAEMON
start-stop-daemon --start --exec $DAEMON
echo "noip2."
;;
*)
echo "Usage: $0 start"
exit 1
esac
exit 0
edited Mar 28 '16 at 18:46
answered Mar 28 '16 at 18:35
Dan Ãstergren
112
112
That worked for me !
â Nolan Conaway
Mar 14 '17 at 15:45
add a comment |Â
That worked for me !
â Nolan Conaway
Mar 14 '17 at 15:45
That worked for me !
â Nolan Conaway
Mar 14 '17 at 15:45
That worked for me !
â Nolan Conaway
Mar 14 '17 at 15:45
add a comment |Â
up vote
0
down vote
Old post but I encountered the same issue (0.0.0.0 in Last IP).
The thing that worked for me was to RTFM and just add 2 rules INPUT and OUTPUT for port 8245 TCP in my iptables.
hope it'll help someone.
New contributor
n0vitch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
0
down vote
Old post but I encountered the same issue (0.0.0.0 in Last IP).
The thing that worked for me was to RTFM and just add 2 rules INPUT and OUTPUT for port 8245 TCP in my iptables.
hope it'll help someone.
New contributor
n0vitch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Old post but I encountered the same issue (0.0.0.0 in Last IP).
The thing that worked for me was to RTFM and just add 2 rules INPUT and OUTPUT for port 8245 TCP in my iptables.
hope it'll help someone.
New contributor
n0vitch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Old post but I encountered the same issue (0.0.0.0 in Last IP).
The thing that worked for me was to RTFM and just add 2 rules INPUT and OUTPUT for port 8245 TCP in my iptables.
hope it'll help someone.
New contributor
n0vitch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
n0vitch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 26 mins ago
n0vitch
1
1
New contributor
n0vitch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
n0vitch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
n0vitch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f199886%2fnoip2-cant-update-my-ip-address-correctly-after-computer-reboot%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password