`

Linux命令之Ethtool

阅读更多

描述:
Ethtool是用于查询及设置网卡参数的命令。

概要:
ethtool ethX      //查询ethX网口基本设置
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]\         //设置网口速率10/100/1000M
[duplex half|full]\           //设置网口半/全双工
[autoneg on|off]\            //设置网口是否自协商
[port tp|aui|bnc|mii]\         //设置网口类型
[phyad N]\                
[xcvr internal|exteral]\
[wol p|u|m|b|a|g|s|d...]\
[sopass xx:yy:zz:aa:bb:cc]\
[msglvl N]

分享到:
评论

相关推荐

    LinuxUnix命令之Ethtool.doc

    LinuxUnix命令之Ethtool.doc

    LINUX平台下命令行访问ethernet phy 的寄存器工具

    个人写的LINUX平台下,命令行访问ethernet phy 的寄存器工具,驱动和硬件调试非常实用。具体使用如下: 打印寄存器:./mdio eth0 dump 修改寄存器:./mdio eth0 0x00 0x1200,修改0x00寄存器的值为0x1200

    ethtool-3.9 下载

    Ethtool是Linux下用于查询及设置网卡参数的命令。 概要: ethtool ethX //查询ethX网口基本设置 ethtool –h //显示ethtool的命令帮助(help) ethtool –i ethX //查询ethX网口的相关信息 ethtool –d ethX //查询...

    ethtool 4.11 源码

    Ethtool是Linux下用于查询及设置网卡参数的命令。它可以用于设置、查询网络设备尤其是以太网的速度、端口、自动协商、PCI位置和校验值offload特性等内容。

    Linux 常用命令(xls 文件)非常实用

    Linux 常用命令(xls 文件)非常实用 networking (Note ifconfig, route, mii-tool, nslookup commands are obsolete) • ip link show List interfaces ethtool interface List interface status ip link set ...

    linux命令学习之10个网络命令和监控命令

    网络和监控命令类似于这些: hostname, ping, ifconfig, iwconfig, netstat, nslookup, traceroute, finger, telnet, ethtool 用于查看linux服务器ip地址,管理服务器网络配置 ,通过 telnet 和ethernet建立与linux...

    ethtool:一个简单的ethtool GO类库

    ethtool软件包旨在提供一个提供对Linux SIOCETHTOOL ioctl操作的简单访问的库。 它可用于从网络设备中检索信息,例如统计信息,与驱动程序有关的信息,甚至是VETH接口的对等体。 构建和测试 去获取命令: go get ...

    linux 网络命令 介绍

    tcp/ip ifconfig ip dhclient hostname arp route ping ethtool wireshark tcpdump binding and bonding ssh client and server scp sshd nfs iptables apache web server squid dns server dhcp server iptables ...

    chroot命令 改变根目录

    与该功能相关的Linux命令:mmove命令 – 移动文件或目录lpstat命令 – 显示cpus状态信息less命令 – 分页显示工具ethtool命令 – 查询与设置网卡参数uucico命令 – 文件传输服务程序renice命令 – 系统管理mtools...

    linux 网络诊断常用命令.pdf

    # ethtool -S eth0 (不同的网卡和驱动的输出可能不一样) NIC statistics:  rx_packets: 60  tx_packets: 32  rx_bytes: 7371  tx_bytes: 3061  rx_broadcast: 0  tx_broadcast: 0  rx_multicast: 0  tx_...

    shell脚本输出多个主机的网卡速率的方法

    记录下之前的写过的shell脚本,需要整理出各个主机的各个网卡速率,网卡名称为bond0到bond3,使用ethtool bond1命令可以查看相应网卡的速率。因为有几十台主机,所以考虑使用shell脚本去查询。 具体思路: 查询单台...

    linux-post-install:在安装后过程中自动化您Linux(需要Debian发行版)

    通过ethtool唤醒局域网(WOL)。 图标包。 主题。 (由Microsoft提供)和Filezilla。 RDP客户端。 同步化。 木板码头。 这些项目的安装是可选的。 免责声明:这是我个人使用的附带项目,不附带任何保证。无论如何...

    linux.chm文档

    locate \*.ps 寻找以 '.ps' 结尾的文件 - 先运行 'updatedb' 命令 whereis halt 显示一个二进制文件、源码或man的位置 which halt 显示一个二进制文件或可执行文件的完整路径 挂载一个文件系统 mount /dev/...

    rootfs的制作.docx

    本文档适合嵌入式初学者练习制作linux系统上的最小根文件系统。 rootfs的制作 1 1) 创建dev/ sys/ etc/ root/ home/ proc/ tmp/等文件夹 2 2) 创建设备文件 2 3) 设置init启动配置信息。 3 1) 配置profile文件...

    wol-0.7.1远程开机

    1、运行ethtool命令查看网卡是否支持Wake On Lan Supports Wake-on: pumbg Wake-on: d 若Wake-on为d,表示禁用Wake On LAN,需要启用它。 如果已经是g就说明目标机器的网卡已经支持Wake On LAN. 2、ethtool...

    xsos:sosreport检查器-立即汇总sosreport或正在运行的系统中的系统信息

    在Linux系统上,普通用户(更不用说root)可以使用大量有用的,令人惊奇的指导性数据,但是根据设计,此信息分布在无数文件中。 其中一些甚至需要命令来解析。 xsos会尝试xsos ,从数十个文件(和命令)中解析,...

Global site tag (gtag.js) - Google Analytics