How to set up static IP in 12.04 and avoid these start-up delays?

Chris Green cl at isbd.net
Thu Oct 4 14:42:12 UTC 2012


On Thu, Oct 04, 2012 at 10:23:17AM -0400, Tom H wrote:
> >> You're quite right, the 0000debug didn't do any good so I have added the
> >> above (with the name of the script changed) to each script in if-up.d.
> >>
> >> ... listen to this space! :-)
> >
> > Here's the result (attached, it's a bit long), I can't see anything wrong.
> 
> Your attachment looks like the output of the wpasupplicant script -
> and it looks OK. Is it the only one in "/etc/network/ifup.d/"?
> 
> Before you follow Marius' debug suggestion (which is good), I'd
> correct the "broadcast" line "/etc/network/interfaces" (or delete it
> and the "network" line), comment out the eth1-related lines, and check
> whether the pause in your boot sequence's still there. If it still is,
> add debug lines to all the "/etc/network/ifup.d/" scripts and...
> 
... of course!  Silly me, that bit at the end of /etc/network/interfaces
was the culprit:-

    # The USB network interface
    auto eth1
    iface eth1 inet dhcp

It's trying to use DHCP to configure eth1 and that causes the delay. 
Commenting it out has fixed the problem, I don't currently have a USB to
ethernet dongle plugged in anyway.

Thanks for all the help everyone.

-- 
Chris Green




More information about the ubuntu-users mailing list