Disable Wi-Fi and/or Bluetooth


#1

What is the proposed way to disable Wi-Fi and/or Bluetooth on Rock Pi 4 with Debian/Ubuntu?

What I found is:

systemctl disable wpa_supplicant
systemctl disable bluetooth
systemctl disable hciuart

for both.

Is there a better way?


#2

I would try blacklisting the kernel module that’s loaded for the Wi-Fi although I don’t know the name of the module you might have to research that


#3

Depending on what you need it could be
ifconfig wlan0 down
Or, if you need something lower level, most commands fron there


#4

Thanks!

nmcli radio wifi off was the thing I was looking for.


#5

What if I want to disable bluetooth ONLY?


#6

Some people wanna activate it first…