Linux查看网卡驱动

您所在的位置:网站首页 linux如何查看网卡是否正常 Linux查看网卡驱动

Linux查看网卡驱动

2023-08-13 10:26| 来源: 网络整理| 查看: 265

查看网卡型号

# lspci | grep "Eth"

Intel Corporation I350 为Intel的双口千兆网卡x722是一款板载以太网卡模块,提供2个10GE端口和2个GE端口x710为扩展网卡,有2个10G口x722和x710的网卡驱动模块都为i40e

扩展卡为82599ES网卡,通过查询得知82599ES为X520类型。驱动为ixgbe

查看网卡驱动信息

ethtool -i eth2

modinfo i40e

升级网卡驱动

将网卡驱动升级至2.4.10版本

tar zxf i40e-2.4.10.tar.gz

cd  i40e-2.4.10/src

make install

rmmod i40e ;modprobe i40e (该操作必须同时执行,否则会有网络中断风险)

ethtool命令

ethtool eth0

Settings for eth0:         Supported ports: [ FIBRE ]     #光纤口         Supported link modes:   10000baseT/Full          Supported pause frame use: Symmetric         Supports auto-negotiation: No         Advertised link modes:  10000baseT/Full          Advertised pause frame use: Symmetric         Advertised auto-negotiation: No         Speed: 10000Mb/s         Duplex: Full         Port: Other         PHYAD: 0         Transceiver: external         Auto-negotiation: off         Supports Wake-on: d         Wake-on: d         Current message level: 0x00000007 (7)                                drv probe link         Link detected: yes

ethtool eth1

Settings for eth1:         Supported ports: [ TP ]      #电口         Supported link modes:   10baseT/Half 10baseT/Full                                  100baseT/Half 100baseT/Full                                  1000baseT/Half 1000baseT/Full          Supported pause frame use: No         Supports auto-negotiation: Yes         Advertised link modes:  10baseT/Half 10baseT/Full                                  100baseT/Half 100baseT/Full                                  1000baseT/Half 1000baseT/Full          Advertised pause frame use: Symmetric         Advertised auto-negotiation: Yes         Speed: Unknown!         Duplex: Unknown! (255)         Port: Twisted Pair         PHYAD: 1         Transceiver: internal         Auto-negotiation: on         MDI-X: Unknown         Supports Wake-on: g         Wake-on: g         Current message level: 0x000000ff (255)                                drv probe link timer ifdown ifup rx_err tx_err         Link detected: no



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3