From owner-freebsd-questions Wed Apr 11 9:26:42 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 4AB5B37B422 for ; Wed, 11 Apr 2001 09:26:39 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 67613 invoked by uid 100); 11 Apr 2001 16:26:38 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15060.34238.50551.265399@guru.mired.org> Date: Wed, 11 Apr 2001 11:26:38 -0500 To: Michael O'Henly Cc: questions@freebsd.org Subject: Re: Naming ethernet NICs In-Reply-To: <41023642@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: > On Tuesday 10 April 2001 14:50, Bill Schoolcraft wrote: > > .......... that is exactly why I stopped concentrating on Linux and > > moved over to Unix based OS's to get a broader scope of things. Not > > only are the NIC's named different, but the devices. > So if NICs are named on the basis of their type/driver, doesn't that mean a > lot of reconfiguring is needed if you should happen to replace a card with > something different? I wouldn't say "a lot". If your kernel is configured for that device, you'll have to rebuild it. You can avoid that by using modules for the devices if you wish. If you don't do that, you have to rebuild the kernel no matter what the device name is. The only file I've configured outside the kernel is /etc/rc.conf. The only other one that comes to mind as possibly needing to be changed is the firewall configuration file. From what was said here, if I chose to go with modules I'd have to change about the same for FreeBSD as I do for Linux. On Linux, it's the module aliases that tie the device to the eth0 name; on FreeBSD, it's rc.conf that ties the device name to an IP address. 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