Page 1 of 1

Turn WiFi off

Posted: Thu Jul 23, 2009 10:42 am
by Wudang
Although bought with WiFi module this was done mainly on a "just in case" basis.

Until I need to make use of it how do you disable WiFi from transmitting as no option to do so appears, as far as I can see, within the BIOS settings.

Re: Turn WiFi off

Posted: Thu Jul 23, 2009 12:07 pm
by irads
You can disable WiFi from the operating system.

Re: Turn WiFi off

Posted: Mon Jul 26, 2010 6:06 am
by advid
irads wrote:You can disable WiFi from the operating system.
:? ahem...
I haven't enabled/configured anything wifi on my mandriva linux, but the wifi LED is blinking. :| And I don't want wifi at all...

Does anyone knows how to disable wifi on fitPC2i ?
Shall I blacklist the module rt2870 ? (edit: rt3070sta maybe)
Shall I shut off USB bus 1, device 4 ? And how ?

(I've searched on the net and in my config tools, no luck)

Re: Turn WiFi off

Posted: Mon Jul 26, 2010 7:03 am
by advid
Well I've done this (mandriva) :

/etc/modprobe.d/blacklist-nowifi
blacklist rt3070sta
blacklist rt2800usb
blacklist rt2x00usb
blacklist rt2x00lib
blacklist mac80211
blacklist cfg80211
After reboot : no wifi LED blinking 8-)
There's only rt2870sta loaded, maybe it's in the initrd, but it isn't a big deal.

If anyone has a better/nicer way to do, please tell ;)

Re: Turn WiFi off

Posted: Mon Jul 26, 2010 7:10 am
by fly
--edit: I am posting too slowly.... --
I haven't enabled/configured anything wifi on my mandriva linux, but the wifi LED is blinking. :| And I don't want wifi at all...
If anyone has a better/nicer way to do, please tell ;)
Better depends on the case. Sometimes, e.g. on embedded platforms, it might be useful to build you own kernel with just the needed parts and -- in your case -- completley remove the wlan subsystem :P
Does anyone knows how to disable wifi on fitPC2i ?
Shall I blacklist the module rt2870 ? (edit: rt3070sta maybe)
Shall I shut off USB bus 1, device 4 ? And how ?
Run lsmod to get the module(s) name and then blacklist it in /etc/modprobe.d/blacklist.conf (maybe its named just blacklist oder blacklist-xyz.conf on mandriva):

blacklist modulname

After that you should run update-initramfs -u.