How to disable "Waiting up to 60 more seconds for network configuration"

WARNING: this entry was published in 2012.
It might be outdated.

After upgrading from Ubuntu 11.04 to 11.10 boot hangs for more than one minute, waiting for network. Here's how to solve it the correct way.



This post is made of copy-pasted parts from a blog post on CodeWhirl1, from author Wrostek2. I only placed it here to make Google show better results for the correct solution instead of the symlink one.

The original post can be visited here: http://www.codewhirl.com/2011/10/ubuntu-11-10-waiting-up-to-60-more-seconds-for-network-configuration/


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

Approximately 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..." || :

  1. http://www.codewhirl.com/

  2. http://www.codewhirl.com/author/wrostek/

Replies
  1. Uditha

    Thanks Man. It worked !!!! (Searching for the Solution)
  2. TheManWithNoName

    Works for Ubuntu 12 also. Dude you friggen rock!
  3. Gabriel Couto

    Thanks! I really hate that behavior!
  4. Roman

    thanx from Russia! Cool!!! Boot from 6 minutes to 2 min