From owner-freebsd-sparc64@FreeBSD.ORG Tue Mar 30 14:06:10 2004 Return-Path: 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 83E4E16A4E4 for ; Tue, 30 Mar 2004 14:06:10 -0800 (PST) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2683D43D3F for ; Tue, 30 Mar 2004 14:06:10 -0800 (PST) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) i2UM698o022272; Tue, 30 Mar 2004 17:06:09 -0500 (EST) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i2UM691q022271; Tue, 30 Mar 2004 17:06:09 -0500 (EST) Date: Tue, 30 Mar 2004 17:06:09 -0500 From: Ken Smith To: James.Gill@mci.com Message-ID: <20040330220609.GB22027@electra.cse.Buffalo.EDU> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-sparc64@freebsd.org Subject: Re: local-mac-address X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 22:06:10 -0000 On Tue, Mar 30, 2004 at 04:36:43PM -0500, Gill, James wrote: > > >From the archive (and my experience yesterday) it seems that setting > local-mac-address? to true in the OpenBoot does not get seen by the OS yet > (5.2.1-p3). I have a need to configure different MAC addresses for each > interface on the system therefore, I need to manually set 'ifconfig > hmeN ether 0a:0:20:00:00:N' for each of my interfaces at each boot. > > Now my question: where is the best place to do this? I've poked through > the stuff in /etc/rc.d/ and /etc/defaults/rc.conf and don't see the > obvious place for this. perhaps /usr/local/etc/rc.d/? I would try to do it in /etc/rc.conf first. You will see lines there already that set up the network interfaces. Adding the "ether" command line arguments there should work. -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel |