DISQUS

Tech-Recipes: Determine Linux ethernet interface speed and duplex | Linux networking | Tech-Recipes

  • archon · 5 years ago
    When I run mii-tool, it fails and prints:
    SIOCGMIIPHY on 'eth0' failed: Operation not supported
    no MII interfaces found



    I am running this as root. Does this just mean my ethernet card does not support MII (whatever that is)?
  • qmchenry · 5 years ago
    It is possible that your network card does not support MII (media independent interface, essentially an abstraction layer between the operating system and the hardware). Depending on your OS, there may be an ethtool command which is similiar and might work for you, although the syntax is different -- try ethtool -v. If this doesn't work, let us know what OS you are running and what kind of ethernet card you are using. An easy way to find out is to run dmesg | grep ^eth0 and look at the first line or few lines.
  • Anonymous · 5 years ago
    same case here. Running fedora core 1
    any help how to use mii-tool
  • Anonymous · 4 years ago
    <ul id="quote"><h6>archon wrote:</h6>When I run mii-tool, it fails and prints:
    SIOCGMIIPHY on 'eth0' failed: Operation not supported
    no MII interfaces found



    I am running this as root. Does this just mean my ethernet card does not support MII (whatever that is)?</ul>
  • veriguest · 4 years ago
    hi,

    i am looking at programming the mii-interface, to test the effect of cable pulling and re-inserting actions (physically) on my code. However, everytime going to the test-m/c is uncomfortable.

    is there any possiblities that i can program the interface using mii or some such interface to have the same effect? i dont want to use the ifconfig as kernel gets to know about it.

    --a