From owner-freebsd-questions@FreeBSD.ORG Tue Jun 3 20:29:20 2003 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 ECB7C37B401 for ; Tue, 3 Jun 2003 20:29:20 -0700 (PDT) Received: from endrun.org (64-252-123-242.adsl.snet.net [64.252.123.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22A3F43FCB for ; Tue, 3 Jun 2003 20:29:20 -0700 (PDT) (envelope-from christian@endrun.org) Received: from www.endrun.org (www@localhost [127.0.0.1]) by endrun.org (8.12.8p1/8.12.8) with SMTP id h543dO9n038482; Tue, 3 Jun 2003 23:39:24 -0400 (EDT) (envelope-from christian@endrun.org) Received: from 192.168.1.101 (SquirrelMail authenticated user christian) by www.endrun.org with HTTP; Tue, 3 Jun 2003 23:39:24 -0400 (EDT) Message-ID: <4043.192.168.1.101.1054697964.squirrel@www.endrun.org> In-Reply-To: <1054692949.523.31.camel@johncoop> References: <1054692949.523.31.camel@johncoop> Date: Tue, 3 Jun 2003 23:39:24 -0400 (EDT) From: "Christian Sauer" To: "John Merryweather Cooper" User-Agent: SquirrelMail/1.4.0 [CVS-DEVEL] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: freebsd-questions@freebsd.org Subject: Re: How to configure Wireless access with WEP on a laptop AND use DHCPin/etc/rc.conf 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: Wed, 04 Jun 2003 03:29:21 -0000 John Merryweather Cooper said: [- snip -] > > So, currently, my configuration line looks like: > > ifconfig_wi0="inet 10.0.0.1 netmask 255.255.255.0 ssid some-ssid wepmode > on wepkey some-128-bit-key" > put the "ifconfig wi0 ssid some-ssid wepmode on wepkey some-128-bit-key" command into /etc/start_if.wi0 > And it works fine, provided I run dhclient manually. But I can't just > replace the dummies with DHCP (been there, it doesn't work). and then in /etc/rc.conf, you can go back to ifconfig_wi0="dhcp" > How should I do this? > > jmc > -Christian -- Van Buren: "He probably thought a 9mm divorce would be cheaper" Briscoe: "..And less bloody" -Law & Order: Season 9 _Formerly Famous_