Date: Thu, 07 Nov 2002 09:52:09 -0500 From: Tom Limoncelli <tal@lumeta.com> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: Michael Butler <Michael.Butler@exodus.net>, stable@FreeBSD.ORG Subject: Re: ifconfig fxp mediaopt dysfunctional? Message-ID: <3DCA7E19.A781CA80@lumeta.com> References: <3A1C67FFB6A3F546A548BD82999195375454DD@dcc3ex01.int.exodus.net> <20021106130057.A31056@Odin.AC.HMC.Edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,LINK0,MULTICAST> 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 <full-duplex>) > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DCA7E19.A781CA80>