From owner-freebsd-current@FreeBSD.ORG Sun Mar 28 11:24:11 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3445106566C for ; Sun, 28 Mar 2010 11:24:11 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 5B7D78FC15 for ; Sun, 28 Mar 2010 11:24:10 +0000 (UTC) Received: by bwz8 with SMTP id 8so4090901bwz.3 for ; Sun, 28 Mar 2010 04:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=CveY117R447KXCbJgvTkzdKPXiLUJzkcnVFvIqgSmg0=; b=I0chkVtjvKbNCCoaL0dGcYwEa5RhUXFNCewiATuw82AY/DzB4bROT48FUxiWBNSpqI rJ+rTVpxHeYqmEknl6e8JqYc+3FVxJv/U7CObXtaug8LVUNUtOi6/MCgYJPoO8s6mAuD Lfy3wakNrqNCcJX2MjjwMf+2BYzQQQMEjXuBY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=b+TsluNsHE1I0JGNMPhtGlu9tppKRTSZuiedpCEOouS2v5tHDapb3k4n1lRACBPB6K h60cVi0qi/4Iahnn80r3NJeYWWA1lCXOioakxDM53U6Qre2T8OHSRUTHNVPyBbLIiMgJ Uqx6+mzgiFAS7jxEmDeBjaAoRJXIWGgqoPdgQ= Received: by 10.204.156.217 with SMTP id y25mr1433918bkw.2.1269775450207; Sun, 28 Mar 2010 04:24:10 -0700 (PDT) Received: from [10.0.10.2] (54.81.54.77.rev.vodafone.pt [77.54.81.54]) by mx.google.com with ESMTPS id 24sm27180805bkr.6.2010.03.28.04.24.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Mar 2010 04:24:09 -0700 (PDT) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <20100327211200.GA36060@office.redwerk.com> Date: Sun, 28 Mar 2010 12:24:07 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <9D7A21BF-4E8F-4A87-937A-6FA71D5140B6@freebsd.org> References: <20100324202639.GA3194@localhost> <20100327122015.GA31437@office.redwerk.com> <20100327211200.GA36060@office.redwerk.com> To: Eugene Dzhurinsky X-Mailer: Apple Mail (2.1077) Cc: freebsd-current@freebsd.org Subject: Re: wpa_supplicant, Atheros AR9285 and FreeBSD 8.0 issue -> wpa_supplicant hangs 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: Sun, 28 Mar 2010 11:24:12 -0000 On 27 Mar 2010, at 21:12, Eugene Dzhurinsky wrote: > On Sat, Mar 27, 2010 at 02:20:15PM +0200, Eugene Dzhurinsky wrote: >> On Wed, Mar 24, 2010 at 10:26:39PM +0200, Eugeny N Dzhurinsky wrote: >>=20 >> I realized that it fails after group rekeying completes. If is set = rekeying to >> occur in 30 minutes on AP host - for 30 minutes I am not getting any = issue. >>=20 >> With my DLink WiFi USB stick powered by if_rum driver such problem = does not >> appear. >>=20 >> If I should provide some additional information to help someone = understand and >> fix this issue - please let me know :) >=20 > Finally I was able to find out the case which makes my wifi to stop = working. > The problem is easily reproducible if second laptop is associated with = AP. >=20 > My AP configuration (PC with FreeBSD 7.2) is listed below: >=20 > interface=3Dral0 > debug=3D2 > ctrl_interface=3D/var/run/hostapd > ctrl_interface_group=3Dwheel > ssid=3Dfreebsdap > wpa=3D1 > wpa_passphrase=3D************* > wpa_key_mgmt=3DWPA-PSK > wpa_group_rekey=3D1800 > wpa_pairwise=3DCCMP TKIP >=20 > local wpa_supplicant.conf is like below: >=20 > ctrl_interface=3D/var/run/wpa_supplicant > ctrl_interface_group=3Dwheel > fast_reauth=3D0 > eapol_version=3D2 > network=3D{ > ssid=3D"freebsdap" > key_mgmt=3DWPA-PSK > auth_alg=3DOPEN > psk=3D"*************" > scan_ssid=3D1 > } >=20 > My primary laptop is ASUS K40IN with wifi card on AR9285 chipset, = another > laptop is ASUS K40IJ with wifi card on AR9285 chipset too. >=20 > And once second laptop gets associated with AP - my one stops to = recognize > wifi connection. But it's still listed as associated in ifconfig = output. And=20 >=20 > wpa_cli reassociate >=20 > doesn't solve the problem - I have to restart wpa_supplicant. >=20 > Does this make any sense? Should I submit PR or there is some > misconfiguration? You can try with a more simple config. Just: network=3D{ ssid=3D"freebsdap" psk=3D"..." scan_ssid=3D1 } If this doesn't work you should send-pr. -- Rui Paulo