mii-tool
checks network link status
TLDR
Show interface status
$ mii-tool [eth0]
Show all interfacescopy
$ mii-tool
Verbose outputcopy
$ mii-tool -v [eth0]
Watch statuscopy
$ mii-tool -w [eth0]
Force speedcopy
$ mii-tool -F [100baseTx-FD] [eth0]
Reset interfacecopy
$ mii-tool -R [eth0]
copy
SYNOPSIS
mii-tool [options] [interface]
DESCRIPTION
mii-tool checks network link status. It shows speed, duplex, and link state.The tool uses MII (Media Independent Interface) to query Ethernet adapters. Supported media types include 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, and 10baseT-HD.
PARAMETERS
INTERFACE
Network interface.-v
Verbose output.-w
Watch for changes.-F MEDIA
Force media type.-R
Restart negotiation.-A MEDIA,MEDIA,...
Advertise only specified media types for autonegotiation.-V
Display version information.--help
Display help information.
CAVEATS
Deprecated, use ethtool. Not for all adapters. Requires root.
HISTORY
mii-tool was a net-tools utility for checking Ethernet link status, now superseded by ethtool.