From owner-freebsd-mobile@FreeBSD.ORG Mon Feb 6 16:47:33 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 6A3C616A420 for ; Mon, 6 Feb 2006 16:47:33 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 973A143D49 for ; Mon, 6 Feb 2006 16:47:32 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 06 Feb 2006 16:47:31 -0000 Received: from p54A7D87B.dip.t-dialin.net (EHLO [192.168.0.12]) [84.167.216.123] by mail.gmx.net (mp031) with SMTP; 06 Feb 2006 17:47:31 +0100 X-Authenticated: #5465401 Message-ID: <43E77D98.2010602@gmx.de> Date: Mon, 06 Feb 2006 17:47:20 +0100 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5 (X11/20060128) MIME-Version: 1.0 To: Freddie Cash References: <3cc1a1cc0602051238q58d4653y@mail.gmail.com> <43E71686.50005@gmx.de> <200602060830.27122.fcash@ocis.net> In-Reply-To: <200602060830.27122.fcash@ocis.net> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig46304881715E87BDE36CCAED" X-Y-GMX-Trusted: 0 Cc: freebsd-mobile@freebsd.org 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:47:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig46304881715E87BDE36CCAED Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It might work for you, but it sure doesn't for me. Wpa_supplicant establishs a connection to the AP, but dhclient fails to receive an IP. If I don't use wpa_supplicant and just type # ifconfig ipw0 ssid myap wepkey 0x01234567890123456789012345 weptxkey 1 wepmode on # dhclient ipw0 it works. I know what wpa_supplicant is, but for me it doesn't do what it should. That is why I wrote my own daemon. Freddie Cash wrote: > 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. >=20 > dhclient works just fine in conjunction with wpa_supplicant. I find it= to=20 > be a lot easier to do with wpa_supplicant, as you can put all the=20 > wireless config info (ssid, channel, wep mode, wep key, etc) into a=20 > single file, and edit /etc/rc.conf to use ifconfig_ath0=3D"WPA DHCP" an= d=20 > have the rc scripts take care of everything automatically. >=20 > wpa_supplicant.conf support no-encryption, wep, wpa, wpa-psk, wpa-eapol= ,=20 > and a few others. >=20 > DHCP support is separate from the wireless link support, same as DHCP=20 > support is separate from wired link support. Once devd sees the link u= p=20 > event from the NIC driver, it starts dhclient on that interface. How=20 > that link up even is generated does not really matter. >=20 >> If you wish I can send you my self-brewed daemon to automatically >> establish connections. It doesn't support wpa, though. >=20 > wpa_supplicant is a daemon that handle no-encryption, wep, and wpa=20 > connections, automatically for you. And it comes free with FreeBSD 6+,= =20 > and as a port in 5.x. >=20 --------------enig46304881715E87BDE36CCAED Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD532gfMDIb41/+S0RAhyrAJ9XOw4v3Ivgz17dsA6F4LBoxuaP2ACfVPmo eObYmme+Wpio/9X4BJd23qA= =m7RY -----END PGP SIGNATURE----- --------------enig46304881715E87BDE36CCAED--