################################################################通过命令查看linux网卡的物理信息,状态:[root@node2~]#mii-tooleth0eth0:negotiated100baseTx-FD,linkok-V显示版本信息;-v显示网络接口的信息;-R重设MII到开启状态;-r重启自动协商模式;-w查看网络接口..
分类:
系统相关 时间:
2017-05-25 21:53:13
阅读次数:
301
MII的全称是Media Independent Interface,字面意思上就是媒体无关的接口,因此它是独立于具体设备的,仔细想想标准化的东西都是独立于具体设备的。 In computing, mii-tool is a Unix command which allows users to qu ...
分类:
其他好文 时间:
2016-12-16 22:27:22
阅读次数:
153
分类: 分类: 1) 通过mii-tool指令 [root@localhost root]# mii-tool eth0: negotiated 100baseTx-FD, link ok eth1: no link 或 [root@localhost root]# mii-tool -v eth0 ...
分类:
系统相关 时间:
2016-09-28 18:54:28
阅读次数:
239
指定网卡工作模式使用ethtool命令,有时候会使用mii-tool,但是这个命令显示不太准确,1000M的也会显示成100Methtooleth0#产看eth0网卡的信息[root@localhost~]#ethtooleth0Settingsforeth0:Supportedports:[TPMII]Supportedlinkmodes:10baseT/Half10baseT/Full100baseT/Half10..
分类:
系统相关 时间:
2016-09-02 01:00:28
阅读次数:
493
输入mii-tool可以查看网线是否连接到网卡#mii-tool eth0: negotiated 100baseTx-FD, link ok 有时驱动可能不支持会出错下列错误#mii-tool SIOCGMIIPHY on 'eth0' failed: Operation not supporte ...
分类:
系统相关 时间:
2016-07-22 23:04:09
阅读次数:
2029
1、mii-tool 配置网络设备协商方式的工具; 感谢原文作者!原文地址:http://blog.chinaunix.net/uid-20639775-id-154546.html 1.1 mii-tool 介绍; mii-tool - view, manipulate media-indepen ...
分类:
其他好文 时间:
2016-05-11 14:55:12
阅读次数:
150
arp:管理系统中的ARP高速缓存arpwatch:监听ARP记录arping:发送ARP请求到一个相邻主机finger:查找并显示用户信息ifconfig:设置网络接口iwconfig:设置无线网卡hostname:显示主机名ifup:激活设备ifdown:禁用网络设备mii-tool:调整网卡模式route:设置路由表netstat:查看网络连接pi..
分类:
系统相关 时间:
2016-03-27 00:07:35
阅读次数:
188
#!/bin/bashneteth0=`/sbin/mii-tooleth0|awk‘{print$5}‘`neteth1=`/sbin/mii-tooleth1|awk‘{print$5}‘`if[[$neteth0=="ok"]]||[[$neteth1=="ok"]];thenecho"Networkisok">>/var/log/ha-net.logecho"networkgood"else[[$neteth0!="ok"]]&&[[$neteth1!="ok"]]echo..
分类:
其他好文 时间:
2015-11-04 19:35:26
阅读次数:
185
---------------check NIC-----------------①mii-tool 命令 ②ethtool 命令 -i 参数,显示网卡的驱动信息, -S 参数,底层工作状态信息③dmesg | grep eth0 命令---------------IP alias---------...
分类:
系统相关 时间:
2015-09-05 11:09:26
阅读次数:
247
一、简介 mii-tool 是一个用来查看,管理介质的网络接口的状态的工具。 二、选项 usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...] -V, --version display version informat...
分类:
系统相关 时间:
2015-09-03 17:58:44
阅读次数:
272