无法让 RTL8125B 在 20.04 上工作

Ant*_*vec 22 networking realtek 20.04

因此,我在带有新 RTL8125B Realtek 网卡的计算机上全新安装了 Ubuntu 20.04,但无法使网络正常工作。

我很惊讶,因为这应该是 5.4 内核的新特性(我安装了 5.4.0-26-generic)。

有没有人知道如何让它工作?谢谢你。

$ lspci -knn | grep Eth -A3
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04)
Subsystem: ASUSTeK Computer Inc. RTL8125 2.5GbE Controller [1043:87d7]
Kernel modules: r8169
07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e7)

$ dmesg | grep -i r8169
[    0.911236] r8169 0000:06:00.0: unknown chip XID 641
Run Code Online (Sandbox Code Playgroud)

小智 27

我有同样的问题。看起来您缺少以太网驱动程序。

转到此链接(来自实际的以太网提供商): https //www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-快递软件

下载“2.5G Ethernet LINUX driver r8125 for kernel up to 5.6”并按照安装说明进行操作。

完成后,您应该可以使用有线连接。


Pil*_*ot6 18

rtl8125b支持已在linux-next6 天前添加到树中。

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/net/ethernet/realtek?h=next-20200720&id=0439297be95111cf9ef5ece2091af16d140ce2ef

进入stable然后进入 Ubuntu需要一些时间。

在 Linux 本身支持它之前,您可以尝试从 Realtek 站点安装驱动程序。您需要在 BIOS 和黑名单中禁用安全启动r8169才能使它们工作。

该问题已在 5.9 内核中修复。不幸的是 Ubuntu 20.10 和 20.04.2 没有这个内核。所以需要一个主线内核,或者一个向后移植。

  • 它尚未添加到“5.8”中。它应该出现在 5.9 中。 (2认同)
  • 这是一种跑步方式。如果您写下有关安装哪些驱动程序以及如何安装的答案,将会很有用。 (2认同)
  • 安装r8125后,我的电脑时不时会自动将驱动升级到r8169,再次无法上网,请问各位大佬知道怎么禁用这个升级吗? (2认同)

use*_*033 7

realtek 下载页面上没有安装说明。

无论如何,这个解决方案对我有用:

Here's a solution I found;

    Go to the Realtek website 387

    Download the Unix(Linux) r8125 driver. You will need to give an email address.
    1754×445

    Go to /Downloads directory. Extract the Tarball.

    In Terminal, go into r8125-xxxx folder and run the autorun.sh

    $ sudo ./autorun.sh

Everything should run automatically and you should get ethernet connection now.
Run Code Online (Sandbox Code Playgroud)

  • 可能值得注意的是,您需要安装一些依赖项,至少需要 make。怀疑我安装了“build-essential”。 (2认同)