Yeah, mii-tools lets you do that. If that doesn't work, then ethtool should.
-----Original Message----- From: Florian Ernst [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 7:06 AM To: [EMAIL PROTECTED] Subject: Re: Stepping down ethernet card speed Hello Ross, Ross Boylan wrote: > Because of some network problems, it looks as if I need to tell my > ethernet card to operate at a certain speed, rather than letting it > autosense. How do I do that? Is it a run-time thing (e.g., > ifconfig), or do I need to set it as a kernel option on load? Perhaps mii-diag might help you... > [EMAIL PROTECTED]:~$ apt-cache show mii-diag > Package: mii-diag > (...) > Description: A little tool to manipulate network cards Examines and > sets the MII registers of network cards. . > This is a general program. You can find specialized programs for > several network cards in the nictools-pci and nictools-nopci packages. > >From its manpage: > -A, --advertise [Mode] > Change the capabilities advertised by your network interface. Currently the following modes are allowed: 100baseT4, > 100baseTx 100baseTx-FD, 100baseTx-HD, 10baseT, 10baseT-FD and 10baseT-HD. > (...) > -F, --fixedspeed > Force your network interface to a speed mode. Currently the following modes are allowed: 100baseT4, 100baseTx 100baseTx- > FD, 100baseTx-HD, 10baseT, 10baseT-FD and 10baseT-HD. > To set the speed automagically once the network starts up I personally use this: > [EMAIL PROTECTED]:~$ cat /etc/network/interfaces > # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) > > # The loopback interface > auto lo > iface lo inet loopback > > # The first network card - this entry was created during the Debian installation > # (network, broadcast and gateway are optional) > auto eth0 > iface eth0 inet static > address 192.168.0.1 > netmask 255.255.255.0 > up mii-tool -F 100baseTx-FD eth0 Any comments are appreciated... HTH, Flo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]