Ubuntu 11.10 Waiting up to 60 more seconds for network configuration…

Ubuntu 11.10 Oneiric Ocelot was released last week, and has brought a few issues with it. One distressing new feature I found was that when booting it would hang for around a minute with the message ‘Waiting for network configuration…’ and then hang again with the message ‘Waiting up to 60 more seconds for network configuration…’.

I have found the cause of this is having any interfaces defined in /etc/network/interfaces ( besides lo ) defined as auto. To correct this problem, the recommended solution is to remove your interfaces from this file, and set them up with network manager. Leaving /etc/network/interfaces looking like the default:

auto lo
iface lo inet loopback

In my case, my network needs a bridge to operate, and since network manager does not allow to configure bridges, it MUST be defined in this file.

So, the only other solution must be to edit ‘Waiting for network configuration…’ script. This script is actually located here: /etc/init/failsafe.conf

Around 25 lines down in the file you will see a section:

# Plymouth errors should not stop the script because we *must* reach
    # the end of this script to avoid letting the system spin forever
    # waiting on it to start.
        $PLYMOUTH message --text="Waiting for network configuration..." || :
        sleep 40

        $PLYMOUTH message --text="Waiting up to 60 more seconds for network configuration..." || :
        sleep 59
        $PLYMOUTH message --text="Booting system without full network configuration..." || :

To solve the problem, you can just remove the calls to sleep, by commenting the out ( or at least reduce the wait time if your network really does need to wait )

# Plymouth errors should not stop the script because we *must* reach
    # the end of this script to avoid letting the system spin forever
    # waiting on it to start.
        $PLYMOUTH message --text="Waiting for network configuration..." || :
        #sleep 40

        $PLYMOUTH message --text="Waiting up to 60 more seconds for network configuration..." || :
        #sleep 59
        $PLYMOUTH message --text="Booting system without full network configuration..." || :
Bookmark the permalink.
There's 40 Responses to Ubuntu 11.10 Waiting up to 60 more seconds for network configuration…

  1. Funny, I had these lines commented in he interfaces file, but the problem persists. In fact, something automagically recreated these lines again on top of my comments!

    > auto lo
    > iface lo inet loopback
    >
    > #auto eth0
    > #iface eth0 inet dhcp

    So this fix did not work for me. Still looking for a definitive solution to this.

    Thanks!


  2. It sounds like it didn’t work because something added the eth0 lines back to your /etc/network/interfaces file during your reboot. I’m not sure which process would do this, but a possible workaround would be to remove the eth0 references again from /etc/network/interfaces, and then run:

    chattr +i /etc/network/interfaces

    This will make it so nothing can change the contents of the file until you remove the ‘i’ attribute ( chattr -i /etc/network/interfaces )


  3. Worked for me like charm. Thanks.


  4. Tks a lot man. u saved my life!

    greets from Brazil!


  5. Tnx!my problem is fix.
    Greets from Ukraine.


  6. Pingback: Ubuntu 11.10 disable "Waiting up to 60 more seconds for network configuration"

  7. The guy who wrote that failsafe.conf deserves to be fired. sleep 20, sleep 40 and sleep 59 in a generic script, are you kidding me? Thanks for your solution!


    • @Angrybird – you can’t fire a contributor on an open source project. That would be like – wait a minute… You are FIRED as a commenter on this blog! (LOL) Bad design though…

      @Wrostek – Thanks for the information!


  8. Someone just deserved the ‘hero of the day’-award with this post: thanks a bunch no more waiting for me! ;-)


  9. Anoying shid! Thnanks for article!


  10. Pingback: Ubuntu 11.10 Waiting up to 60 more seconds for network configuration fix | Busted Engineering

  11. Works like a charm. Thanks a lot.
    I also removed the messages (commented).


  12. Ubuntu 12.04 User

    Works for ubuntu 12.04!!!
    With just two characters of code, nice.
    Greetings from Germany


  13. Good Stuff!
    Brilliant Solution. Will spread this good news.
    Thanks from Cyberjaya, Malaysia.
    http://en.wikipedia.org/wiki/Cyberjaya


  14. Worked better after I also changed this (as I not network not ready type message) :

    # waiting on it to start.
    $PLYMOUTH message –text=”Waiting for network configuration…” || :
    #sleep 40
    sleep 80


  15. Thanks! a lot….
    That work for me remove or comment eth0 in file /etc/network/interfaces


  16. Many Thanks from Italy


  17. Abnerh69

    Good work! Say Hello from Barinas, Venezuela.


  18. Abnerh69

    By the way: Ubuntu 12.04 and Clonezilla in 5 laptops! Thanks


  19. Jeramie

    Worked Like a charm for 11.0. After Upgrade, the system was unusable, but dropping to a shell and commenting out these lines, we are back online. We commented out the sleep lines as we needed to set a static IP and do no use the GUI on the server install.


  20. Worked in U 12.04! Great Stuff for tracking this down!
    Greets from Lismore, Australia!!
    cheers !!


  21. Hi! I’ve been reading your blog for a while now and finally got the courage to go ahead and give you a shout out from Atascocita Texas! Just wanted to tell you keep up the fantastic work!


  22. For me, it works by removing the eth0 references in /etc/network/interfaces. But I left the bridge declaration (as dhcp). So, this file is know like this :

    “””
    auto lo
    iface lo inet loopback

    #auto eth0
    #iface eth0 inet static

    auto br0
    iface br0 inet dhcp
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0
    bridge_maxwait 0
    “””

    No more messages and the bridge is working.
    I first wrote the two commented eth0 lines after reading some tutorial on bridge networking for kvm/qemu. But they were not necessary, after all.
    Last but not least, I removed network-manager from the installation. Before I did so, the lines on eth0 were used by network-manager to identify the interfaces that it should not try to manage.


  23. respect, that bug|feature been really annoying me especially on planes.


  24. I rarely leave comments, but this is an exception. THANK YOU for sharing this, definitely fixed my issue.


  25. It was ok! Thanks a lot from Spain.


  26. Dhanada Mishra

    Thank you. From Bhubaneswar, India.


  27. What a relief! The key was chattr +i. Thanks and greetings from Finland.
    (12.04+MATE)


  28. Pingback: Ubuntu 11.10 Waiting up to 60 more seconds for network configuration…

  29. Pingback: Como configurar rede IEEE1394 (FireWire) no Ubuntu 10.10

  30. with my grey socket of now i want to say a regular thanks !
    checked and confirmed …


  31. Shamsudheen

    Thanks from Kerala, India


  32. Thanks a million!!!!


  33. Pingback: How to Fix Ubuntu Server 13.04 Slower Boot When Network Cable Is Unplugged | Ubuntu Info - James n Sheri.comUbuntu Info – James n Sheri.com

  34. Pingback: Splash Screen Stopped Appearing | Click & Find Answer !

  35. Excellent solution! I need a gui on my servers but don’t want Network Manager in the way. Thank you very much.

    Yakup


  36. Santosa Anak Indonesia

    Thank you very much for the tips because it save the booting time. However, we should make sure that

    Author Quote: “your network really does need to wait”


  37. Pingback: Relinux - "waiting for network configuration" problem - Tech Forum Network

  38. Pingback: Ubuntu 11.10 disable "Waiting up to 60 more seconds for network configuration"

  39. Jonathan

    Thank you. This worked great for me.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>