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)
相关文章
|
4月前
|
Linux
在Linux中,什么是设备驱动程序?如何安装和卸载设备驱动程序?
在Linux中,什么是设备驱动程序?如何安装和卸载设备驱动程序?
|
Linux C语言 芯片
linux网卡驱动程序的编译与安装
linux网卡驱动程序的编译与安装
|
Ubuntu 数据安全/隐私保护
Ubuntu使用linux-wifi-hotspot创建WIFI热点
Ubuntu使用linux-wifi-hotspot创建WIFI热点
1680 0
Ubuntu使用linux-wifi-hotspot创建WIFI热点
|
安全 Windows
Win系统 - 教你解决打印机无法安装驱动程序的问题
Win系统 - 教你解决打印机无法安装驱动程序的问题
364 0
Win系统 - 教你解决打印机无法安装驱动程序的问题
|
Windows 虚拟化 KVM
Windows网卡驱动丢失,手动安装驱动
Windows网卡驱动丢失?教你如何手动安装驱动
Windows网卡驱动丢失,手动安装驱动