Hi all,
where do I find information about the current link state of the ethernet PHY
(e.g. 100mbit/s full duplex) ?
Something like /proc/sys/net/* ?
Thanks
Bernhard
I don't have an answer but a related question:
Is there any "standard ioctl" to force an interface
to a certain link state, eg. auto, 10Mbs, 100Mbps,
half/full duplex etc.?
If not, can we create a standard ioctl mechanism for it?
/Johan
----- Original Message -----
From: Bernhard Bender <[email protected]>
To: <[email protected]>
Sent: Friday, April 06, 2001 16:54
Subject: ethernet phy link state info
>
>
> Hi all,
>
> where do I find information about the current link state of the ethernet
PHY
> (e.g. 100mbit/s full duplex) ?
> Something like /proc/sys/net/* ?
>
> Thanks
> Bernhard
>
>
> -
> 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/
>
Try http://www.scyld.com/diag/
[email protected] ("Johan Adolfsson") writes:
> I don't have an answer but a related question:
> Is there any "standard ioctl" to force an interface
> to a certain link state, eg. auto, 10Mbs, 100Mbps,
> half/full duplex etc.?
>
> If not, can we create a standard ioctl mechanism for it?
>
> /Johan
>
> ----- Original Message -----
> From: Bernhard Bender <[email protected]>
> To: <[email protected]>
> Sent: Friday, April 06, 2001 16:54
> Subject: ethernet phy link state info
>
>
> >
> >
> > Hi all,
> >
> > where do I find information about the current link state of the ethernet
> PHY
> > (e.g. 100mbit/s full duplex) ?
> > Something like /proc/sys/net/* ?
> >
> > Thanks
> > Bernhard
> >
> >
> > -
> > 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/
> >
>
> -
> 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/
>
--
Mathieu CHOUQUET-STRINGER E-Mail : [email protected]
Learning French is trivial: the word for horse is cheval, and
everything else follows in the same way.
-- Alan J. Perlis
Bernhard Bender wrote:
> where do I find information about the current link state of the ethernet PHY
> (e.g. 100mbit/s full duplex) ?
> Something like /proc/sys/net/* ?
/sbin/mii-tool
--
Jeff Garzik | Sam: "Mind if I drive?"
Building 1024 | Max: "Not if you don't mind me clawing at the dash
MandrakeSoft | and shrieking like a cheerleader."
Johan Adolfsson wrote:
> I don't have an answer but a related question:
> Is there any "standard ioctl" to force an interface
> to a certain link state, eg. auto, 10Mbs, 100Mbps,
> half/full duplex etc.?
/sbin/mii-tool should do this on most network cards.
--
Jeff Garzik | Sam: "Mind if I drive?"
Building 1024 | Max: "Not if you don't mind me clawing at the dash
MandrakeSoft | and shrieking like a cheerleader."
You need to use diagnostic or setup utility of that specific device, the
utility usually comes with the specific driver using the driver to receive
info about mii registers (the registers in charge of full/half 10/100 etc').
you can find many drivers and diagnostic utilities at http://www.scyld.com/.
Ofer
-----Original Message-----
From: Bernhard Bender [mailto:[email protected]]
Sent: Friday, April 06, 2001 4:55 PM
To: [email protected]
Subject: ethernet phy link state info
Hi all,
where do I find information about the current link state of the ethernet PHY
(e.g. 100mbit/s full duplex) ?
Something like /proc/sys/net/* ?
Thanks
Bernhard