Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2004 15:39:04 -0600
From:      Eric F Crist <ecrist@adtechintegrated.com>
To:        Dru <dlavigne6@sympatico.ca>, questions@freebsd.org
Subject:   Re: laptop hardware profile
Message-ID:  <200401021539.04321.ecrist@adtechintegrated.com>
In-Reply-To: <20040102150315.B616@genisis.domain.org>
References:  <20040102150315.B616@genisis.domain.org>

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



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