From owner-freebsd-wireless@FreeBSD.ORG Tue Apr 26 15:38:12 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D32A7106566B for ; Tue, 26 Apr 2011 15:38:12 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6F08F8FC0C for ; Tue, 26 Apr 2011 15:38:12 +0000 (UTC) Received: by fxm11 with SMTP id 11so728391fxm.13 for ; Tue, 26 Apr 2011 08:38:11 -0700 (PDT) Received: by 10.223.6.11 with SMTP id 11mr8066fax.92.1303832289613; Tue, 26 Apr 2011 08:38:09 -0700 (PDT) Received: from jessie.localnet (p5B2ECD44.dip0.t-ipconnect.de [91.46.205.68]) by mx.google.com with ESMTPS id p16sm2039221fax.21.2011.04.26.08.38.07 (version=SSLv3 cipher=OTHER); Tue, 26 Apr 2011 08:38:08 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: freebsd-wireless@freebsd.org Date: Tue, 26 Apr 2011 17:37:15 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32-31-generic; KDE/4.4.5; i686; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201104261737.15553.bschmidt@freebsd.org> Cc: Subject: Re: Issues with bwn wireless X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bschmidt@freebsd.org List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 15:38:12 -0000 On Monday, April 25, 2011 17:19:00 Eitan Adler wrote: > On the same computer I have here: > http://forum.nginx.org/read.php?23,138126,138310,template=head%3F%3F > I've been having similar issues recently and I'm hoping to finally > resolve them. The only change from then is that I am now using > 8-STABLE (r219789) > > 1) For some reason setting the ssid via ifconfig and setting wlan0 to > "up" doesn't do anything. I need to use wpa_supplicant even for an > OPEN network No clue.. see 2) > 2) I start wpa_supplicant with > network = { > ssid="fubar" > key_mgmt=NONE > } > and then run dhlient wlan0. > After this it seems that like I am associated and I'm able to ping > "google.com" for some number of packets and then it loses packets. > The routes, /etc/resolv.conf, and ip address all seem in order - even > after it stops responding. > ifconfig wlan0 still says "status: associated" even though I am unable > to ping anything or access the internet. In _some_ cases "dig" still > works. Can you post debug output of wpa_supplicant/bwn? % sysctl dev.bwn.0.debug=-1 % wpa_supplicant -Dbsd -iwlan0 -c/etc/wpa_supplicant.conf -ddt > 3) Sometimes I see the channel cycling somewhat randomly during the > "associated but not working" time. Sounds like a background scan issue, try with % ifconfig wlan0 -bgscan > 4) ifconfig wlan0 scan never shows anything but ifconfig wlan0 list scan does. This should be fixed in HEAD. > Any pointers or ideas to resolve these issues would be great! > > > -- Bernhard