Wifi 通常运行良好,但有时会变得非常慢或完全断开连接。这种情况随机发生,我在 Windows 10 中没有遇到此类问题。我想知道 r8169 驱动程序是否有问题?我读到过它可能很麻烦。重新启动、启动 Windows、再次重新启动,然后启动 Ubuntu 后,问题似乎自行解决。不过,我希望有一个更永久的修复方法。
我尝试用 r8168 替换 r8169,但无法使用 r8168,因为它说无法验证模块并且缺少所需的密钥。
sudo lshw -C network
*-network
description: Wireless interface
product: RT3290 Wireless 802.11n 1T/1R PCIe
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlo1
version: 00
serial: 48:5a:b6:bb:75:45
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=4.4.0-36-generic firmware=0.37 ip=192.168.0.15 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:16 memory:f0210000-f021ffff
*-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:05:00.0
logical name: eno1
version: 07
serial: a0:1d:48:d9:db:8e
size: 10Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:34 ioport:2000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff memory:f0010000-f001ffff
ifconfig
eno1 Link encap:Ethernet
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 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
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:470 errors:0 dropped:0 overruns:0 frame:0
TX packets:470 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:47156 (47.1 KB) TX bytes:47156 (47.1 KB)
wlo1 Link encap:Ethernet
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3772 errors:0 dropped:0 overruns:0 frame:0
TX packets:3533 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2824750 (2.8 MB) TX bytes:633420 (633.4 KB)
iwconfig
lo no wireless extensions.
wlo1 IEEE 802.11bgn
Mode:Managed Frequency:2.442 GHz
Bit Rate=7.2 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=42/70 Signal level=-68 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:187 Invalid misc:628 Missed beacon:0
eno1 no wireless extensions.
答案1
您所提到的驱动程序与无线问题无关。
如果你遇到了以太网问题,你应该用r8168-dkms
存储库中的驱动程序替换有问题的 r8169 驱动程序,和secure boot
在 BIOS 中关闭。
干杯,艾尔