Determening duplex setting on NIC

Posted on 2006-04-26
Last Modified: 2010-03-17
Hi All,

We have a couple of Redhat 7.x servers

I need to document the NIC duplex settings and speed.

On kernel 2.4.18-3, I use mii-tool and get the info I want.

However, some of the servers still run kernel 2.2.19-x and mii-tool doesn't seem to be installed.

Short from downloading and installing the rpm, what command can I use to determine the duplex / speed of the NIC?

Question by:m0nk3yza
    LVL 3

    Expert Comment

    Is there anything useful in the dmesg output?
    LVL 7

    Accepted Solution

    Chances are that kernels that old are running hardware that does not support MII tranceiver status, but assuming
    that the hardware DOES support it, simply download mii-diag from Donald Becker

    make mii-diag
    mv mii-diag /usr/local/sbin

    PS: He's the guy who probably wrote the device driver for your card, so you should be able to trust the code here

    LVL 19

    Assisted Solution

    Does ethtool exist on that version?

    It's been so long I really can't remember.

    LVL 7

    Expert Comment

    It may have been.  

    A *quick* check for ethtool seems to indicate it wasn't in RH6.1, but I don't have that distro handy.

    But since mii-diag is such a small program (one file), its probably easier and faster to grab it rather than track down
    any rpm's for his systems.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now