View Full Version : [ubuntu] networking doesnt start on boot, but a manual restart of service fixes problem

December 29th, 2008, 11:26 PM
So Iḿ running with Intrepid and good ole cat 5. DHCP is set as the default with my ip being assigned from the router.

On startup the machineś networking appears to be in a non operational state. However if I issue the command :

sudo /etc/init.d/networking restart brings eth0 up in its proper state and all is good in the world.

What IŽd like to figure out is why this is happening as its annoying having to be physically at the machine to manually restart the network. Any suggestions on where to look and what to look for would be greatly appreciated.

December 30th, 2008, 02:19 AM
It should start by itself, but check /etc/networking/interfaces to verify the presence of an "auto eth0" line.

January 2nd, 2009, 01:41 AM
I checked and this is the results
root@ubuntu-server:/etc/network# cat /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
auto eth0
iface eth0 inet dhcp