######################################################## # Searchable Keywords: interface speed duplex network mii-tool miitool # # Media Independant Interface(mii) mii-tool allows a view to status and manipulation of the network interface. with no option it display the current link and speed: # mii-tool eth0: negotiated 100baseTx-FD, link ok usage: # mii-tool -h usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...] -V, --version display version information -v, --verbose more verbose output -R, --reset reset MII to poweron state -r, --restart restart autonegotiation -w, --watch monitor for link status changes -l, --log with -w, write events to syslog -A, --advertise=media,... advertise only specified media -F, --force=media force specified media technology media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD, (to advertise both HD and FD) 100baseTx, 10baseT set the link speed to 100mb and duplex to full # mii-tool -F 100baseTx-FD <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> mii-tool has been obsoleted and replaced with ethtool(at least on RedHat) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ethtool (not useful as mii-tool but who am i) -S Shows statistics(if there are any) -s --change Allows changing some or all settings of the specified ethernet device. All following options only apply if -s was specified. speed 10|100|1000|2500 Set speed in Mb/s. ethtool with just the device name as an argument will show you the supported device speeds. duplex half|full Sets full or half duplex mode. port tp|aui|bnc|mii Selects device port. autoneg on|off Specifies whether autonegotiation should be enabled. Autonego- tiation is enabled by deafult, but in some network devices may have trouble with it, so you can disable it if really neces- sary. ethtool -s ethX [speed 10|100|1000|2500] [duplex half|full] [port tp|aui|bnc|mii] [autoneg on|off] [advertise N] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...] [sopass xx:yy:zz:aa:bb:cc] [msglvl N] examples: # ethtool eth0 <----------------- Get statistics # ethtool eth0 -s speed 1000 <-- set speed # ethtool -i eth0 <-------------- Get driver info driver: pcnet32 version: 1.31 firmware-version: bus-info: 0000:00:11.0 NOTE: the good news is that this not completely suppported on all NICS. Seriously, another argument just to use another Linux distro.