LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NIC speed & Duplex (https://www.linuxquestions.org/questions/linux-newbie-8/nic-speed-and-duplex-258796/)

depdiver 11-24-2004 09:56 AM

NIC speed & Duplex
 
Is there a command I can run to display the speed & duplex setting of my network card? Backups of my new server are painfully slow, I suspect I have a duplex mis-match, but I can't figure out how to tell what it is set currently.

Thanks,

Joey.Dale 11-24-2004 10:03 AM

Code:

dmesg | grep eth0
-Joey

depdiver 11-24-2004 10:26 AM

Thanks,
but now I'm more confused. I ran the dmesg and received duplex was half, I also ran ethtool eth0 and it told me full duplex. I'm guessing, by evidence of the backups, that dmesg is giving me the correct info, but shouldn't ethtool agree?

Thanks,

depdiver 11-24-2004 01:51 PM

I'm starting to figure this out, but I'm running into one thing I haven't been able to figure out. How do I make changes with ethtool permanent?

I did the following:

ethtool -s eth0 autoneg off duplex full
ifdown eth0
ifup eth0

I then did a ethtool eth0 and it showed full duplex and autonegotiate off

I ran dmesg | grep eth0
it showed 100 meg full duplex

I was happy
I re-booted the server

I ran dmesg | grep eth0
it showed 100 meg half duplex

I ran ethtool eth0
it showed half duplex autonegotiate on

What do I need to do to make the settings "stick"?


All times are GMT -5. The time now is 11:34 PM.