From owner-freebsd-questions Wed Apr 11 8:33:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by hub.freebsd.org (Postfix) with SMTP id 075D237B422 for ; Wed, 11 Apr 2001 08:33:31 -0700 (PDT) (envelope-from fbsdq@yahoo.com) Received: from h2.impactidealsolutions.com (HELO support10) (216.98.200.91) by smtp.mail.vip.sc5.yahoo.com with SMTP; 11 Apr 2001 15:33:30 -0000 X-Apparently-From: Message-Id: Date: Wed, 11 Apr 2001 09:35:51 -0600 X-Priority: 3 From: Peter X-Mailer: Mail Warrior To: michael@tenzo.com, "michael@tenzo.com" Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Subject: Re: Naming ethernet NICs Content-Type: Text/Plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8Bit X-Mailer-Version: v3.57 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 04/11/2001 7:56:32 AM, Michael O'Henly is quoted as saying: . . . .|On Wednesday 11 April 2001 06:10, Michael Nottebrock wrote: . . . .| . . . .|[...] . . . .| . . . .|> One disadvantage of the BSD-type naming convention is that one does . . . .|> end up putting rl0's, ed0's and the like into config-files or batches, . . . .|> which have to be changed if the hardware changes, for example a . . . .|> '/usr/local/sbin/dhcpd dc0' in /etc/rc.local or a 'set device . . . .|> PPPoE:rl0' in /etc/ppp/ppp.conf, or (the most annoying) if you happen . . . .|> to have lots of 'via ' statements in your ipfw ruleset. . . . .| . . . .|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. Would it not be possible to just create links from like /dev/eth0 to /dev/rl0 ? If hardware changes, just change the link. . . . .| . . . .|M. . . . .| . . . .|-- . . . .|Michael O'Henly . . . .|TENZO Design . . . .| . . . .|To Unsubscribe: send mail to majordomo@FreeBSD.org . . . .|with "unsubscribe freebsd-questions" in the body of the message www.nul.cjb.net www.FreeBSD.org _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message