日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

Linux查看网卡驱动|更新驱动

發布時間:2024/8/1 linux 46 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Linux查看网卡驱动|更新驱动 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

查看網卡型號

# 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

總結

以上是生活随笔為你收集整理的Linux查看网卡驱动|更新驱动的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。