From owner-freebsd-questions@FreeBSD.ORG Wed Mar 28 01:01:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E115A16A404 for ; Wed, 28 Mar 2007 01:01:56 +0000 (UTC) (envelope-from msoulier@digitaltorque.ca) Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by mx1.freebsd.org (Postfix) with ESMTP id 98D0213C45A for ; Wed, 28 Mar 2007 01:01:56 +0000 (UTC) (envelope-from msoulier@digitaltorque.ca) Received: from kanga.digitaltorque.ca (hs-216-106-102-70.storm.ca [216.106.102.70]) by mail.storm.ca (8.13.6+Sun/8.13.6) with ESMTP id l2S11t8N014108; Tue, 27 Mar 2007 21:01:55 -0400 (EDT) Received: from tigger.digitaltorque.ca (tigger.digitaltorque.ca [192.168.1.3]) by kanga.digitaltorque.ca (Postfix) with ESMTP id A8D534E; Tue, 27 Mar 2007 21:01:49 -0400 (EDT) Received: by tigger.digitaltorque.ca (Postfix, from userid 500) id 337FE23E60; Tue, 27 Mar 2007 21:01:49 -0400 (EDT) Date: Tue, 27 Mar 2007 21:01:48 -0400 From: "Michael P. Soulier" To: essential li Message-ID: <20070328010148.GQ11147@tigger.digitaltorque.ca> Mail-Followup-To: essential li , freebsd-questions@freebsd.org References: <875366.7460.qm@web15305.mail.cnb.yahoo.com> <390621.86252.qm@web15313.mail.cnb.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7PTD44AewjTsiSV" Content-Disposition: inline In-Reply-To: <390621.86252.qm@web15313.mail.cnb.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: Does freebsd have the equivelent command to linux mii-tool or ethtool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2007 01:01:57 -0000 --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 =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 "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--