From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 10 13:17:16 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47F1E16A41F for ; Wed, 10 Aug 2005 13:17:16 +0000 (GMT) (envelope-from estrabd@mailcan.com) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EC6C43D70 for ; Wed, 10 Aug 2005 13:17:08 +0000 (GMT) (envelope-from estrabd@mailcan.com) Received: from frontend1.internal (frontend1.internal [10.202.2.150]) by frontend1.messagingengine.com (Postfix) with ESMTP id B96ADCCA14D; Wed, 10 Aug 2005 09:17:07 -0400 (EDT) Received: from web1.messagingengine.com ([10.202.2.210]) by frontend1.internal (MEProxy); Wed, 10 Aug 2005 09:17:07 -0400 Received: by web1.messagingengine.com (Postfix, from userid 99) id DFB836210; Wed, 10 Aug 2005 09:17:04 -0400 (EDT) Message-Id: <1123679824.23377.240381298@webmail.messagingengine.com> X-Sasl-Enc: FUoKlqbSAoccs553t/sGgAj8b57oVk9xjICNmZb9lwZm 1123679824 From: "Brett D. Estrade" To: "Bruce O'Neel" , freebsd-sparc64@freebsd.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) References: <20050810073802.GB9599@SDF.LONESTAR.ORG> In-Reply-To: <20050810073802.GB9599@SDF.LONESTAR.ORG> Date: Wed, 10 Aug 2005 08:17:04 -0500 Cc: Subject: Re: Sun Ultra 2 and hme not in full duplex X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 13:17:16 -0000 On Wed, 10 Aug 2005 07:38:02 +0000, "Bruce O'Neel" said: > Hi, > > When I boot my sun ultra 2 with a hme, my switch doesn't see > the connection as full duplex. > > The line in rc.conf is: > > ifconfig_hme0="inet 192.168.0.8 netmask 255.255.255.0 media autoselect" > > Adding or removing the media autoselect seems to make no difference. > > An ifconfig shows: > > biasca# ifconfig hme0 > hme0: flags=8843 mtu 1500 > options=b > inet 192.168.0.8 netmask 0xffffff00 broadcast 192.168.0.255 > inet6 fe80::a00:20ff:fe89:99ba%hme0 prefixlen 64 scopeid 0x1 > ether 08:00:20:89:99:ba > media: Ethernet autoselect (100baseTX) > status: active > > > Now, if I type > > ifconfig hme0 media autoselect > > the interface drops off the switch and then comes back up > in full duplex. > > Now ifconfig shows: > > biasca# ifconfig hme0 > hme0: flags=8843 mtu 1500 > options=b > inet 192.168.0.8 netmask 0xffffff00 broadcast 192.168.0.255 > inet6 fe80::a00:20ff:fe89:99ba%hme0 prefixlen 64 scopeid 0x1 > ether 08:00:20:89:99:ba > media: Ethernet autoselect (100baseTX ) > status: active > > Is there a handy way to make this happen on boot? I am not an ifconfig expert, but dropping a little script in /usr/local/etc/rc.d (that follows the standard form of things there) should handle on boot ... perhaps the *right* thing to do is figure out why ifconfig is not doing what you want it to the first time. Brett -- ~Sedit qui timuit ne non succederet~