I have a cluster of Raspberry Pi 3 machines in a cluster. To reduce power consumption I would like to turn off the wireless modules. I have learnt that HDMI can be switched off with the tvservice command:

sudo tvservice -o

Is there a similar command for wifi/bluetooth?

There is a similar question which discusses disabling wifi (Disable WiFi (wlan0) on Pi 3) but it does not specifically request the power conservation aspect which is what I am concerned with.

  • 1
    Possible duplicate of Disable WiFi (wlan0) on Pi 3
    – GAD3R
    Commented Oct 12, 2017 at 20:58
  • 1
    NOT DUPLICATE The question may be similar, but the answer is OBSOLETE, and is about TOTALLY disabling WiFi NOT turning it off.
    – Milliways
    Commented Oct 12, 2017 at 23:16

2 Answers 2


Rfkill sounds like what you are after.

$ rfkill list 

$ rfkill block (device no)

$ rfkill unblock (device no)



You CAN use device id (which may be appropriate if you had multiple adaptors), but the Foundation recommended method is:-

To turn off wifi, rfkill block wifi; to turn it on, rfkill unblock wifi. For Bluetooth, rfkill block bluetooth and rfkill unblock bluetooth.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.