RE: Stepping down ethernet card speed
Yeah, mii-tools lets you do that. If that doesn't work, then ethtool should.
From: Florian Ernst [mailto:email@example.com]
Sent: Wednesday, June 18, 2003 7:06 AM
Subject: Re: Stepping down ethernet card speed
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...
> fernst@live:~$ 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
>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
> fernst@live:~$ 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
> # (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...
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact