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

The name of the pictureThe name of the pictureThe name of the pictureClash 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










share|improve this question

























    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










    share|improve this question























      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










      share|improve this question













      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 1 '15 at 16:36









      Kai7

      96




      96




















          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





          share|improve this answer






















          • That worked for me !
            – Nolan Conaway
            Mar 14 '17 at 15:45

















          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.






          share|improve this answer








          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.

















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            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






























            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





            share|improve this answer






















            • That worked for me !
              – Nolan Conaway
              Mar 14 '17 at 15:45














            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





            share|improve this answer






















            • That worked for me !
              – Nolan Conaway
              Mar 14 '17 at 15:45












            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





            share|improve this answer














            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






            share|improve this answer














            share|improve this answer



            share|improve this answer








            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
















            • 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












            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.






            share|improve this answer








            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.





















              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.






              share|improve this answer








              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.



















                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.






                share|improve this answer








                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.







                share|improve this answer








                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.









                share|improve this answer



                share|improve this answer






                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.



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    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













































































                    Popular posts from this blog

                    Peggy Mitchell

                    The Forum (Inglewood, California)

                    Palaiologos