Chris Marget on 26 May 2006 20:41:16 -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 is a for 100Mb/s cards only.

you have gigabit NICs.

ethtool is probably the command you want to use.

mii == media independent interface

i think it refers to a layer within the NIC that's just above the
transceiver.  802.3u (i think) supports transceivers for media other
than dual twisted pair.

/chris

On Fri, 26 May 2006, George Gallen wrote:

> The cards I have are 3com 3c996B-T at least as reported in the /proc info file
> and they are using the boardcom bcm5700 drivers.
>  
> Any here using this combo? (it's on a Xeon based motherboard)
>  
> George
> 
> -----Original Message-----
> From: plug-bounces@lists.phillylinux.org [mailto:plug-bounces@lists.phillylinux.org]On Behalf Of George Gallen
> Sent: Friday, May 26, 2006 3:12 PM
> To: Philadelphia Linux User's Group Discussion List
> Subject: RE: [PLUG] How do you set a NIC to only be 10mbs in Linux?
> 
> 
> 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
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug