From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 8 14:34:41 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35FD416A404 for ; Sat, 8 Apr 2006 14:34:41 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 741A643D48 for ; Sat, 8 Apr 2006 14:34:37 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k38EYa2b017586; Sat, 8 Apr 2006 08:34:36 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4437C9F6.5000008@samsco.org> Date: Sat, 08 Apr 2006 08:34:30 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ceri Davies References: <20060407225742.GA21619@odin.ac.hmc.edu> <20060407230247.GH16344@submonkey.net> In-Reply-To: <20060407230247.GH16344@submonkey.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: hackers@freebsd.org Subject: Re: Using any network interface whatsoever X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 14:34:41 -0000 Ceri Davies wrote: > On Fri, Apr 07, 2006 at 03:57:42PM -0700, Brooks Davis wrote: > >>On Fri, Apr 07, 2006 at 11:53:42PM +0100, Ceri Davies wrote: >> >>>I'm trying to configure a bootable image to be used in various situations >>>and on various (mostly unknown) hardware. >>> >>>For the filesystem I can use geom_label and /dev/ufs/UnlikelyString, but I'd >>>also like to have it try to configure whatever interfaces the machine >>>happens to have via DHCP. >>> >>>Other than specifying ifconfig_0="DHCP" once for every possible value of >>>, is there a mechanism to do this already? >> >>ifconfig_DEFAULT > > > Superb, thank you! > > >>If you have non-Ethernet-like interfaces compiled in, you will probably >>want create empty "ifconfig_" variables for them since DHCP won't >>work very well there. :) > > > Good point, thanks again :) > > Ceri Well, the real question is why we force the details of driver names onto users. Network and storage drivers are especially guilty of this, but tty devices also are annoying. Scott