From owner-freebsd-current@FreeBSD.ORG Tue Jun 21 23:51:04 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E5CA16A41C for ; Tue, 21 Jun 2005 23:51:04 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDAAB43D55 for ; Tue, 21 Jun 2005 23:51:03 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id BC8685078D2; Wed, 22 Jun 2005 07:51:01 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id B75015078CC; Wed, 22 Jun 2005 07:51:01 +0800 (CST) Date: Wed, 22 Jun 2005 07:51:01 +0800 (CST) From: Tai-hwa Liang To: Wilko Bulte In-Reply-To: <20050621205048.GA61951@freebie.xs4all.nl> Message-ID: <050622074135F.25017@www.mmlab.cse.yzu.edu.tw> References: <20050621205048.GA61951@freebie.xs4all.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: Getting WPA to work on ath(4) 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: Tue, 21 Jun 2005 23:51:04 -0000 On Tue, 21 Jun 2005, Wilko Bulte wrote: > Hi, > > Today I decided to spend some time getting WPA to work > on my Netgear ath(4) card. The base station is a Netgear > WG602V3. The AP is configured with WPA-PSK (it cannot do > anything else). > > To make sure that things are sortof sound on the AP side > I have setup 2 laptops using Windows with WPA. Both work > OK. > > One of these laptops that has the Netgear card and is dual > boot with -current. > > Basically FreeBSD also (but only sortof) works with WPA > on the ath(4). > > I setup a wpa_supplicant.conf taking the 'home network' > example from the man page. > > What I get from wpa_supplicant on a regular interval is: > > Trying to associate with (SSID= freq=2412MHz) > Associated with > WPA: Key negotiation completeted with [PTK=CCMP GTK=TKOP] > > to the outside world correctly> > > Disconnect event - remove keys <--- why is this? > > This process repeats itself over and over. > > Am I missing something obvious? Did you enable WME on the AP? I remembered that AP would deauth. your client if MIC errors are detected in your frames. Disable WME on both side might help(or to replace your TKIP group key with CCMP). If that still doesn't work, try to turn more debugging message on with: 80211debug +debug +crypto +auth Next time you're disconnected, dmesg may have something like: . . [MAC of AP] send station deauthenticate (reason X) [MAC of AP] send deauth on channel Y . . Cheers, Tai-hwa Liang