From owner-freebsd-current@FreeBSD.ORG Fri Dec 31 00:45:48 2004 Return-Path: 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 62C0216A4CE for ; Fri, 31 Dec 2004 00:45:48 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30F6F43D4C for ; Fri, 31 Dec 2004 00:45:48 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.92] ([66.127.85.92]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id iBV0jlWi049977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 30 Dec 2004 16:45:47 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <41D4A140.8060502@errno.com> Date: Thu, 30 Dec 2004 16:45:52 -0800 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rong-En Fan References: <6eb82e04122905361ccd6af0@mail.gmail.com> <41D38FBF.5070701@errno.com> <6eb82e04123010035e379e48@mail.gmail.com> In-Reply-To: <6eb82e04123010035e379e48@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: 802.11 WPA and wpa_supplicant X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 31 Dec 2004 00:45:48 -0000 Rong-En Fan wrote: > On Wed, 29 Dec 2004 21:18:55 -0800, Sam Leffler wrote: > >>wpa_supplicant has a -d option to enable debugging; use it and if you >>can't find your problem provide the wpa_supplicant config file and log >>output. > > > My current is just built tonight. I took a look at -d output, > however, i can't find any notable error messages. > > I put wpa_supplicant (0.3.2 [1]) -d output and its conf > along with dmesg, sysctl that related to ath here: > > http://rafan.infor.org/tmp/wpa/ > > Any help are appreciated :-) The log shows the WPA-PSK handshake completed but you were then deauthenticated by your AP. You need to look on your AP to find out why. It's possible that WME is being negotiated and confusing the AP. There are issues with sending QoS-encapsulated EAPOL frames to certain AP's. You can try disabling wme use with ifconfig ath0 -wme before starting wpa_supplicant. Sam