Re: turning off the wireless network radio
On Tue, Jul 14, 2009 at 12:38 AM, Chad Perrin wrote: > I'm having a real bitch of a time trying to figure out how to shut down > 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. > i...@pci0:2:3:0:class=0x028000 card=0x25658086 chip=0x10438086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel(R) PRO/Wireless 2100 LAN Card Driver (82801)' class = network kldunload works for me as well. If you turn debug up on ifconfig does that give you any clues? -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: turning off the wireless network radio
Dnia wtorek 14 lipiec 2009 o 07:38:49 Chad Perrin napisał(a): > I'm having a real bitch of a time trying to figure out how to shut down > 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. Cheers, Maciej Milewski ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: turning off the wireless network radio
On Tue, Jul 14, 2009 at 01:22:22AM -0500, Adam Vande More wrote: > > i...@pci0:2:3:0:class=0x028000 card=0x25658086 chip=0x10438086 > rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Intel(R) PRO/Wireless 2100 LAN Card Driver (82801)' > class = network > > kldunload works for me as well. If you turn debug up on ifconfig does that > give you any clues? I dunno. Maybe I'm using the debug parameter incorrectly, but it isn't giving me *anything*. How is it supposed to be used? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Philip Machanick: "caution: if you write code like this, immediately after you are fired the person assigned to maintaining your code after you leave will resign" pgp8PqPR2GUWG.pgp Description: PGP signature
Re: turning off the wireless network radio
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ł(a): > > I'm having a real bitch of a time trying to figure out how to shut down > > 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. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Steinbach's Guideline for Systems Programmers: "Never test for an error condition you don't know how to handle." pgpVKTWIMggGu.pgp Description: PGP signature
Re: turning off the wireless network radio
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ł(a): > > > I'm having a real bitch of a time trying to figure out how to shut down > > > 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, Intel does not support the FreeBSD team with developers for the wireless cards 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 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, effort spawned from this list, but as of yet I haven't seen anything hit the source tree. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: turning off the wireless network radio
On Tue, Jul 14, 2009 at 12:53:42PM -0800, Mel Flynn wrote: > On Tuesday 14 July 2009 12:28:40 Chad Perrin wrote: > > > > 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, > Intel does not support the FreeBSD team with developers for the wireless > cards > as they do with the wired cards and the iwi driver is particularly plagued. Well . . . that's bad news, but it's good to know, I guess. Thanks. I wonder if my inability to turn off the adapter is a driver issue. There are times I can get it to turn off -- but other times, I can't. > > At present the best working Intel wireless on FreeBSD is the wpi, but it is > on > 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, > effort > spawned from this list, but as of yet I haven't seen anything hit the source > tree. Thanks for the information. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Christopher Hitchens: "What can be asserted without proof can be dismissed without proof." pgp4FYMuhZkVL.pgp Description: PGP signature
Re: turning off the wireless network radio
On 7/14/09, 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 napisal/(a): >> > I'm having a real bitch of a time trying to figure out how to shut down >> > 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 Please provide backtrace. > there's something wrong with my driver. > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > Quoth Steinbach's Guideline for Systems Programmers: "Never test for an > error condition you don't know how to handle." > -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"