I'm using elementary OS (based on Ubuntu 12.04) and yesterday I woke up to no wired ethernet connection. As far as I can remember I changed absolutely nothing, it was working at night and not anymore the next morning.
If I plug in my USB wi-fi antennae it picks it up immediately so it's not my connection/modem. If I start my PC with Ubuntu ethernet works fine so it's not something physically broken.
Here are some outputs:
$ifconfig -a
lo Link encap:Bucle local
Direc. inet:127.0.0.1 Másc:255.0.0.0
Dirección inet6: ::1/128 Alcance:Anfitrión
ACTIVO BUCLE FUNCIONANDO MTU:16436 Métrica:1
Paquetes RX:2279 errores:0 perdidos:0 overruns:0 frame:0
Paquetes TX:2279 errores:0 perdidos:0 overruns:0 carrier:0
colisiones:0 long.colaTX:0
Bytes RX:201028 (201.0 KB) TX bytes:201028 (201.0 KB)
wlan0 Link encap:Ethernet direcciónHW 00:25:9c:a4:32:51
Direc. inet:192.168.1.101 Difus.:192.168.1.255 Másc:255.255.255.0
Dirección inet6: fe80::225:9cff:fea4:3251/64 Alcance:Enlace
ACTIVO DIFUSIÓN FUNCIONANDO MULTICAST MTU:1500 Métrica:1
Paquetes RX:53991 errores:0 perdidos:0 overruns:0 frame:0
Paquetes TX:43111 errores:0 perdidos:0 overruns:0 carrier:0
colisiones:0 long.colaTX:1000
Bytes RX:57986158 (57.9 MB) TX bytes:16845669 (16.8 MB)
$sudo ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available
$sudo dhclient eth0
Cannot find device "eth0"
My /etc/network/interfaces file contains:
auto lo
iface lo inet loopback
So there's definitely something wrong with my eth0 settings but I just don't know how it is or how to fix it. Any help will be much appreciated.
Add
Here's the output from sudo lshw -c network -sanitize:
*-network NO RECLAMADO
descripción: Ethernet controller
producto: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
fabricante: Realtek Semiconductor Co., Ltd.
id físico: 0
información del bus: pci@0000:04:00.0
versión: 06
anchura: 64 bits
reloj: 33MHz
capacidades: pm msi pciexpress msix vpd bus_master cap_list
configuración: latency=0
recursos: ioport:d000(size=256) memoria:d0004000-d0004fff memoria:d0000000-d0003fff
*-network
descripción: Interfaz inalámbrica
id físico: 1
información del bus: usb@1:5
nombre lógico: wlan0
serie: [REMOVED]
capacidades: ethernet physical wireless
configuración: broadcast=yes driver=rt2800usb driverversion=3.2.0-60-generic-pae firmware=0.29 ip=[REMOVED] link=yes multicast=yes wireless=IEEE 802.11bg
where "NO RECLAMADO" means "NOT CLAIMED".