On 2016 Aug 31 (Wed) at 17:04:38 +0200 (+0200), Stefan Sperling wrote:
:This makes ifconfig display baudrates defined in ifmedia.h tables.
:
:Before (prints media subtype):
:
:$ ifconfig iwn0 | grep media:
:        media: IEEE802.11 autoselect (OFDM6 mode 11a)
:$ ifconfig em0 | grep media: 
:        media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
:
:After (prints corresponding baudrate):
:
:$ ifconfig iwn0 | grep media:
:        media: IEEE802.11 autoselect (6Mbps mode 11a)
:$ ifconfig em0 | grep media: 
:        media: Ethernet autoselect (100Mbps full-duplex,rxpause,txpause)

For wifi, I have no opinion.

For wired ethernet, NO!

We _need_ that information for fiber interfaces.  For some of our IXP
connected switches, that is how we can tell which is external, and which
is internal.


-- 
Have you ever noticed that the people who are always trying to tell
you, "There's a time for work and a time for play," never find the time
for play?

Reply via email to