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虚拟串口软件安装及使用
928 0
|
3月前
|
Linux
在Linux中,什么是设备驱动程序?如何安装和卸载设备驱动程序?
在Linux中,什么是设备驱动程序?如何安装和卸载设备驱动程序?
|
网络架构
Ensp+Wireshark+VirtualBox+WinPcap
Ensp+Wireshark+VirtualBox+WinPcap
156 1
|
Ubuntu 开发工具 虚拟化
开发板ping通Ubuntu,并且执行tftp远程烧录镜像到开发板
开发板ping通Ubuntu,并且执行tftp远程烧录镜像到开发板
178 0
|
安全 Windows
Win系统 - 教你解决打印机无法安装驱动程序的问题
Win系统 - 教你解决打印机无法安装驱动程序的问题
358 0
Win系统 - 教你解决打印机无法安装驱动程序的问题
|
Linux
Linux串口驱动程序(3)-打开设备
Linux串口驱动程序(3)-打开设备先来分析一下串口打开的过程: 1、用户调用open函数打开串口设备文件;2、在内核中通过tty子系统,把open操作层层传递到串口驱动程序中;3、在串口驱动程序中的xx_open最终实现这个操作。
1147 0