2

I have encountered a series of errors after my Ubuntu server was restarted. It seems to have forgotten how to connect to my router as it cannot ping local or other IPs.

When I start it up it says

Waiting for network configuration
Waiting 60 more seconds for network configuration

If I enter ping http://google.com it returns:

ping: Unknown host http://google.com

If I enter ping 192.168.1.1 it returns:

connect: Network is unreachable

If I enter /etc/init.d/networking restart it returns:

Reconfiguring network interfaces...

then hangs until it says

Failed to bring up eth0

Currently the networking/interfaces file looks like this

auto eth0
iface eth0 inet dhcp

The router reports that the server is: Inactive..

Any advice?

Michael
  • 133

2 Answers2

3

probably to late, but take out auto eth0. It will auto config anyways when it boots. I had this problem for some time before reading about the fix.

oboltyo
  • 31
1

3 things to check:

  1. what eth device do you see? dmesg | grep eth will show you. was it renamed?

  2. if eth0 is available, sudo ethtool eth0 to see if it is really up.

  3. is the nic light on (most nics should have indicator lights)

johnshen64
  • 6,035