public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* how to force 10/100 speeds in Linux?
@ 2003-02-24  3:30 Xinwen Fu
  2003-02-24  4:09 ` Brian Jackson
  2003-02-24  7:22 ` Paul Rolland
  0 siblings, 2 replies; 6+ messages in thread
From: Xinwen Fu @ 2003-02-24  3:30 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to force 10/100 speeds in Linux?
  2003-02-24  3:30 how to force 10/100 speeds in Linux? Xinwen Fu
@ 2003-02-24  4:09 ` Brian Jackson
  2003-02-24  7:22 ` Paul Rolland
  1 sibling, 0 replies; 6+ messages in thread
From: Brian Jackson @ 2003-02-24  4:09 UTC (permalink / raw)
  To: Xinwen Fu, Linux Kernel Mailing List

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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to force 10/100 speeds in Linux?
  2003-02-24  3:30 how to force 10/100 speeds in Linux? Xinwen Fu
  2003-02-24  4:09 ` Brian Jackson
@ 2003-02-24  7:22 ` Paul Rolland
  2003-02-24 18:27   ` how to force 10/100 speeds in Linux if both ethtool and mii-tool don't work Xinwen Fu
  1 sibling, 1 reply; 6+ messages in thread
From: Paul Rolland @ 2003-02-24  7:22 UTC (permalink / raw)
  To: 'Xinwen Fu', 'Linux Kernel Mailing List'

> 	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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* how to force 10/100 speeds in Linux if both ethtool and mii-tool don't work
  2003-02-24  7:22 ` Paul Rolland
@ 2003-02-24 18:27   ` Xinwen Fu
  2003-02-24 20:39     ` Jeff Garzik
  0 siblings, 1 reply; 6+ messages in thread
From: Xinwen Fu @ 2003-02-24 18:27 UTC (permalink / raw)
  To: Paul Rolland; +Cc: 'Linux Kernel Mailing List'

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to force 10/100 speeds in Linux if both ethtool and mii-tool don't work
  2003-02-24 18:27   ` how to force 10/100 speeds in Linux if both ethtool and mii-tool don't work Xinwen Fu
@ 2003-02-24 20:39     ` Jeff Garzik
  2003-02-26 19:58       ` mii-tool works - but need compiled again Xinwen Fu
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Garzik @ 2003-02-24 20:39 UTC (permalink / raw)
  To: Xinwen Fu; +Cc: Paul Rolland, 'Linux Kernel Mailing List'

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* mii-tool works - but need compiled again
  2003-02-24 20:39     ` Jeff Garzik
@ 2003-02-26 19:58       ` Xinwen Fu
  0 siblings, 0 replies; 6+ messages in thread
From: Xinwen Fu @ 2003-02-26 19:58 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Paul Rolland, 'Linux Kernel Mailing List'

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-26 19:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-24  3:30 how to force 10/100 speeds in Linux? Xinwen Fu
2003-02-24  4:09 ` Brian Jackson
2003-02-24  7:22 ` Paul Rolland
2003-02-24 18:27   ` how to force 10/100 speeds in Linux if both ethtool and mii-tool don't work Xinwen Fu
2003-02-24 20:39     ` Jeff Garzik
2003-02-26 19:58       ` mii-tool works - but need compiled again Xinwen Fu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox