On Thu, Mar 13, 2003 at 12:33:23PM +1000, [EMAIL PROTECTED] wrote:

> Does anyone know how to change your network card settings from auto to (
> 10/100, full/half ) as the xircom pcmcia card does not auto negotiate with
> Cisco 4000 switch to well. Also the Cisco has spanning tree running.

There is the "ifport" command will configure a port to a specific
setting, if you run it with no options it says:

# ifport
usage: ifport interface [auto|10baseT|10base2|aui|100baseT|##]

it will also tell you what the port is set to, like so:

# ifport eth0
eth0    0 (Auto)

> linux ver - Mandrake 8.1, module used - tulop_cb & cb_enabler

Hmm, I'm using Mandrake 9.0, but the nearest I have to that is a
module called "xircom_tulip_cb". You can find what parameters can
be set on a module by using the modinfo command, so my system says:

# modinfo xircom_tulip_cb
filename:    /lib/modules/2.4.19-16mdk/kernel/drivers/net/pcmcia/xircom_tulip_cb.o.gz
description: "Xircom CBE-100 ethernet driver"
author:      "Donald Becker <[EMAIL PROTECTED]>"
license:     "GPL v2"
parm:        debug int
parm:        max_interrupt_work int
parm:        rx_copybreak int
parm:        csr0 int
parm:        options int array (min = 1, max = 4)
parm:        full_duplex int array (min = 1, max = 4)

So that will let you set the duplex when the module loads, at least!
To do that you will need to add the following line into /etc/modules.conf:

options xircom_tulip_cb duplex=?

You'd need to look at the documentation or source for the module to find
what the various values of duplex match.

good luck!
Chris

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to