From owner-freebsd-questions Wed Apr 11 16: 1:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 4B85037B422 for ; Wed, 11 Apr 2001 16:01:29 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 85084 invoked by uid 100); 11 Apr 2001 23:01:28 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15060.57928.117921.984636@guru.mired.org> Date: Wed, 11 Apr 2001 18:01:28 -0500 To: Michael O'Henly Cc: questions@freebsd.org Subject: Re: Naming ethernet NICs In-Reply-To: <86870099@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Michael O'Henly types: > Yes, this is what I meant. The reason I raised the questions is that I'm > configuring a simple firewall for my home network and so far I've "hardcoded" > NIC names in three or four different places. Presumably if I ever replaced a > NIC with a different type/driver, I'd have to rediscover all the places I'd > used the old name. Then you should log them down as you do it, so you don't have to rediscover them. This is a good practice for configuration stuff in general. One of these days, I'll do the writeup on using source code control systems for this kind of thing, which allowed me to locate all the places I'd hard-coded the ethernet device name on this system with one command. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message