需要帮助更改以太网驱动程序

需要帮助更改以太网驱动程序

我的以太网驱动程序有问题,似乎加载了错误的驱动程序。它是 realtek 8125,但加载的驱动程序适用于 r8169。我最近确实从他们的网站安装了驱动程序,但内核也更新到了 5.9- 版。有趣的是,以太网可以工作,但峰值为 12mpbs(而不是 75mpbs)。

在不破坏系统的情况下安装正确驱动程序的最佳方法是什么?这是我在 2020 年第五次安装 Ubuntu,但我已经开始掌握它了。

System:    Host: plunder-MS-7C76 Kernel: 5.9.0-8.2-liquorix-amd64 x86_64 bits: 64 Desktop: Gnome 3.36.4 
           Distro: Ubuntu 20.04.1 LTS (Focal Fossa) 
Machine:   Type: Desktop System: Micro-Star product: MS-7C76 v: 1.0 serial: <superuser/root required> 
           Mobo: Micro-Star model: MPG Z490M GAMING EDGE WIFI (MS-7C76) v: 1.0 serial: <superuser/root required> 
           BIOS: American Megatrends v: 2.20 date: 07/23/2020 
CPU:       6-Core: Intel Core i5-10600K type: MT MCP speed: 4109 MHz min/max: 800/4901 MHz 
Graphics:  Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] driver: nvidia v: 450.80.02 
           Display: x11 server: X.Org 1.20.8 driver: nvidia resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce RTX 2080 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 450.80.02 
Network:   Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi 
           Device-2: Realtek RTL8125 2.5GbE driver: r8169 
Drives:    Local Storage: total: 2.03 TiB used: 517.93 GiB (24.9%) 
Info:      Processes: 423 Uptime: 15h 48m Memory: 31.29 GiB used: 9.52 GiB (30.4%) Shell: bash inxi: 3.0.38```


答案1

我找到了解决方案。更新内核后,我不得不重新安装 Realtek 驱动程序。因此,当我将内核从 5.8 更新到 5.9 时,似乎不得不再次重新安装驱动程序。不确定是什么原因造成的,但它解决了问题。谢谢您的帮助!

System:
  Host: plunder-MS-7C76 Kernel: 5.9.0-8.2-liquorix-amd64 x86_64 bits: 64 
  Desktop: Gnome 3.36.4 Distro: Ubuntu 20.04.1 LTS (Focal Fossa) 
Machine:
  Type: Desktop System: Micro-Star product: MS-7C76 v: 1.0 
  serial: <superuser/root required> 
  Mobo: Micro-Star model: MPG Z490M GAMING EDGE WIFI (MS-7C76) v: 1.0 
  serial: <superuser/root required> BIOS: American Megatrends v: 2.20 
  date: 07/23/2020 
CPU:
  6-Core: Intel Core i5-10600K type: MT MCP speed: 4110 MHz 
  min/max: 800/4901 MHz 
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] driver: nvidia 
  v: 450.80.02 
  Display: x11 server: X.Org 1.20.8 driver: nvidia 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: GeForce RTX 2080 SUPER/PCIe/SSE2 
  v: 4.6.0 NVIDIA 450.80.02 
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi 
  Device-2: Realtek RTL8125 2.5GbE driver: r8125 
Drives:
  Local Storage: total: 2.03 TiB used: 517.78 GiB (24.9%) 
Info:
  Processes: 384 Uptime: N/A Memory: 31.29 GiB used: 1.31 GiB (4.2%) 
  Shell: bash inxi: 3.0.38 

相关内容