From owner-freebsd-questions@FreeBSD.ORG Fri Jan 2 13:39:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14C5716A4CE for ; Fri, 2 Jan 2004 13:39:26 -0800 (PST) Received: from radicalv.com (secure.radicalv.com [216.118.91.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B72EB43D2D for ; Fri, 2 Jan 2004 13:39:24 -0800 (PST) (envelope-from ecrist@adtechintegrated.com) Received: (qmail 994 invoked from network); 2 Jan 2004 21:39:17 -0000 Received: from unknown (HELO 192.168.1.107) (66.41.18.160) by mail.radicalv.com with SMTP; 2 Jan 2004 21:39:17 -0000 From: Eric F Crist Organization: AdTech Integrated Systems, Inc To: Dru , questions@freebsd.org Date: Fri, 2 Jan 2004 15:39:04 -0600 User-Agent: KMail/1.5 References: <20040102150315.B616@genisis.domain.org> In-Reply-To: <20040102150315.B616@genisis.domain.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401021539.04321.ecrist@adtechintegrated.com> Subject: Re: laptop hardware profile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2004 21:39:26 -0000 On Friday 02 January 2004 02:06 pm, Dru wrote: > Is anyone aware of a tutorial/documentation available for creating a > hardware profile? I'm thinking of something that allows the user to > choose to either configure a wireless or a wired NIC during bootup. I > could script it after bootup, but I'd prefer to do it during loader. > FWIW, I have a wired NIC and a wifi NIC. The wifi doesn't attempt to do DHCP unless it's plugged in. The wired NIC is integrated, so it always tries to look and if there's a connection, it works, if not, obviously no. If you're using PCMCIA wifi/wired NICs this is pretty trivial to accomplish. It's simply the lines: pccard_enable="YES" pccard_ifconfig="DHCP" Put these in your rc.conf file. For more options see man rc.conf. HTH -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588