Page 1 of 2

WiFi disable RPi3

PostPosted: 12 Feb 2017, 21:09
by DomieMic65
My first post here!
Hi to all and congratulations for your great distribution!

Is there a way to completely shut down the wifi module of the raspberry pi 3?

Thnx in advance!

Re: WiFi disable RPi3

PostPosted: 13 Feb 2017, 00:25
by hondagx35
Hi DomieMic65,

you have to modify the file "/etc/modprobe.d/disable_rpi3_wifi_bt.conf"
Code: Select all
##wifi
#blacklist brcmfmac
#blacklist brcmutil
##bt
#blacklist btbcm
#blacklist hci_uart


Code: Select all
##wifi
blacklist brcmfmac
blacklist brcmutil
##bt
#blacklist btbcm
#blacklist hci_uart


After this it is necessary to disable the wifi service
Code: Select all
systemctl disable netctl-auto@wlan0

and reboot.

Frank

Re: WiFi disable RPi3

PostPosted: 13 Feb 2017, 08:59
by DomieMic65
Thank you very much Frank!!
I will try this evening!!

Sent from my Nexus 5X

Re: WiFi disable RPi3

PostPosted: 14 Feb 2017, 16:16
by DomieMic65
It worked just fine!!!!
Thank you very much!!!!

Re: WiFi disable RPi3

PostPosted: 23 Mar 2017, 10:22
by n8dgr84
Hi,

How do I access this file to edit?
I've created it on the sd card but to no avail.

Thanks

Re: WiFi disable RPi3

PostPosted: 23 Mar 2017, 10:30
by DomieMic65
n8dgr84 wrote:Hi,

How do I access this file to edit?
I've created it on the sd card but to no avail.

Thanks

With WinSCP.
You must install it on your computer and gain access to the Raspberry
You must also use PuTTy to give the commands.

Re: WiFi disable RPi3

PostPosted: 23 Mar 2017, 13:21
by n8dgr84
Ok I downloaded WinSCP.
Found RuneAudio IP
Login using standard ports
Login is "root"
PW is "rune"
Add code to the file as above.

Thanks

Re: WiFi disable RPi3

PostPosted: 23 Mar 2017, 13:34
by hondagx35
Hi,

to speed up boot process you should also do
hondagx35 wrote:After this it is necessary to disable the wifi service
Code: Select all
systemctl disable netctl-auto@wlan0

and reboot.

Frank

Re: WiFi disable RPi3

PostPosted: 01 Jan 2020, 18:13
by piero
Hello
I'm hanging on to this post even though it's old
I would like to disable the wifi, I did the procedure above, but once I do the Reboot it restores the whole folder without the changes made and the wifi remains active.
Any ideas?
Raspberry pi 3 + runeaudio 0.4(beta 20160323)

Re: WiFi disable RPi3

PostPosted: 01 Jan 2020, 19:39
by R101
piero,

Changing the content of /etc/modprobe.d/disable_rpi3_wifi_bt.conf to:

##wifi
blacklist brcmfmac
blacklist brcmutil
##bt
blacklist btbcm
blacklist hci_uart

will disable wifi and bluetooth.