M BUZZ CRAZE NEWS
// general

How to get my eth0 up and running? I have tried all but none bring this up

By David Jones

Ubuntu 11.04. Why the eth0 gets down, is there no tools or script to bring it up?

I tried several way, but none worked. Any idea?

1) vim /etc/network/interfaces

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

2) ifup eth0

a)

ssh stop/waiting
ssh start/running, process 1723

b) ifup eth0

ifup: interface eth0 already configured

3) restarted networkmanager but same no luck

Follow up:

1) sudo update-rc.d -f NetworkManager remove
2) sudo apt-get install dhcpcd
3) dhcpcd eth0
4) ifup eth0
0

1 Answer

What do you mean, "when it gets down"?

NetworkManager and /etc/network/interfaces are two separate ways of controlling the network, you should use one or the other. If you use NetworkManager, the interfaces file should be empty (everything commented out for eth0).

ifconfig -a output may help. Can you ping your default gateway? Or anything at all?

5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy