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
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/
> 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
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
>
>
>
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
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
>
>
>
>
>