From owner-freebsd-questions@FreeBSD.ORG Thu Aug 18 18:00:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 14B7316A41F for ; Thu, 18 Aug 2005 18:00:16 +0000 (GMT) (envelope-from fbsdlists@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 751DE43D48 for ; Thu, 18 Aug 2005 18:00:14 +0000 (GMT) (envelope-from fbsdlists@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so304100nzd for ; Thu, 18 Aug 2005 11:00:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f64Bq5ZUrXegGB1y5nX5ihm6D/f1kw2GTaQJcH5a52szoZj0DU3jem3uJk6gi/Ah9dBPSrcEIMytPPwky66xPcUEJW6X4eXVtfbzuUGnsAGVa1cPCKvm94yl0TWgohxmoHCoNzkAgbepq3EPHPeF/+slhOlFdIXVgHRas8d0O8I= Received: by 10.36.221.52 with SMTP id t52mr1604915nzg; Thu, 18 Aug 2005 11:00:13 -0700 (PDT) Received: by 10.36.221.21 with HTTP; Thu, 18 Aug 2005 11:00:11 -0700 (PDT) Message-ID: <54db439905081811002fc16b5c@mail.gmail.com> Date: Thu, 18 Aug 2005 14:00:11 -0400 From: Bob Johnson To: Pablo Allietti In-Reply-To: <20050818173851.GA43579@micron.lacnic.net.uy> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050818173851.GA43579@micron.lacnic.net.uy> Cc: freebsd-questions@freebsd.org Subject: Re: wireless DHCP + wep X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2005 18:00:16 -0000 On 8/18/05, Pablo Allietti wrote: > Hi all i have a question. >=20 > i configure a Intel 2200 wireless card and the system detect ok and load > in the start time. >=20 > so. now i need to add wep Key and DHCP. > =20 > is that possible to do in automatically. >=20 > because rigth now i cant do dhcp and need to do a ifconfig blablabla > wepkey xxxxxx wepmode 0 any time when i restart my laptop. >=20 Read the dhclient.conf man pages. I think you use the "media" statement to do it, which lets you list alternate interface configurations that DHCP should attempt to use until it finds one that successfully communicates with a DHCP server. I don't remember the details, but it has come up before, so you might be able to find an example by searching the mailing list archives. Maybe even in the Handbook. The ifconfig_xxx statements in rc.conf are just the arguments that get sent to ifconfig, so you can put your wep settings in rc.conf that way, but at the present time I don't think that method lets you configure WEP and also use DHCP (I've read rumors that it will in the future). - Bob