6

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.

2
  • 1
    Possible duplicate of Disable WiFi (wlan0) on Pi 3 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. Commented Oct 12, 2017 at 23:16

2 Answers 2

3

Rfkill sounds like what you are after.

$ rfkill list $ rfkill block (device no) $ rfkill unblock (device no) 

https://askubuntu.com/a/881572/479642

4

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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.