From owner-freebsd-current@FreeBSD.ORG Sun Apr 27 15:31:20 2008 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 5D693106566B for ; Sun, 27 Apr 2008 15:31:20 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 18C218FC1C for ; Sun, 27 Apr 2008 15:31:20 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 0A5D62BC36; Mon, 28 Apr 2008 03:31:19 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tViSsu3Fr6xJ; Mon, 28 Apr 2008 03:31:14 +1200 (NZST) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Mon, 28 Apr 2008 03:31:14 +1200 (NZST) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 0A5761142D; Mon, 28 Apr 2008 03:31:13 +1200 (NZST) Date: Mon, 28 Apr 2008 03:31:13 +1200 From: Andrew Thompson To: Yue Wang Message-ID: <20080427153113.GE98671@citylink.fud.org.nz> References: <68bfdc900804270706v7ac4885eo45164ba06c7864b8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <68bfdc900804270706v7ac4885eo45164ba06c7864b8@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-current@freebsd.org Subject: Re: wpi doesn't work again 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, 27 Apr 2008 15:31:20 -0000 On Sun, Apr 27, 2008 at 10:06:21PM +0800, Yue Wang wrote: > Hi, > > Now I have current installed on my machine. I built the world about a > month ago and the wpi driver works well. > But now it doesn't work again. All the configuration files remains > untouched since last built. Here is the information. > Then I boot the kernel.old/kernel, which is the backup Current kernel > built month ago, every thing works fine. > > if I turn the radio down and up again, then > localhost# ifconfig wpi0 down > localhost# ifconfig wpi0 up scan > ifconfig:unable to get scan results Have a look in src/UPDATING The 802.11 wireless support was redone to enable multi-bss operation on devices that are capable. The underlying device is no longer used directly but instead wlanX devices are cloned with ifconfig. This requires changes to rc.conf files. For example, change: ifconfig_ath0="WPA DHCP" to wlans_ath0=wlan0 ifconfig_wlan0="WPA DHCP" see rc.conf(5) for more details. As part of the multi-bss changes the wlan_scan_ap and wlan_scan_sta modules were merged into the base wlan module. All references to these modules (e.g. in kernel config files) must be removed. You need to create the wlan device from wpi0 and use that for wireless ifconfig wlan0 create wlandev wpi0 Andrew