From owner-freebsd-current@FreeBSD.ORG Wed Jan 17 05:39:23 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 162DA16A407 for ; Wed, 17 Jan 2007 05:39:23 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id A69B113C428 for ; Wed, 17 Jan 2007 05:39:22 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp211-97.lns1.adl2.internode.on.net [203.122.211.97]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id l0H5d73O048623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Jan 2007 16:09:15 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Wed, 17 Jan 2007 16:08:48 +1030 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1339046.n1MFc1YG3j"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200701171608.49339.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.57 on 203.31.81.10 Subject: WPA-EAP problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 05:39:23 -0000 --nextPart1339046.n1MFc1YG3j Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I have a WPA-EAP network setup (to a WRT54G with OpenRadius which=20 authenticates against an OpenLDAP server on my FreeBSD server), however qui= te=20 often dhclient fails to get a lease at first go. My wpa_supplicant file looks like.. network=3D{ =A0 =A0 =A0 =A0 ssid=3D"dons" =A0 =A0 =A0 =A0 scan_ssid=3D1 =A0 =A0 =A0 =A0 key_mgmt=3DWPA-EAP =A0 =A0 =A0 =A0 identity=3D"username" =A0 =A0 =A0 =A0 password=3D"password" =A0 =A0 =A0 =A0 phase2=3D"auth=3DPAP" } I have the following in rc.conf.. ifconfig_ath0=3D"WPA DHCP" background_dhclient=3D"YES" If I kill dhclient and restart it I can get a lease just fine. I don't see = the=20 problem on a WPA-TKIP network. I think the problem is that the ath interface comes up but no packets can b= e=20 transferred because WPA stuff is still happening the initial requests get=20 lost. I note that it takes Windows a long time to get a lease - it spends a while= =20 saying "waiting for network to become ready". =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1339046.n1MFc1YG3j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFrbZp5ZPcIHs/zowRArKNAKClS3RWhJF97QF5Ccu7Bk+5DuPxPQCgn5b1 vua/7L3HDg9kFY4Izch0Ups= =l6Wc -----END PGP SIGNATURE----- --nextPart1339046.n1MFc1YG3j--