From owner-freebsd-questions@FreeBSD.ORG Tue Sep 6 10:22:00 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 98F9616A41F for ; Tue, 6 Sep 2005 10:22:00 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (62-15-223-173.inversas.jazztel.es [62.15.223.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2668B43D45 for ; Tue, 6 Sep 2005 10:22:00 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [172.24.8.84] (generic.ATOSORIGIN.ES [212.170.156.200]) by strange.daemonsecurity.com (Postfix) with ESMTP id 2E16A2E019; Tue, 6 Sep 2005 12:21:58 +0200 (CEST) Message-ID: <431D6DC4.6010700@locolomo.org> Date: Tue, 06 Sep 2005 12:21:56 +0200 From: Erik Norgaard User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050824) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Uwe Laverenz References: <1125956095.771.14.camel@maarten> <20050906101425.GD21326@laverenz.de> In-Reply-To: <20050906101425.GD21326@laverenz.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: pccard, wi0, wep and DHCP 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: Tue, 06 Sep 2005 10:22:00 -0000 Uwe Laverenz wrote: >>'ifconfig_wi0="DHCP"' this works and brings up wi0. Since my town is >>crowded with wardrivers I would like to use wep. Because my wife often > You could add something like this to your /etc/dhclient.conf: > > interface "wi0" { > media "ssid wepmode on wepkey "; > } Which version of FBSD are you on? On 5.X you can add options to the dchlient.conf as described in the previous mail. Alternatively you can (IIRC) add options in rc.conf: ifconfig_wi0="ssid wepmode on wepkey DHCP" This has the unfortunate effect that you can only configure for one network. On 6.0 the old dhclient has been replaced by OpenBSD's dhclient and wpa_supplicant. In that case, including options in dhclient.conf won't work. Instead you configure the wireless networks you know in wpa_supplicant.conf Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9