Skip to contentSkip to conversation

ethernet phy link state info

DISCUSSION Bernhard Bender 4 participants 5 messages Apr 6, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

Quoted 5 lines

Hi all,

where do I find information about the current link state of the ethernet

PHY

Quoted 13 lines

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

#2 lore raw
In reply to Bernhard Bender

Try http://www.scyld.com/diag/

Quoted 42 lines · [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

Quoted 5 lines

Hi all,

where do I find information about the current link state of the ethernet

PHY

Quoted 7 lines

(e.g. 100mbit/s full duplex) ?
Something like /proc/sys/net/* ?

Thanks
Bernhard

Quoted 6 lines

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

Signature · 4 lines
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
#3 lore raw
In reply to Bernhard Bender
Quoted 3 lines · Bernhard Bender

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

Signature · 3 lines
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."
#4 lore raw
In reply to Bernhard Bender
Quoted 4 lines · Johan Adolfsson

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.

Signature · 3 lines
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."