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>
next in thread | previous in thread | raw e-mail | index | archive | help
--C7PTD44AewjTsiSV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > essential li <ssli_nudt@yahoo.com.cn> =E5=86=99=E9=81=93=EF=BC=9A 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.=20 ie. sudo ifconfig xl0 media 100baseTX mediaopt full-duplex=20 Mike --=20 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 --C7PTD44AewjTsiSV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFGCb57KGqCc1vIvggRAkk9AKC0folBHy0T1OTiwWtoUgkTUQqvUgCdE/F0 BrwhA71zu+DPTXBNLDerj88= =gnn4 -----END PGP SIGNATURE----- --C7PTD44AewjTsiSV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070328010148.GQ11147>