From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 4 08:37:29 2008 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12D24106566B for ; Tue, 4 Mar 2008 08:37:29 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.121]) by mx1.freebsd.org (Postfix) with ESMTP id CE5848FC14 for ; Tue, 4 Mar 2008 08:37:28 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from shop.chemikals.org ([75.182.2.94]) by cdptpa-omta04.mail.rr.com with ESMTP id <20080304072751.BBLH23470.cdptpa-omta04.mail.rr.com@shop.chemikals.org>; Tue, 4 Mar 2008 07:27:51 +0000 Received: from volatile.chemikals.org (root@r74-193-170-223.bssrcmta01.bscyla.by.dh.suddenlink.net [74.193.170.223] (may be forged)) by shop.chemikals.org (8.14.1/8.14.1) with ESMTP id m247Rn4r097156; Tue, 4 Mar 2008 02:27:50 -0500 (EST) (envelope-from morganw@chemikals.org) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.14.2/8.14.2) with ESMTP id m247RlLW020906; Tue, 4 Mar 2008 01:27:48 -0600 (CST) (envelope-from morganw@chemikals.org) Date: Tue, 4 Mar 2008 01:27:47 -0600 (CST) From: Wes Morgan To: Tobias Roth In-Reply-To: <47C53D40.8070604@fsck.ch> Message-ID: References: <47C53D40.8070604@fsck.ch> User-Agent: Alpine 1.00 (BSF 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: mobile@freebsd.org Subject: Re: wpa_supplicant keeps de- and reassociating 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: Tue, 04 Mar 2008 08:37:29 -0000 On Wed, 27 Feb 2008, Tobias Roth wrote: > Hi > > I see the following when I connect to the universitys wlan with > 7.0-PRERELEASE and if_ath0: > > I associate to a wlan using wpa_supplicant. There are several base > stations for the same network around. First-time association works a bit > slow but otherwise well, but then, after a while (quite frequently), > something initiates a rescan, and the connections drops for some time. > The laptops position was not changed during that time. > > Then, most of the time, things fix themselves and the interface > reassociates, but this can take sme time. If I issue "ifconfig ath0" a > few times during one of those dropouts, I can see different channels > being tried, and also sometimes my ssid is shown, sometimes no ssid is > shown during scanning. > > Questions: > > 1) what is causing these deassociate/scan/reassociate cycles? > 2) why is it unsetting the ssid, when I explicitly set it in wpa_conf? > 2) how can I stop this (i.e. keep the current connection after initial > association? Are you using WPA or WPA2? I was seeing this behavior sometimes, and switching to WPA seemed to eliminate it.