Problems with the driver

Jorge Lanza jlanza@atc.unican.es
Fri Feb 4 07:05:04 2000


Hellow, I'm a user of an Inter PRO/100+ Management Adapter, and I 've
got 4 PC's running LINUX.

As in the  departament there is an 100Mbps Ethernet the PC's
autonegociated their speed and established it to 100Mbps. But in the
proyect I'm working in, it's necesary to change the speed, to decrease
it just to see how the networks behaviour is at a lower speed.

For changing that speed I've done the following script :

#!/bin/tcsh
echo "eth0 going down"
/sbin/ifconfig eth0 down
echo "removing module eepro100"
/sbin/rmmod eepro100
sleep 1
echo "iniciating module eepro100 with new options"
/sbin/insmod -f /lib/modules/2.2.12-20/net/eepro100.o options=$1
echo "eth0 going up"
/sbin/ifconfig eth0 xxx.xxx.xxx.xxx netmask 255.255.255.0  \
               broadcast xxx.xxx.xxx.255 up
echo " "
echo "Checking ..."
/sbin/ifconfig eth0
./mii-diag

As can be read at
http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
the possibles options are 0x10,0x20,0x40,... and for autonegotiation 0.

However, when I put the options=0 the adapter mantain the same
configuration as before, it doesn't autonegociated. Why? I don't know.
And the other problem is that when I set a 10Mbps speed then when I
tried to set it to 100Mbps the link is lost, it can established a link
between the adapter and the switch.

Any help will be welcome.
Thank you.
-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-eepro100-request@beowulf.org