Ubuntu 14.04 ifconfig не показывает eth0

879
mencherid

У меня Ubuntu 14.04 LTS на Asus EeePC 1215b, и я не могу подключиться к проводному интернету. Я знаю, что это не настройка BIOS (Lan включен). Я попытался узнать больше о состоянии соединения, поэтому я нашел следующие решения:

ifconfig 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:14250 errors:0 dropped:0 overruns:0 frame:0 TX packets:14250 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0  RX bytes:1260408 (1.2 MB) TX bytes:1260408 (1.2 MB)  wlan0 Link encap:Ethernet HWaddr 48:5d:60:fd:1d:59  inet addr:192.168.1.106 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::4a5d:60ff:fefd:1d59/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1146674 errors:0 dropped:0 overruns:0 frame:0 TX packets:685508 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000  RX bytes:1618499903 (1.6 GB) TX bytes:70437030 (70.4 MB)  sudo lshw -C network *-network description: Network controller product: BCM4313 802.11bgn Wireless Network Adapter vendor: Broadcom Corporation physical id: 0 bus info: pci@0000:01:00.0 version: 01 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=bcma-pci-bridge latency=0 resources: irq:16 memory:fea00000-fea03fff *-network description: Wireless interface physical id: 2 logical name: wlan0 serial: 48:5d:60:fd:1d:59 capabilities: ethernet physical wireless configuration: broadcast=yes driver=brcmsmac driverversion=3.13.0-63-generic firmware=610.812 ip=192.168.1.106 link=yes multicast=yes wireless=IEEE 802.11bgn  lspci | grep Ethernet -- nothing --  cat /etc/network/interfaces \# interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback auto eth0  lspci 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6310] 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio 00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Port 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42) 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40) 00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40) 00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43) 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7 01:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01) 

Я действительно не знаю, как снова заставить работать мое проводное соединение. Пожалуйста, кто-нибудь может мне помочь?

0
Попробуйте команду ifconfig eth0 down и ifconfig eth0 up. manjesh23 8 лет назад 0
Кроме того, не могли бы вы опубликовать вывод сети sudo lshw -C manjesh23 8 лет назад 0

1 ответ на вопрос

0
manjesh23

Check whether your interface has the name eth0 by typing ifconfig -a.

Probably it is named something like p1p1 now. If it is and you want it to be eth0, add biosdevname=0 to the boot options in your /etc/default/grub.

Source: Link