On Wed, Mar 05, 2003 at 07:22:20PM -0500, Jeff Kinz wrote:
> On Wed, Mar 05, 2003 at 03:10:07PM -0900, Don Leeper wrote:
> > Can anyone tell me how to change the duplex on a NIC?
> 
> The mii-tool command can set some params on a NIC but the docs don't
> indicate the ability to set the duplex. just the speed and whether it
> auto negotiates.  

And (following up to my own post ;-) after poking around for a minute 
via google I found that even Donald Becker is stymied by this particular
issue.  Each NIC is so different that each vendor must provide their own
support for doing this to each different NIX.  For example 3com requires you
to set option on the "insmod" command line when the kernel is coming up
(i.e - boot time) to set the card in full duplex mode.  And to do this you
firts have to build the driver as a loadable module.


from: http://support.3com.com/infodeli/tools/nic/linux/990fxreadme.txt:

########################################################################
    
Configuration options for the Driver Module
===========================================
    The 3C990 driver supports the following options, which can be 
    supplied as command line arguments to the insmod command or in the 
    configuration file. Configuration file on RedHat 6.x is
    /etc/conf.modules file. Configuration file on RedHat 7.x is
    /etc/modules.conf

    Unless otherwise stated, all settings take the form of:
        
    force=value [,value ]
        
    value can be 
        1) 0        [10 Megabit Half Duplex]
        2) 1        [10 Megabit Full Duplex]
        3) 2        [100 Megabit Half Duplex]
        4) 3        [100 Megabit Full Duplex]
        5) 4        [Default option: Auto]

    NOTE:  If you use the conf.modules file to load the driver at
    boot time, include the word "options" when configuring the driver.
    For example:  options 3c990 force=0
        
    If you use command line insmod, do not include the word "option"
    when configuring the driver. For example:  #insmod ./3c990.o force=0
    will force the 10 Megabit half duplex settings.
 
    If you have multiple adapters, settings can be done by specifying the 
    value of force for each adapter. For example:

    a) #insmod ./3c990.o force=0,2
 
       This will force the settings for first NIC to 10 Megabit Half Duplex 
       and the second NIC to 100 Megabit Full duplex.

#############################################################################


This looks like a tough one Don.  I hope somebody on-list knows something
more useful about this.



-- 
Jeff Kinz, Open-PC, Emergent Research,  Hudson, MA.  [EMAIL PROTECTED]
copyright 2003.  Use is restricted. Any use is an 
acceptance of the offer at http://www.kinz.org/policy.html.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to