LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2004, 10:56 AM   #1
depdiver
Member
 
Registered: Aug 2004
Distribution: RedHat Enterprise, SLED 10, Freespire
Posts: 49

Rep: Reputation: 15
Question 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,
 
Old 11-24-2004, 11:03 AM   #2
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 30
Code:
dmesg | grep eth0
-Joey
 
Old 11-24-2004, 11:26 AM   #3
depdiver
Member
 
Registered: Aug 2004
Distribution: RedHat Enterprise, SLED 10, Freespire
Posts: 49

Original Poster
Rep: Reputation: 15
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,
 
Old 11-24-2004, 02:51 PM   #4
depdiver
Member
 
Registered: Aug 2004
Distribution: RedHat Enterprise, SLED 10, Freespire
Posts: 49

Original Poster
Rep: Reputation: 15
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"?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed/Duplex NIC card dherve Linux - Networking 1 11-23-2005 08:52 PM
NIC link speed and duplex joe_wilkins2001 Linux - Networking 1 03-03-2005 10:07 PM
Setting NIC Link Speed and Duplex rpdalton Linux - Newbie 3 03-12-2004 02:31 PM
how do i hard set NIC speed/duplex in RH9? dav7500 Linux - Hardware 1 03-04-2004 09:15 PM
How do I force speed and duplex? daveherrmann Linux - Networking 10 04-18-2002 02:55 PM


All times are GMT -5. The time now is 06:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration