What does NetworkManager-wait-online.service do?Ubuntu 15.04 network manager causing slow bootUbuntu 18.04 Slow Boot TimeHow to stop NetworkManager?NameHasNoOwner warning at NetworkManagerNetworkManager errorOpenVPN working from CLI but not via NetworkManager GUIA start job is running for wait for network to be configured. Ubuntu server 17.10NetworkManager sets nameserver to 127.0.1.1NetworkManager-wait-online.service FailedDogged persistence of NetworkManagerNetworkManager not runingNetworkManager not updating /var/run/networkmanager/resolv.conf

Why is a LCAO necessary within Hartree Fock?

Are these "wild" blackberry bushes?

How do I give a darkroom course without negs from the attendees?

When will the number of stars be a maximum?

Can you just subtract the challenge rating of friendly NPCs?

Select list elements based on other list

What happened to the British convicts transported to America after the American Revolution?

If an enemy monster charms one PC and tells them to attack a second PC, and then the second PC charms the monster, what happens?

How to deal with employer who keeps me at work after working hours

call() a function within its own context

What calendar would the Saturn nation use?

If quadruped mammals evolve to become bipedal will their breast or nipple change position?

How to make a kid's bike easier to pedal

Why doesn't increasing the temperature of something like wood or paper set them on fire?

Was there a dinosaur-counter in the original Jurassic Park movie?

shebang or not shebang

My large rocket is still flipping over

Antivirus for Ubuntu 18.04

What's the 2-minute timer on mobile Deutsche Bahn tickets?

Why is the blank symbol not considered part of the input alphabet of a Turing machine?

Setup Cron to pkill -f

why it is 2>&1 and not 2>>&1 to append to a log file

My C Drive is full without reason

Why is the episode called "The Last of the Starks"?



What does NetworkManager-wait-online.service do?


Ubuntu 15.04 network manager causing slow bootUbuntu 18.04 Slow Boot TimeHow to stop NetworkManager?NameHasNoOwner warning at NetworkManagerNetworkManager errorOpenVPN working from CLI but not via NetworkManager GUIA start job is running for wait for network to be configured. Ubuntu server 17.10NetworkManager sets nameserver to 127.0.1.1NetworkManager-wait-online.service FailedDogged persistence of NetworkManagerNetworkManager not runingNetworkManager not updating /var/run/networkmanager/resolv.conf






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








15















NetworkManager-wait-online.service fails at boot and it delays my startup










share|improve this question






















  • Waits for the network to come online.

    – Soren A
    Mar 23 '18 at 14:48

















15















NetworkManager-wait-online.service fails at boot and it delays my startup










share|improve this question






















  • Waits for the network to come online.

    – Soren A
    Mar 23 '18 at 14:48













15












15








15


1






NetworkManager-wait-online.service fails at boot and it delays my startup










share|improve this question














NetworkManager-wait-online.service fails at boot and it delays my startup







network-manager 17.10






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 23 '18 at 14:46









Sandeep CSandeep C

3161215




3161215












  • Waits for the network to come online.

    – Soren A
    Mar 23 '18 at 14:48

















  • Waits for the network to come online.

    – Soren A
    Mar 23 '18 at 14:48
















Waits for the network to come online.

– Soren A
Mar 23 '18 at 14:48





Waits for the network to come online.

– Soren A
Mar 23 '18 at 14:48










3 Answers
3






active

oldest

votes


















15














Some code runs off the network



In some multi-user environments the part of the boot-up process can come from the network. For this case systemd defaults to waiting for the network to come on-line before certain steps are taken.



Majority of Desktop Users



Unlike some multi-user environments most Ubuntu desktop users have the Operating System and driver code on their hard disks, SSDs or Live Boot USBs.



There is a glitch where some users wait an extremely long time for network to come up during boot and one of the recommendations is to set the maximum wait time to 30 seconds. A better way is to simply disable the service, especially when you aren't using the Internet all the time and just want to get to work on your spreadsheets or documents, etc.



For most users 10 to 15 seconds can be sliced off the parallel boot time by using:



sudo systemctl disable NetworkManager-wait-online.service


Then, after you sign on you will likely get a message bubble stating you've now been connected to the network (WiFi or Ethernet access to Internet).






