2003-02-24 03:20:00

by Xinwen Fu

[permalink] [raw]
Subject: how to force 10/100 speeds in Linux?

Hi,
My Linux (Redhat 7.2) box has two network cards with built-in
drivers in OS's kernel. One card is 10/100 netgear, and the other is
10/100 cnet.

How can I force the speeds of the two cards at 10Mbps or 100Mbps?
Where can I find the parameter list to do such forcing?

Thanks!

Xinwen Fu


2003-02-24 04:01:11

by Brian Jackson

[permalink] [raw]
Subject: Re: how to force 10/100 speeds in Linux?

mii-tool

it's part of net-tools, HTH

--Brian


On Sunday 23 February 2003 09:30 pm, Xinwen Fu wrote:
> Hi,
> My Linux (Redhat 7.2) box has two network cards with built-in
> drivers in OS's kernel. One card is 10/100 netgear, and the other is
> 10/100 cnet.
>
> How can I force the speeds of the two cards at 10Mbps or 100Mbps?
> Where can I find the parameter list to do such forcing?
>
> Thanks!
>
> Xinwen Fu
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2003-02-24 07:11:55

by Paul Rolland

[permalink] [raw]
Subject: Re: how to force 10/100 speeds in Linux?

> How can I force the speeds of the two cards at 10Mbps
> or 100Mbps? Where can I find the parameter list to do such forcing?
>
Have a look at :
- mii-tool
- ethtool
depending on your card.

Regards,
Paul


2003-02-24 18:23:30

by Xinwen Fu

[permalink] [raw]
Subject: how to force 10/100 speeds in Linux if both ethtool and mii-tool don't work

Hi,
For one of my machines, both ethtool and mii-tool don't work. Here
are the error messages:

(mii-tool)
SIOCGMIIPHY on 'eth0' failed: invalid argument
.............................................
SIOCGMIIPHY on 'eth7' failed: invalid argument
no MII interfaces found

(ethtool eth0)
setting for eth0:
no data available

I tried some other parameters and go similar results.

What else can we do to force the speed?


Xinwen Fu


On Mon, 24 Feb 2003, Paul Rolland wrote:

> > How can I force the speeds of the two cards at 10Mbps
> > or 100Mbps? Where can I find the parameter list to do such forcing?
> >
> Have a look at :
> - mii-tool
> - ethtool
> depending on your card.
>
> Regards,
> Paul
>
>
>

2003-02-24 20:29:23

by Jeff Garzik

[permalink] [raw]
Subject: Re: how to force 10/100 speeds in Linux if both ethtool and mii-tool don't work

On Mon, Feb 24, 2003 at 12:27:31PM -0600, Xinwen Fu wrote:
> Hi,
> For one of my machines, both ethtool and mii-tool don't work. Here
> are the error messages:
>
> (mii-tool)
> SIOCGMIIPHY on 'eth0' failed: invalid argument
> .............................................
> SIOCGMIIPHY on 'eth7' failed: invalid argument
> no MII interfaces found
>
> (ethtool eth0)
> setting for eth0:
> no data available

What NIC driver are you using?

It is the responsibility of the NIC driver to provide this information.

Jeff




2003-02-26 19:48:35

by Xinwen Fu

[permalink] [raw]
Subject: mii-tool works - but need compiled again

It seems that my TimeSys OS uses a different library from the standard
Linux. Following Mark Hahn's suggestion, what we need do is to recompile
mii-tool.

Thanks all!


Xinwen Fu


On Mon, 24 Feb 2003, Jeff Garzik wrote:

> On Mon, Feb 24, 2003 at 12:27:31PM -0600, Xinwen Fu wrote:
> > Hi,
> > For one of my machines, both ethtool and mii-tool don't work. Here
> > are the error messages:
> >
> > (mii-tool)
> > SIOCGMIIPHY on 'eth0' failed: invalid argument
> > .............................................
> > SIOCGMIIPHY on 'eth7' failed: invalid argument
> > no MII interfaces found
> >
> > (ethtool eth0)
> > setting for eth0:
> > no data available
>
> What NIC driver are you using?
>
> It is the responsibility of the NIC driver to provide this information.
>
> Jeff
>
>
>
>
>