Re: interface speed support
- From: Miguel Lopes Santos Ramos <miguel@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 29 Oct 2007 23:48:19 GMT
From: "David Yeske" <dyeske@xxxxxxxxx>
Is there a way to determine the supported interface speed of a
particular driver? If I have a gigabit ethernet device connected to a
100baseTX switch, how can I determine the interface supports gigabit
ethernet? I have tried parsing the following. Is there a cleaner way
to do this?
sysctl -A | grep phy | grep desc
I think using that line you're only checking what kind of phy device you have.
If it is connected to a 100baseTX switch, it must be using 100baseTX.
For controlling and querying the media type that you're actually using, you
can use ifconfig media parameter.
The actual value that this parameter accepts are device dependent but
in practice quite standard like 100baseTX or 1000baseTX.
say, ifconfig | grep media:
Greetings,
Miguel
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- References:
- interface speed support
- From: David Yeske
- interface speed support
- Prev by Date: Re: rrdtool performance tuning (fwd)
- Next by Date: Re: RFC: Evolution of the em driver
- Previous by thread: Re: interface speed support
- Next by thread: connection timed out on freebsd 7.0
- Index(es):
Relevant Pages
|