Chris Sandy on 26 May 2006 19:30:56 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: [PLUG] How do you set a NIC to only be 10mbs in Linux?


mii-tool didn’t work for me when I tried that same command last month, but I did find another that works.

 

ethtool -s eth1 speed 10 duplex full autoneg off

 

Of do half instead of full

Works for setting it to 100 as well

 


From: plug-bounces@lists.phillylinux.org [mailto:plug-bounces@lists.phillylinux.org] On Behalf Of Henry Umansky
Sent: Friday, May 26, 2006 3:27 PM
To: Philadelphia Linux User's Group Discussion List
Subject: Re: [PLUG] How do you set a NIC to only be 10mbs in Linux?

 

Silly question, but are you running mii-tool as root? Small detail I failed to mention.

 

-Henry

 

 

On May 26, 2006, at 3:11 PM, George Gallen wrote:



SIOCGMIIPHY on 'eth1' failed: Operation not supported

is what I get from mii-tool on that particular NIC (or any of the 3 others of that type card).

George

-----Original Message-----
From: plug-bounces@lists.phillylinux.org [mailto:plug-bounces@lists.phillylinux.org]On Behalf Of Henry Umansky
Sent: Friday, May 26, 2006 2:43 PM
To: Philadelphia Linux User's Group Discussion List
Subject: Re: [PLUG] How do you set a NIC to only be 10mbs in Linux?

You didn't really get into much details with the problems you are having, I guess you are having trouble connecting to your hub, switch, router, etc. If thats the case, then try this command:

 

mii-tool -F 10baseTx ethX

 

replace ethX with your NIC interface (eth0, eth1, etc). You might also need to change the duplex to half duplex to prevent collisions. If thats the case replace "10baseTx" with "10baseTx-HD". Also make sure you don't have any other media connected to your hub, switch, etc that is 100 mbps full duplex, otherwise you will see a lot of collisions. If this doesn't work, describe your problem in a little more detail.

 

-Henry

 

___________________________________________________________________________

Philadelphia Linux Users Group -- http://www.phillylinux.org

 

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug