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 dhcp2) ifup eth0
a)
ssh stop/waiting
ssh start/running, process 1723b) ifup eth0
ifup: interface eth0 already configured3) 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?
More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"