Re: interface speed support



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"



Relevant Pages

  • Re: Vista composite signal
    ... Since Media Center users are used to ... Vista comes with a DVD codec, so you don't have to go buy one. ... chooses the right tuner. ... If you're asking about being able to switch between watching TV and ...
    (microsoft.public.windows.mediacenter)
  • Re: [HEADS-UP] BSD sort is the default sort in -CURRENT
    ... we frequently avoid updating the old versions ... GNU grep they are both unmaintained and replacements ... In the case of grep, there were a fairly large number of people who ... switch the default back. ...
    (freebsd-current)
  • Re: Abysmal re(4) performance under 8.1-STABLE (mid-August)
    ... forced full-duplex media and you use auto media, ... auto-negotiation. ... Luckily the provider switch me to another switch that is set to ... MFCs) I get an average packet loss of 10-20%. ...
    (freebsd-stable)
  • Re: Abysmal re(4) performance under 8.1-STABLE (mid-August)
    ... forced full-duplex media and you use auto media, ... auto-negotiation. ... Luckily the provider switch me to another switch that is set to ... MFCs) I get an average packet loss of 10-20%. ...
    (freebsd-stable)
  • Re: HDMI audio for Media Center and Line Out for rest?
    ... switch the audio device to the TV through hdmi if it is, ... to the desktop speakers if media center is not the active window. ... is there a way to automatically specify different audio outputs ...
    (microsoft.public.windows.mediacenter)