Disable Wi-Fi and/or Bluetooth

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?

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

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

Thanks!

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

1 Like

What if I want to disable bluetooth ONLY?

Some people wanna activate it first…