How to force a network card to be 100Mbits/s, full-duplex?

How to force a network card to be 100Mbits/s, full-duplex?

Post by Kent » Mon, 23 Sep 2002 01:42:59



Dlink DFE530TX, via-rhine.o
 
 
 

How to force a network card to be 100Mbits/s, full-duplex?

Post by Marco Sha » Mon, 23 Sep 2002 10:21:51



> Dlink DFE530TX, via-rhine.o

I couldn't find much via google.com or deja.com, so to the source it
is...


/usr/src/linux-2.4.7-10/drivers/net

<...snip...>

/* Used to pass the media type, etc.
   Both 'options[]' and 'full_duplex[]' should exist for driver
   interoperability.
   The media type is usually passed in 'options[]'.
   The default is autonegotation for speed and duplex.
     This should rarely be overridden.
   Use option values 0x10/0x20 for 10Mbps, 0x100,0x200 for 100Mbps.
   Use option values 0x10 and 0x100 for forcing half duplex fixed speed.
   Use option values 0x20 and 0x200 for forcing full duplex operation.
*/

<...snip...>

So my best guess is /etc/modules.conf:

alias eth0 via-rhine
options via-rhine options=0x200

------
Marco

PS Remove the "Z" in my address to reply directly.