From owner-freebsd-stable Thu Nov 7 6:52:10 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82BC537B401 for ; Thu, 7 Nov 2002 06:52:09 -0800 (PST) Received: from exgw2.lumeta.com (exgw2.lumeta.com [65.198.68.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D72E343E4A for ; Thu, 7 Nov 2002 06:52:08 -0800 (PST) (envelope-from tal@lumeta.com) Received: from lucy.corp.lumeta.com (h65-198-68-133.lumeta.com [65.198.68.133]) by exgw2.lumeta.com (Postfix) with ESMTP id 34CDF37385D; Thu, 7 Nov 2002 09:52:07 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by lucy.corp.lumeta.com (Postfix) with ESMTP id A139D10823; Thu, 7 Nov 2002 09:52:06 -0500 (EST) Received: from lumeta.com (guard.lumeta.com [65.198.68.131]) by lucy.corp.lumeta.com (Postfix) with ESMTP id 465F81081E; Thu, 7 Nov 2002 09:52:05 -0500 (EST) Message-ID: <3DCA7E19.A781CA80@lumeta.com> Date: Thu, 07 Nov 2002 09:52:09 -0500 From: Tom Limoncelli Organization: Lumeta Corp X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Brooks Davis Cc: Michael Butler , stable@FreeBSD.ORG Subject: Re: ifconfig fxp mediaopt dysfunctional? References: <3A1C67FFB6A3F546A548BD82999195375454DD@dcc3ex01.int.exodus.net> <20021106130057.A31056@Odin.AC.HMC.Edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Brooks Davis wrote: > > On Wed, Nov 06, 2002 at 03:54:09PM -0500, Michael Butler wrote: > > I'm running 4.7-stable and .. > > > > imb@mbutler# ifconfig fxp0 > > fxp0: flags=9843 mtu 1500 > > inet 66.37.xxx.yyy netmask 0xfffffff8 broadcast 66.37.vvv.www > > ether 00:50:8b:0d:7f:64 > > media: Ethernet autoselect (100baseTX ) > > status: active > > > > .. but .. > > > > imb@mbutler# ifconfig fxp0 mediaopt full-duplex > > ifconfig: SIOCSIFMEDIA: Device not configured > > > > Hard-setting speed works but not duplex. > > You can't set mediaopts without setting media. The correct command is > > ifconfig fxp0 media 100baseTX mediaopt full-duplex Should this be fixed by (1) having ifconfig print an error message that explains that both are needed, or (2) make ifconfig smarter so that it "fills in" the media option based on the device? --tal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message