6

I want to disable the onboard Wi-Fi & Bluetooth, so as to connect an external Wi-Fi adapter on it for Hotspot configuration.

Since I searched on the internet, I find that we have to edit a blacklist file : /etc/modprobe.d/raspi-blacklist.conf and we should add the configuration below.

Wi-Fi

 blacklist brcmfmac
 blacklist brcmutil

Bluetooth

blacklist btbcm
blacklist hci_uart

Since I do this, my hotspot on my external adapter is not working anymore but when I ifconfig I see the wlan0 of my adapter...

Is there a better option to disable the internal Wi-Fi ?

Alexandre Dupont
  • 87
  • 1
  • 2
  • 6

1 Answers1

19

Yes, there is a better way.

You can edit /boot/config.txt and add this two lines:

dtoverlay=disable-wifi
dtoverlay=disable-bt

After reboot, WiFi & Bluetooth will be fully disabled.

More info on: https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README

Fred
  • 4,592
  • 19
  • 29