Linux系统下网卡及网卡驱动管理软件--ethtool

源码下载:https://git.kernel.org/pub/scm/network/ethtool/ethtool.git
描述:
ethtool允许查询或控制网络驱动程序和硬件设置,尤其是对于有线以太网设备,是用于查询及设置网卡参数的命令。
使用:

  	ethtool ethx 查询ethx网口基本设置,其中 x 是对应网卡的编号,如eth0、eth1等等
    ethtool –h 显示ethtool的命令帮助(help)
    ethtool –i ethX 查询ethX网口的相关信息
    ethtool –d ethX 查询ethX网口注册性信息
    ethtool –r ethX 重置ethX网口到自适应模式
    ethtool –S ethX 查询ethX网口收发包统计
    ethtool –s ethX [speed 10|100|1000] [duplex half|full] [autoneg on|off] 设置网口速率 10/100/1000M、设置网口半/全双工、设置网口是否自协商

猜你喜欢

转载自blog.csdn.net/qq_40170041/article/details/131824091
今日推荐