Realtek RTL8101/2/6E 14.04 - 15.10 上的以太网出现故障

Realtek RTL8101/2/6E 14.04 - 15.10 上的以太网出现故障

好的,我尝试按照我能找到的每个示例操作,但都不起作用。我需要你的帮助。有一天,更新来了,我的以太网丢了。版本升级失败最终导致重新安装 15.04,然后我升级到 15.10。在每个版本中,我都尝试下载当前的 Realtek RTL8101E 驱动程序(我也尝试过从 realtek 网站下载 r8169)。我可以加载 r8101 模块,但我甚至无法通过有线连接 ping 我的路由器。无线正在 ath9k 驱动程序上运行。以下是一些详细信息:

ryan@hplaptop:~$ sudo lshw -C network
[sudo] password for ryan: 
  *-network DISABLED      
       description: Wireless interface
       product: AR9485 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlan0
       version: 01
       serial: 24:fd:52:ec:e9:fd
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=4.2.0-18-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       resources: irq:16 memory:c2500000-c257ffff memory:c2580000-c258ffff
  *-network
       description: Ethernet interface
       product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: eth0
       version: 05
       serial: 2c:44:fd:b3:58:42
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8101 driverversion=1.027.00-NAPI duplex=full latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:24 ioport:2000(size=256) memory:c2404000-c2404fff memory:c2400000-c2403fff



ryan@hplaptop:~$ lspci -k
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
Subsystem: Hewlett-Packard Company Device 1854
Kernel driver in use: ivb_uncore
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
Subsystem: Hewlett-Packard Company Device 1854
Kernel driver in use: i915
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Hewlett-Packard Company Device 1854
Kernel driver in use: mei_me
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
Subsystem: Hewlett-Packard Company Device 1854
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1854
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
Subsystem: Hewlett-Packard Company Device 1854
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation HM75 Express Chipset LPC Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1854
Kernel driver in use: lpc_ich
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
Subsystem: Hewlett-Packard Company Device 1854
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1854
01:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
DeviceName: Atheros AR9485 802.11b/g/n WiFi Adapter
Subsystem: Hewlett-Packard Company AR9485/HB125 802.11bgn 1×1 Wi-Fi Adapter
Kernel driver in use: ath9k
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
Subsystem: Hewlett-Packard Company Device 1854
Kernel driver in use: rtsx_pci
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)
DeviceName: Hanksville 10/100 Lan Connection
Subsystem: Hewlett-Packard Company Device 1854
Kernel driver in use: r8101




ryan@hplaptop:~$ modinfo r8101
filename:       /lib/modules/4.2.0-18-generic/kernel/drivers/net/ethernet/realtek/r8101.ko       
version:        1.027.00-NAPI
license:        GPL
description:    RealTek RTL-8101 Fast Ethernet driver
author:         Realtek and the Linux r8101 crew <[email protected]>
srcversion:     D389B0DAED4F28B777AF883
alias:          pci:v000010ECd00008136sv*sd*bc*sc*i*
depends:        
vermagic:       4.2.0-18-generic SMP mod_unload modversions 
parm:           speed:force phy operation. Deprecated by ethtool (8).(ushort)
parm:           duplex:force phy operation. Deprecated by ethtool (8). (int)
parm:           autoneg:force phy operation. Deprecated by ethtool (8). (int)
parm:           aspm:Enable ASPM. (int)
parm:           s5wol:Enable Shutdown Wake On Lan. (int)
parm:           rx_copybreak:Copy breakpoint for copy-only-tiny-frames (int)
parm:           timer_count:Timer Interrupt Interval. (int)
parm:           eee_enable:Enable Energy Efficient Ethernet. (int)
parm:           hwoptimize:Enable HW optimization function. (ulong)
parm:           debug:Debug verbosity level (0=none, ..., 16=all) (int)


ryan@hplaptop:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo

iface lo inet loopback



ryan@hplaptop:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 192.168.1.1
search charter.com


ryan@hplaptop:~$ sudo ifup eth0
Ignoring unknown interface eth0=eth0.

ryan@hplaptop:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

ryan@hplaptop:~$ sudo route add default gw 192.168.1.1 netmask 255.255.255.0 dev eth0
SIOCADDRT: Network is unreachable

ryan@hplaptop:~$ ping 192.168.1.1
connect: Network is unreachable

"sudo dhclient eth0" results in bringing up eth0 but there is still no connection however now I get some different results:

ryan@hplaptop:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         *               0.0.0.0         U     1002   0        0 eth0
link-local      *               255.255.0.0     U     0      0        0 eth0

ryan@hplaptop:~$ sudo route add default gw 192.168.1.1 netmask 255.255.255.0 dev eth0
ryan@hplaptop:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.1     255.255.255.0   UG    0      0        0 eth0
default         *               0.0.0.0         U     1002   0        0 eth0
link-local      *               255.255.0.0     U     0      0        0 eth0

ryan@hplaptop:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 169.254.8.2 icmp_seq=1 Destination Host Unreachable
From 169.254.8.2 icmp_seq=2 Destination Host Unreachable

感谢所有能提供帮助的人!

答案1

sudo dhclient

如果您多次使用过网络共享软件或热点等,此命令将有助于彻底修复它。我从另一篇文章中得到了这个命令。这对我有用

但是首先,输入,这将帮助您找出您的硬件在系统上的注册方式。在第一个块中查找第一个,例如我的名为 enp3s0。

是否配置

否则寻找这篇文章的最后一条评论Realtek 以太网驱动程序错误 ubuntu 16.04 注意:请先尝试一下这个

相关内容