From owner-freebsd-current@FreeBSD.ORG Tue Jul 10 04:46:06 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 5966D16A41F for ; Tue, 10 Jul 2007 04:46:06 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 0634C13C43E for ; Tue, 10 Jul 2007 04:46:05 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l6A4k32T008549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 Jul 2007 21:46:04 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <46930F7A.6020007@errno.com> Date: Mon, 09 Jul 2007 21:47:54 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.0 (X11/20070530) MIME-Version: 1.0 To: Kevin Gerry References: <468488B3.7010607@errno.com> <46848C1E.2080404@errno.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Sepherosa Ziehau , freebsd-current@freebsd.org Subject: Re: Wireless NICs not obeying 'SSID' setting. 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, 10 Jul 2007 04:46:06 -0000 Kevin Gerry wrote: > Well, this is all it gave when it switched: > > -- > messages.0:Jul 9 17:18:07 storage kernel: ral0: sta_roam_check: currssi > 21 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:18:22 storage kernel: ral0: sta_roam_check: currssi > 21 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:18:37 storage kernel: ral0: sta_roam_check: currssi > 21 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:18:52 storage kernel: ral0: sta_roam_check: currssi > 21 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:19:07 storage kernel: ral0: sta_roam_check: currssi > 19 currate 72 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:19:22 storage kernel: ral0: sta_roam_check: currssi > 21 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:19:37 storage kernel: ral0: sta_roam_check: currssi > 21 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:19:52 storage kernel: ral0: sta_roam_check: currssi > 21 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:20:07 storage kernel: ral0: sta_roam_check: currssi > 23 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:20:22 storage kernel: ral0: sta_roam_check: currssi > 21 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:20:37 storage kernel: ral0: sta_roam_check: currssi > 21 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:20:52 storage kernel: ral0: sta_roam_check: currssi > 21 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:21:07 storage kernel: ral0: sta_roam_check: currssi > 21 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:21:22 storage kernel: ral0: sta_roam_check: currssi > 23 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:21:37 storage kernel: ral0: link state changed to DOWN > messages.0:Jul 9 17:21:39 storage kernel: ral0: link state changed to UP > messages.0:Jul 9 17:21:54 storage kernel: ral0: sta_roam_check: currssi > 45 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:22:09 storage kernel: ral0: sta_roam_check: currssi > 45 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:22:24 storage kernel: ral0: sta_roam_check: currssi > 45 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:22:40 storage kernel: ral0: sta_roam_check: currssi > 45 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:22:55 storage kernel: ral0: sta_roam_check: currssi > 45 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:23:10 storage kernel: ral0: sta_roam_check: currssi > 45 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:23:25 storage kernel: ral0: sta_roam_check: currssi > 43 currate 108 roamrssi 14 roamrate 10 > messages.0:Jul 9 17:23:39 storage kernel: ral0: sta_roam_check: currssi > 45 currate 108 roamrssi 14 roamrate 10 > -- > > Any ideas? Or, any other commands you'd like me to try to give any more > verbose logging? Looks like you moved to another ap not because of roaming but because you were dropped from your original ap. This can happen for various reasons but the fact that you did not go back to it means the station could not communicate w/ the ap so it chose another one. There are other wlandebug knobs you can turn on to see exactly what happened (e.g. state+scan). You can also look at wlanstats output and identify what happened (probably). I changed the behaviour of setting the ssid from being mandatory to "desired" for various reasons but it's likely I'll have to add back a way to make it mandatory. But then you'll likely find yourself taking a long time to re-connect to your ap if the ral card isn't being reset properly or otherwise getting into a bad state (ral has known issues). A well-behaved card+driver should locate the ap you want during the re-scan and/or it should roam quickly if it misses the ap but then picks it up on a bg scan. Sam > > On 7/7/07, *Sepherosa Ziehau* > wrote: > > On 7/5/07, Kevin Gerry > > wrote: > > Weird, one of the issues it appears I'm having is that when it's > set to > > -bgscan and roaming device, the device will just get stuck on "no > carrier" > > Please leave bgscan and roaming on and run following command: > wlandebug -i ral0 +roam > wlandebug -i ath0 +roam > > Post the log, when the AP switching happened. > > Best Regards, > sephe > > -- > Live Free or Die > >