My eth0 has gone and I don't have internet and network connection

Project:Linux software
Component:Documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Related pages:#9282: Networking not working - Cannot connect to the Internet :-:-: #9323: /sbin/ifconfig :-:-: #9325: /etc/network/
Description

Using Ubuntu 16.04, the internet was working properly one day, but the next day, it didn't work.

# ifconfig -a
only mentions the 'lo' interface. There is no eth0 nor other interfaces.

Comments

#1

# ifup eth0
Unknown interface eth0
# ifdown eth0
Unknown interface eth0

#2

Related pages:+9323: /sbin/ifconfig

#3

Related pages:+9325: /etc/network/

I added the following to /etc/network/interfaces:

auto eth0
iface eth0 inet dhcp

then:

# service network-manager stop
# ifconfig eth0 up
eth0: ERROR while getting interface flags
# dhclient eth0
cannot find device "eth0"

#4

After much testing, it appears to be a hardware problem. The on-board ethernet port is broken. I'm buying a PCI ethernet card to replace it.