KyLinV10 安装realtek-r8125 2.5G网卡驱动。

简介: KyLinV10 安装realtek-r8125 2.5G网卡驱动。

去github https://github.com/awesometic/realtek-r8125-dkms/releases
然后

This is the Linux device driver released for RealTek RTL8125 2.5Gigabit Ethernet controllers with PCI-Express interface.

  • Kernel source tree (supported Linux kernel 2.6.x and 2.4.x)
  • For linux kernel 2.4.x, this driver supports 2.4.20 and latter.
  • Compiler/binutils for kernel compilation
    Unpack the tarball : # tar vjxf r8125-9.aaa.bb.tar.bz2
    Change to the directory:

    cd r8125-9.aaa.bb

If you are running the target kernel, then you should be able to do :

# ./autorun.sh    (as root or with sudo)

You can check whether the driver is loaded by using following commands.

# lsmod | grep r8125
# ifconfig -a

Transmitting Jumbo Frames, whose packet size is bigger than 1500 bytes, please change mtu by the following command.
#
{spa.wfdignzhi.com]
{spa.teaopu.com]
{spa.heiwado-event.com]
{spa.zhujiuyuan.com]
{spa.gym-odessa.com]
{spa.ynthwj.com] ifconfig ethX mtu MTU

, where X=0,1,2,..., and MTU is configured by user.

RTL8125 supports Jumbo Frame size up to 9 kBytes.
Get/Set device EEE status
Get EEE device status (查看你的网卡,enp1s0根据你实际的来 通过 ifconfig 查看,比如我的是p1p1)

# ethtool --show-eee enp1s0

Set EEE device status *(强行设置链接速率)
# ethtool --set-eee enp1s0 eee on tx-lpi on tx-timer 1546 advertise 0x0008 (100M full)
# ethtool --set-eee enp1s0 eee on tx-lpi on tx-timer 1546 advertise 0x0020 (1G)
# ethtool --set-eee enp1s0 eee on tx-lpi on tx-timer 1546 advertise 0x8000 (2.5G)
相关文章
VSPD虚拟串口软件安装及使用
VSPD虚拟串口软件安装及使用
807 0
|
2月前
|
Linux
在Linux中,什么是设备驱动程序?如何安装和卸载设备驱动程序?
在Linux中,什么是设备驱动程序?如何安装和卸载设备驱动程序?
|
存储 Linux iOS开发
制作 Kali 可启动 USB 驱动器 (Linux)
制作 Kali 可启动 USB 驱动器 (Linux)
340 0
制作 Kali 可启动 USB 驱动器 (Linux)
|
安全 Windows
Win系统 - 教你解决打印机无法安装驱动程序的问题
Win系统 - 教你解决打印机无法安装驱动程序的问题
348 0
Win系统 - 教你解决打印机无法安装驱动程序的问题
|
Windows
Win系统 - 从USB3.0端口启动安装Windows系统,提示缺少驱动器设备驱动程序的解决办法
Win系统 - 从USB3.0端口启动安装Windows系统,提示缺少驱动器设备驱动程序的解决办法
326 0
Win系统 - 从USB3.0端口启动安装Windows系统,提示缺少驱动器设备驱动程序的解决办法