Determening duplex setting on NIC

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?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Is there anything useful in the dmesg output?
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


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
joolsSenior Systems AdministratorCommented:
Does ethtool exist on that version?

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

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.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.