LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-25-2005, 11:00 AM   #1
Saxton
LQ Newbie
 
Registered: Apr 2005
Posts: 12

Rep: Reputation: 0
Changing connection spped setting for network card


Howdy,

When I installed red hat 9 our network was running at 100Mbps half duplex. Now it is running at 100Mbps full duplex, but it seems the network card still thinks it is half duplex. Is there some way to manually change this setting?

Saxton
 
Old 04-25-2005, 01:18 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
The connection speed/settings are auto-negotiated. If you have already restarted the interface with no change, then I would look at your cabling. Is it at least CAT5? Also keep in mind that the settings used will be the lowest common denominator (ie: as fast as the slowest link in the chain. Full-Duplex will not work unless both ends can deal with it...
 
Old 04-25-2005, 02:06 PM   #3
Saxton
LQ Newbie
 
Registered: Apr 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the reply, bulliver.

I tried one more google and found some good info at http://www.yolinux.com/TUTORIALS/Lin...ml#CONFIGFILES

The page mentions 2 tools... mii-tool, and ethtool, which allow you to turn off autonegotiation of link speed, and to force a link speed, e.g., 100baseTx-FD (for full duplex). That did the trick.

My PHP pages that create dynamic png's are now happy.

-- Saxton
 
Old 04-25-2005, 02:33 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Good one...
 
Old 06-07-2005, 11:16 AM   #5
Saxton
LQ Newbie
 
Registered: Apr 2005
Posts: 12

Original Poster
Rep: Reputation: 0
For what it's worth,

I used this command to turn off autonegotiation and force the nic to Full Duplex:

mii-tool --force=100baseTx-FD

However, upon restarting the machines autonegotiation remained off, but the connection changed to Half Duplex.

So I had to put the above command into /etc/rc.d/rc3.d/S99local, and that solved it.

Saxton
 
  


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
Problem with setting up network card / network ssmeets Linux - Hardware 3 11-03-2005 03:46 PM
Changing the network card speed balasarius Linux - Newbie 5 09-22-2005 11:58 AM
Setting up Suse9.1 to use ADSL connection, on my Windows network. andre_bergh Linux - Networking 4 03-23-2005 06:36 AM
Setting up a connection to a school network... redkazan Linux - Networking 0 01-20-2004 02:24 AM
Setting up a new network connection? Nikon01 Slackware 2 12-02-2003 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:29 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
Open Source Consulting | Domain Registration