From owner-freebsd-current@FreeBSD.ORG Tue Mar 17 15:47:47 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97B24106568F for ; Tue, 17 Mar 2009 15:47:47 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6B06C8FC0C for ; Tue, 17 Mar 2009 15:47:47 +0000 (UTC) (envelope-from sam@freebsd.org) 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 n2HFljJg080141 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Mar 2009 08:47:46 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49BFC621.5030208@freebsd.org> Date: Tue, 17 Mar 2009 08:47:45 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Bruce Simpson References: <20081006072447.d51c76f1.elmofo@uol.com.br> <20081009191519.790298e4@lain> <20081010230643.017d0dbe.elmofo@uol.com.br> <49BF7E99.4030208@incunabulum.net> <49BF884A.907@incunabulum.net> In-Reply-To: <49BF884A.907@incunabulum.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: Thiago Luz Basilio , rpaulo@freebsd.org, current@freebsd.org, Tobias Kirschstein Subject: Re: 802.11b broken in -CURRENT? 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, 17 Mar 2009 15:47:48 -0000 Bruce Simpson wrote: > Bruce Simpson wrote: >> ... >> Can anyone shed further light on this? I know that 802.11b sucks, but >> there's a lot of it out there, >> and it just needs to work. > > Please ignore 'broken'. I found that my 802.11b AP's minipci card had > worked its way loose. > After rebooting it, I found I had to do the following to get 802.11b > access point association to work: > > ifconfig wlan0 create wlandev ath0 > ifconfig wlan0 mode 11b > ifconfig wlan0 channel any:b > ifconfig wlan0 ssid OpenWrt > ifconfig wlan0 down > ifconfig wlan0 up > > Hope this helps! Actually this just promulgates misunderstandings and voodoo that others will ape. This is what you need to setup an 11b-only ap on the best available channel: ifconfig wlan create wlandev ath0 wlanmode hostap mode 11b ssid OpenWrt up For the sta side: ifconfig wlan create wlandev ath0 mode 11b ssid OpenWrt up If the above does not work please enable debugging with wlandebug and file a PR. Sam