LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Changing connection spped setting for network card (https://www.linuxquestions.org/questions/linux-networking-3/changing-connection-spped-setting-for-network-card-316974/)

Saxton 04-25-2005 11:00 AM

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 :confused:

bulliver 04-25-2005 01:18 PM

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...

Saxton 04-25-2005 02:06 PM

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

bulliver 04-25-2005 02:33 PM

Good one...

Saxton 06-07-2005 11:16 AM

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


All times are GMT -5. The time now is 07:46 AM.