From owner-freebsd-questions@FreeBSD.ORG Tue Jul 14 20:53:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24F981065675 for ; Tue, 14 Jul 2009 20:53:45 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id DF0968FC19 for ; Tue, 14 Jul 2009 20:53:44 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 648797E818 for ; Tue, 14 Jul 2009 12:53:43 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Tue, 14 Jul 2009 12:53:42 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA1; KDE/4.2.4; i386; ; ) References: <20090714053849.GB1893@kokopelli.hydra> <200907141220.25978.milu@dat.pl> <20090714202840.GB1832@kokopelli.hydra> In-Reply-To: <20090714202840.GB1832@kokopelli.hydra> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200907141253.42400.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: turning off the wireless network radio X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2009 20:53:45 -0000 On Tuesday 14 July 2009 12:28:40 Chad Perrin wrote: > On Tue, Jul 14, 2009 at 12:20:25PM +0200, Maciej Milewski wrote: > > Dnia wtorek 14 lipiec 2009 o 07:38:49 Chad Perrin napisa=C5=82(a): > > > I'm having a real bitch of a time trying to figure out how to shut do= wn > > > the wireless adapter's radio. The driver module won't unload as long > > > as the adapter is active, and neither ifconfig nor iwicontrol are > > > providing a solution either. > > > > > > I'm using (as you may have guessed by mention of iwicontrol) an Intel > > > wireless adapter, with if_iwi.ko as my driver module. It's an Intel > > > PRO/Wireless 2200BG Network Connection according to pciconf -lv. > > > > > > Thanks in advance. > > > > You can try doing this by software switch: > > sysctl -a | grep rfkill > > dev.ath.0.rfkill: 0 > > This switch should disable radio. > > I don't know if it is supported by iwi driver but you can try. > > At first glance, it looks like the iwi equivalent is dev.iwi.0.radio, > where 1 is on and 0 is off. It won't let me set it to 0, though, > claiming it's a read-only sysctl setting. > > . . . and trying to set the debug.iwi sysctl setting to 1 caused the > computer to reboot (not intended behavior, I'm sure). Bah. I wonder if > there's something wrong with my driver. There is plenty wrong with the driver, also with the product. Unfortunately= ,=20 Intel does not support the FreeBSD team with developers for the wireless ca= rds=20 as they do with the wired cards and the iwi driver is particularly plagued. At present the best working Intel wireless on FreeBSD is the wpi, but it is= on=20 the virge of the same fate as Benjamin Close is lacking time to support it. There's a group of people working on improving iwn for the 5000 series, eff= ort=20 spawned from this list, but as of yet I haven't seen anything hit the sourc= e=20 tree. =2D-=20 Mel