Disable Wi-Fi and Bluetooth on a Raspberry Pi
By altering the Raspbian boot configuration file, we can eliminate the following message from appearing after login in the console.
The file to configure is /boot/config.txt
, and just add the line:
dtoverlay=deactivate-wifi
And the same can be done to deactivate Bluetooth , in this case:
dtoverlay=deactivate-bt
On the other hand, if we only want to remove the message, but not deactivate those radios, we should take a look at /etc/profile.d/ , specifically at the script wifi_check.sh