How to set up static IP in 12.04 and avoid these start-up delays?
Chris Green
cl at isbd.net
Thu Oct 4 12:29:49 UTC 2012
On Thu, Oct 04, 2012 at 02:40:21PM +0300, Marius Gedminas wrote:
> On Thu, Oct 04, 2012 at 12:31:54PM +0100, Chris Green wrote:
> > I have just upgraded a little server system from Ubuntu Server 10.04 to
> > Ubuntu Server 12.04, the upgrade went fairly smoothly and it's basically
> > all working OK.
> >
> > However there is a very annoying delay has appeared in the boot
> > sequence, while the moving dots display during startup two messages
> > appear:-
> >
> > Waiting for network configuration...
> > [waits for 40 seconds]
> > Waiting up to 60 more seconds for network configuration...
> > [waits for 60 secodns]
> >
> > ... and then the system finally starts up.
> >
> > These delays are in the /etc/init/failsafe.conf script and seem to
> > happen even when the system is properly configured for static IP in
> > /etc/network/interfaces.
>
> You shouldn't be getting any delays if that's the case.
>
> Can you show the contents of your /etc/network/interfaces?
>
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.0.255
gateway 192.168.1.1
dns-domain zbmc.eu
dns-search zbmc.eu
dns-nameservers 127.0.0.1 195.74.113.58 194.72.0.114
auto eth0
# The USB network interface
auto eth1
iface eth1 inet dhcp
--
Chris Green
More information about the ubuntu-users
mailing list