7

I'm trying to disable the wireless power save on my RPI3, but can't do it:

$ sudo iwconfig wlan0 power off
Error for wireless request "Set Power Management" (8B2C):
    SET failed on device wlan0 ; Invalid argument.

Is it possible, or simply not supported?

Regardless, if I don't get any problems while using the wifi card as Soft AP, is there any advantage is disabling power management?

3

upgrade to "next" firmware branch:

sudo BRANCH=next rpi-update

mine is now kernel 4.4.3 and firmware 41f8b4812ad653abf321b8c54cb4bee57ebdb129 and now accepts the power off command. My connection was constantly dropping, this appears to have sorted it!

14

I'm running current kernel (4.1.19-v7+ #853), which exhibits the problem. Updating to BRANCH=next didn't help, so I rolled back.

For me, although iwconfig wlan0 power off doesn't work, the alternative iw dev wlan0 set power_save off does work.

So I've commented-out wireless-power off in /etc/network/interfaces, and replaced by:

allow-hotplug wlan0
iface wlan0 inet manual
#   wireless-power off
    post-up iw dev $IFACE set power_save off
4

Try

sudo iw dev wlan0 set power_save off
  • when you say sudo iw dev wlan0 set power_save off do you mean I open terminal and type the above words and it will not automatically shut off my wifi? – 6suns Apr 4 '17 at 21:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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