Ubuntu 14.04. Detecta conexiones cableadas pero no puede obtener una dirección IP. Lo probé con diferentes redes cableadas y cada vez tuve el mismo problema, tanto con nm-applet como con wicd. Mi otra computadora se conecta a mi red doméstica sin ningún problema.
No está bloqueado, blando o duro. Intenté la sugerencia aquí pero no cambió nada. Una cosa a tener en cuenta es que el cable no se conecta directamente a la computadora portátil, sino a través de un conector patentado. Aquí está la salida de ifconfig:
eth0 Link encap:Ethernet HWaddr 24:f5:aa:c2:58:c7
inet6 addr: fe80::26f5:aaff:fec2:58c7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:378 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8058 errors:0 dropped:0 overruns:0 frame:0
TX packets:8058 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2163118 (2.1 MB) TX bytes:2163118 (2.1 MB)
wlan0 Link encap:Ethernet HWaddr 6c:29:95:19:08:1b
inet addr:192.168.1.133 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::6e29:95ff:fe19:81b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2280079 errors:0 dropped:0 overruns:0 frame:0
TX packets:1500378 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2912209727 (2.9 GB) TX bytes:186227404 (186.2 MB)
Aquí está el contenido de/etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Aquí está la salida de Sudo lspci -vvnn | grep -iA 10 ethernet
.
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Samsung Electronics Co Ltd Device [144d:c109]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 61
Region 0: I/O ports at e000 [size=256]
Region 2: Memory at f7c00000 (64-bit, non-prefetchable) [size=4K]
Region 4: Memory at f0000000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
establecer la configuración de red manualmente. para eso, siga los siguientes comandos:
ifconfig eth0 192.168.31.3 netmask 255.255.255.0 up
(IP y NetMask es un ejemplo)
sevice networking restart
Agregar en /etc/network/interfaces
(este es un ejemplo)
iface eth0 inet static
address 192.168.1.200
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
Entonces
Sudo /etc/init.d/networking restart
De esta forma, use la dirección IP estática.