Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2007 21:01:48 -0400
From:      "Michael P. Soulier" <msoulier@digitaltorque.ca>
To:        essential li <ssli_nudt@yahoo.com.cn>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Does freebsd have the equivelent command to linux mii-tool or ethtool?
Message-ID:  <20070328010148.GQ11147@tigger.digitaltorque.ca>
In-Reply-To: <390621.86252.qm@web15313.mail.cnb.yahoo.com>
References:  <875366.7460.qm@web15305.mail.cnb.yahoo.com> <390621.86252.qm@web15313.mail.cnb.yahoo.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@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@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFGCb57KGqCc1vIvggRAkk9AKC0folBHy0T1OTiwWtoUgkTUQqvUgCdE/F0
BrwhA71zu+DPTXBNLDerj88=
=gnn4
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070328010148.GQ11147>