share|improve this answer























  • Is it needed if I use a wireless keyboard and mouse as input to my system (works with a wireless receiver adapter plugged into USB port)?

    – Nikhil
    Jun 15 '18 at 15:10






  • 1





    No its not needed for USB.

    – WinEunuuchs2Unix
    Jun 15 '18 at 15:11











  • @Also , if I use a bluetooth keyboard and mouse, will it be needed (I am considering buying one)?

    – Nikhil
    Jun 15 '18 at 15:15






  • 1





    Bluetooth is often embedded in WiFi card so I'm not sure on that one.

    – WinEunuuchs2Unix
    Jun 15 '18 at 17:37











  • Any idea why this service would still show up in systemd-analyze even after it has been disabled?

    – damluar
    Jan 1 at 0:39


















4














From the man page:



NAME

systemd-networkd-wait-online.service, systemd-networkd-wait-online -
Wait for network to come online





share|improve this answer






























    0














    It appears that this service simply waits, doing absolutely nothing, until the network is connected, and when this happens, it changes its state so that other services that depend on the network can be launched to start doing their thing.



    So, it appears that this service is absolutely benign, it does not waste any time during boot, and it actually constitutes an optimization, so you are only going to make things worse if you disable it.



    (Services that need the network will start before the network is up, at a time when many other services are also starting up and contention is high, and these services will be unable to do anything useful, so they will just keep retrying to connect to the network, until the network finally comes up.)






    share|improve this answer























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "89"
      ;
      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',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      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%2faskubuntu.com%2fquestions%2f1018576%2fwhat-does-networkmanager-wait-online-service-do%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      15














      Some code runs off the network



      In some multi-user environments the part of the boot-up process can come from the network. For this case systemd defaults to waiting for the network to come on-line before certain steps are taken.



      Majority of Desktop Users



      Unlike some multi-user environments most Ubuntu desktop users have the Operating System and driver code on their hard disks, SSDs or Live Boot USBs.



      There is a glitch where some users wait an extremely long time for network to come up during boot and one of the recommendations is to set the maximum wait time to 30 seconds. A better way is to simply disable the service, especially when you aren't using the Internet all the time and just want to get to work on your spreadsheets or documents, etc.



      For most users 10 to 15 seconds can be sliced off the parallel boot time by using:



      sudo systemctl disable NetworkManager-wait-online.service


      Then, after you sign on you will likely get a message bubble stating you've now been connected to the network (WiFi or Ethernet access to Internet).






      share|improve this answer























      • Is it needed if I use a wireless keyboard and mouse as input to my system (works with a wireless receiver adapter plugged into USB port)?

        – Nikhil
        Jun 15 '18 at 15:10






      • 1





        No its not needed for USB.

        – WinEunuuchs2Unix
        Jun 15 '18 at 15:11











      • @Also , if I use a bluetooth keyboard and mouse, will it be needed (I am considering buying one)?

        – Nikhil
        Jun 15 '18 at 15:15






      • 1





        Bluetooth is often embedded in WiFi card so I'm not sure on that one.

        – WinEunuuchs2Unix
        Jun 15 '18 at 17:37











      • Any idea why this service would still show up in systemd-analyze even after it has been disabled?

        – damluar
        Jan 1 at 0:39















      15














      Some code runs off the network



      In some multi-user environments the part of the boot-up process can come from the network. For this case systemd defaults to waiting for the network to come on-line before certain steps are taken.



      Majority of Desktop Users



      Unlike some multi-user environments most Ubuntu desktop users have the Operating System and driver code on their hard disks, SSDs or Live Boot USBs.



      There is a glitch where some users wait an extremely long time for network to come up during boot and one of the recommendations is to set the maximum wait time to 30 seconds. A better way is to simply disable the service, especially when you aren't using the Internet all the time and just want to get to work on your spreadsheets or documents, etc.



      For most users 10 to 15 seconds can be sliced off the parallel boot time by using:



      sudo systemctl disable NetworkManager-wait-online.service


      Then, after you sign on you will likely get a message bubble stating you've now been connected to the network (WiFi or Ethernet access to Internet).






      share|improve this answer























      • Is it needed if I use a wireless keyboard and mouse as input to my system (works with a wireless receiver adapter plugged into USB port)?

        – Nikhil
        Jun 15 '18 at 15:10






      • 1





        No its not needed for USB.

        – WinEunuuchs2Unix
        Jun 15 '18 at 15:11











      • @Also , if I use a bluetooth keyboard and mouse, will it be needed (I am considering buying one)?

        – Nikhil
        Jun 15 '18 at 15:15






      • 1





        Bluetooth is often embedded in WiFi card so I'm not sure on that one.

        – WinEunuuchs2Unix
        Jun 15 '18 at 17:37











      • Any idea why this service would still show up in systemd-analyze even after it has been disabled?

        – damluar
        Jan 1 at 0:39













      15












      15








      15







      Some code runs off the network



      In some multi-user environments the part of the boot-up process can come from the network. For this case systemd defaults to waiting for the network to come on-line before certain steps are taken.



      Majority of Desktop Users



      Unlike some multi-user environments most Ubuntu desktop users have the Operating System and driver code on their hard disks, SSDs or Live Boot USBs.



      There is a glitch where some users wait an extremely long time for network to come up during boot and one of the recommendations is to set the maximum wait time to 30 seconds. A better way is to simply disable the service, especially when you aren't using the Internet all the time and just want to get to work on your spreadsheets or documents, etc.



      For most users 10 to 15 seconds can be sliced off the parallel boot time by using:



      sudo systemctl disable NetworkManager-wait-online.service


      Then, after you sign on you will likely get a message bubble stating you've now been connected to the network (WiFi or Ethernet access to Internet).






      share|improve this answer













      Some code runs off the network



      In some multi-user environments the part of the boot-up process can come from the network. For this case systemd defaults to waiting for the network to come on-line before certain steps are taken.



      Majority of Desktop Users



      Unlike some multi-user environments most Ubuntu desktop users have the Operating System and driver code on their hard disks, SSDs or Live Boot USBs.



      There is a glitch where some users wait an extremely long time for network to come up during boot and one of the recommendations is to set the maximum wait time to 30 seconds. A better way is to simply disable the service, especially when you aren't using the Internet all the time and just want to get to work on your spreadsheets or documents, etc.



      For most users 10 to 15 seconds can be sliced off the parallel boot time by using:



      sudo systemctl disable NetworkManager-wait-online.service


      Then, after you sign on you will likely get a message bubble stating you've now been connected to the network (WiFi or Ethernet access to Internet).







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Mar 23 '18 at 23:35









      WinEunuuchs2UnixWinEunuuchs2Unix

      49.5k1198190




      49.5k1198190












      • Is it needed if I use a wireless keyboard and mouse as input to my system (works with a wireless receiver adapter plugged into USB port)?

        – Nikhil
        Jun 15 '18 at 15:10






      • 1





        No its not needed for USB.

        – WinEunuuchs2Unix
        Jun 15 '18 at 15:11











      • @Also , if I use a bluetooth keyboard and mouse, will it be needed (I am considering buying one)?

        – Nikhil
        Jun 15 '18 at 15:15






      • 1





        Bluetooth is often embedded in WiFi card so I'm not sure on that one.

        – WinEunuuchs2Unix
        Jun 15 '18 at 17:37











      • Any idea why this service would still show up in systemd-analyze even after it has been disabled?

        – damluar
        Jan 1 at 0:39

















      • Is it needed if I use a wireless keyboard and mouse as input to my system (works with a wireless receiver adapter plugged into USB port)?

        – Nikhil
        Jun 15 '18 at 15:10






      • 1





        No its not needed for USB.

        – WinEunuuchs2Unix
        Jun 15 '18 at 15:11











      • @Also , if I use a bluetooth keyboard and mouse, will it be needed (I am considering buying one)?

        – Nikhil
        Jun 15 '18 at 15:15






      • 1





        Bluetooth is often embedded in WiFi card so I'm not sure on that one.

        – WinEunuuchs2Unix
        Jun 15 '18 at 17:37











      • Any idea why this service would still show up in systemd-analyze even after it has been disabled?

        – damluar
        Jan 1 at 0:39
















      Is it needed if I use a wireless keyboard and mouse as input to my system (works with a wireless receiver adapter plugged into USB port)?

      – Nikhil
      Jun 15 '18 at 15:10





      Is it needed if I use a wireless keyboard and mouse as input to my system (works with a wireless receiver adapter plugged into USB port)?

      – Nikhil
      Jun 15 '18 at 15:10




      1




      1





      No its not needed for USB.

      – WinEunuuchs2Unix
      Jun 15 '18 at 15:11





      No its not needed for USB.

      – WinEunuuchs2Unix
      Jun 15 '18 at 15:11













      @Also , if I use a bluetooth keyboard and mouse, will it be needed (I am considering buying one)?

      – Nikhil
      Jun 15 '18 at 15:15





      @Also , if I use a bluetooth keyboard and mouse, will it be needed (I am considering buying one)?

      – Nikhil
      Jun 15 '18 at 15:15




      1




      1





      Bluetooth is often embedded in WiFi card so I'm not sure on that one.

      – WinEunuuchs2Unix
      Jun 15 '18 at 17:37





      Bluetooth is often embedded in WiFi card so I'm not sure on that one.

      – WinEunuuchs2Unix
      Jun 15 '18 at 17:37













      Any idea why this service would still show up in systemd-analyze even after it has been disabled?

      – damluar
      Jan 1 at 0:39





      Any idea why this service would still show up in systemd-analyze even after it has been disabled?

      – damluar
      Jan 1 at 0:39













      4














      From the man page:



      NAME

      systemd-networkd-wait-online.service, systemd-networkd-wait-online -
      Wait for network to come online





      share|improve this answer



























        4














        From the man page:



        NAME

        systemd-networkd-wait-online.service, systemd-networkd-wait-online -
        Wait for network to come online





        share|improve this answer

























          4












          4








          4







          From the man page:



          NAME

          systemd-networkd-wait-online.service, systemd-networkd-wait-online -
          Wait for network to come online





          share|improve this answer













          From the man page:



          NAME

          systemd-networkd-wait-online.service, systemd-networkd-wait-online -
          Wait for network to come online






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 23 '18 at 14:49









          waltinatorwaltinator

          23.2k74269




          23.2k74269





















              0














              It appears that this service simply waits, doing absolutely nothing, until the network is connected, and when this happens, it changes its state so that other services that depend on the network can be launched to start doing their thing.



              So, it appears that this service is absolutely benign, it does not waste any time during boot, and it actually constitutes an optimization, so you are only going to make things worse if you disable it.



              (Services that need the network will start before the network is up, at a time when many other services are also starting up and contention is high, and these services will be unable to do anything useful, so they will just keep retrying to connect to the network, until the network finally comes up.)






              share|improve this answer



























                0














                It appears that this service simply waits, doing absolutely nothing, until the network is connected, and when this happens, it changes its state so that other services that depend on the network can be launched to start doing their thing.



                So, it appears that this service is absolutely benign, it does not waste any time during boot, and it actually constitutes an optimization, so you are only going to make things worse if you disable it.



                (Services that need the network will start before the network is up, at a time when many other services are also starting up and contention is high, and these services will be unable to do anything useful, so they will just keep retrying to connect to the network, until the network finally comes up.)






                share|improve this answer

























                  0












                  0








                  0







                  It appears that this service simply waits, doing absolutely nothing, until the network is connected, and when this happens, it changes its state so that other services that depend on the network can be launched to start doing their thing.



                  So, it appears that this service is absolutely benign, it does not waste any time during boot, and it actually constitutes an optimization, so you are only going to make things worse if you disable it.



                  (Services that need the network will start before the network is up, at a time when many other services are also starting up and contention is high, and these services will be unable to do anything useful, so they will just keep retrying to connect to the network, until the network finally comes up.)






                  share|improve this answer













                  It appears that this service simply waits, doing absolutely nothing, until the network is connected, and when this happens, it changes its state so that other services that depend on the network can be launched to start doing their thing.



                  So, it appears that this service is absolutely benign, it does not waste any time during boot, and it actually constitutes an optimization, so you are only going to make things worse if you disable it.



                  (Services that need the network will start before the network is up, at a time when many other services are also starting up and contention is high, and these services will be unable to do anything useful, so they will just keep retrying to connect to the network, until the network finally comes up.)







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 13 at 14:21









                  Mike NakisMike Nakis

                  1214




                  1214



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1018576%2fwhat-does-networkmanager-wait-online-service-do%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Tamil (spriik) Luke uk diar | Nawigatjuun

                      Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                      Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?