Deactivating Wifi and Bluetooth on a Raspberry Pi 5

Since I have connected my Allsky camera to my router via Ethernet cable, I don’t need Bluetooth or Wifi on my Raspberry Pi 5. Both can be permanently deactivated with two lines.

And this is how it works:

The first step is to open the file /boot/firmware/config.txt with the text editing tool Nano

sudo nano /boot/firmware/config.txt

In the file that then opens, we add the following two commands after the entry [all]:

dtoverlay=disable-wifi
dtoverlay=disable-bt

Then we reboot the Raspberry:

sudo reboot

That’s it! The easiest way to find out whether the commands are working is with the command

ifconfig

command.

Enjoyed this post?

You can support allsky-rodgau.de with a small coffee on BuyMeACoffee.

Buy me a coffee!