RPi3 Disable Bluetooth Or WiFi By Default
Last updated
Last updated
Use sudo mount /dev/mmcblk0p1 /mnt
to mount SD Card
Use sudo vim /mnt/config.txt
to edit config
Disable WiFi Add the following script to disable WiFi
Disable Bluetooth Add the following script to disable Bluetooth
And then use the following script to shutdown the services of bluetooth
Then
Reboot
Now you can use iwconfig
to check if the WiFi is disabled
Also can use hciconfig
to check if the Bluetooth is disabled
I don't know why if I use sudo systemctl disable bluealsa.service
to disable bluealsa,
the raspberry pi will show this :
Failed to disable unit: No such file or directory
Maybe Raspbian-Stretch has remove this service by default ?