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, |
Code:
dmesg | grep eth0 |
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, |
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. |