From owner-freebsd-mobile@FreeBSD.ORG Mon Feb 6 16:30:39 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E9B516A420 for ; Mon, 6 Feb 2006 16:30:39 +0000 (GMT) (envelope-from fcash@ocis.net) Received: from smtp.sd73.bc.ca (mailtest.sd73.bc.ca [142.24.13.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D00B43D49 for ; Mon, 6 Feb 2006 16:30:39 +0000 (GMT) (envelope-from fcash@ocis.net) Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id E17568A0028 for ; Mon, 6 Feb 2006 08:32:34 -0800 (PST) Received: from smtp.sd73.bc.ca ([127.0.0.1]) by localhost (smtp.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 65287-02-37 for ; Mon, 6 Feb 2006 08:32:28 -0800 (PST) Received: from s157.sbo (s157.sbo [192.168.0.157]) by smtp.sd73.bc.ca (Postfix) with ESMTP id 2AF328A0042 for ; Mon, 6 Feb 2006 08:32:28 -0800 (PST) From: Freddie Cash To: freebsd-mobile@freebsd.org Date: Mon, 6 Feb 2006 08:30:27 -0800 User-Agent: KMail/1.9.1 References: <3cc1a1cc0602051238q58d4653y@mail.gmail.com> <43E71686.50005@gmx.de> In-Reply-To: <43E71686.50005@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602060830.27122.fcash@ocis.net> X-Virus-Scanned: by amavisd-new using ClamAV at sd73.bc.ca Subject: Re: WEP not working X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2006 16:30:39 -0000 On Monday 06 February 2006 01:27 am, [LoN]Kamikaze wrote: > Dhclient does not work through wpa_supplicant when the connection has > been established with WEP encryption. You can hand connect without > wpa_supplicant and dhclient will most likely succeed. dhclient works just fine in conjunction with wpa_supplicant. I find it to be a lot easier to do with wpa_supplicant, as you can put all the wireless config info (ssid, channel, wep mode, wep key, etc) into a single file, and edit /etc/rc.conf to use ifconfig_ath0="WPA DHCP" and have the rc scripts take care of everything automatically. wpa_supplicant.conf support no-encryption, wep, wpa, wpa-psk, wpa-eapol, and a few others. DHCP support is separate from the wireless link support, same as DHCP support is separate from wired link support. Once devd sees the link up event from the NIC driver, it starts dhclient on that interface. How that link up even is generated does not really matter. > If you wish I can send you my self-brewed daemon to automatically > establish connections. It doesn't support wpa, though. wpa_supplicant is a daemon that handle no-encryption, wep, and wpa connections, automatically for you. And it comes free with FreeBSD 6+, and as a port in 5.x. -- Freddie Cash fcash@ocis.net