Does freebsd have the equivelent command to linux mii-tool or ethtool?

Michael P. Soulier msoulier at digitaltorque.ca
Wed Mar 28 01:01:57 UTC 2007


On 28/03/07 essential li said:

> Actually, I want to port mii-tool to freebsd for linux command compatible,
> so I want to know if there is the equivelent command to linux mii-tool or
> ethtool
> 
> essential li <ssli_nudt at yahoo.com.cn> 写道:  I saw there are mii.h and
> mii.c in freebsd source code but do not have "mii-tool" command. Does
> freebsd have the equivelent command to linux "mii-tool" or "ethtool" ? or
> the functions of these two command are included in "ifconfig" ?

They seem to be in ifconfig, if you're looking to override autoneg. 

ie. sudo ifconfig xl0 media 100baseTX mediaopt full-duplex 

Mike
-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070328/b8a122d2/attachment.pgp


More information about the freebsd-questions mailing list