您的位置:首页 > 大数据 > 人工智能

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

2016-12-01 20:34 651 查看
http://www.codewhirl.com/2011/10/ubuntu-11-10-waiting-up-to-60-more-seconds-for-network-configuration/

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

by
wrostek
on
October 19, 2011 in

Linux

Tweet

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:

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:

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 )

Bookmark the
permalink.

There are

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



JulioHM
Oct 23, 2011 7:25 pm

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!



wrostek
Oct 23, 2011 9:02 pm

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 )



Rakesh
Dec 4, 2011 8:58 am

Worked for me like charm. Thanks.



Pablo
Dec 26, 2011 7:56 am

Tks a lot man. u saved my life!

greets from Brazil!



guest
Feb 14, 2012 6:22 am

Tnx!my problem is fix.

Greets from Ukraine.

Pingback March 1, 2012:
Ubuntu 11.10 disable "Waiting up to 60 more seconds for network configuration"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: