Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2001 09:35:51 -0600
From:      Peter <fbsdq@yahoo.com>
To:        michael@tenzo.com, "michael@tenzo.com" <michael@tenzo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Naming ethernet NICs
Message-ID:  <SAK.2001.04.11.sgopqffq@support10>

next in thread | raw e-mail | index | archive | help
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 <interface>' 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SAK.2001.04.11.sgopqffq>