English
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I know it's a little late, but hope it helps others that have the same question.

Create a NetworkManager script i.e. /etc/NetworkManager/dispatcher.d/02-wlan-powersave-off

#!/bin/sh
IF=$1
STATUS=$2
if [ "${IF}" = "wlan0" ] && [ "${STATUS}" = "up" ]; then
   iwconfig ${IF} power off
   logger "${IF}: turning off powersave mode to prevent constant reconnections"
fi

Don't forget to chmod 755 /etc/NetworkManager/dispatcher.d/02-wlan-powersave-off Restart NetworkManager (using Fedora with systemd):

systemctl restart NetworkManager.service

I know it's a little late, but hope it helps others that have the same question.

Create a NetworkManager script i.e. /etc/NetworkManager/dispatcher.d/02-wlan-powersave-off

#!/bin/sh
IF=$1
STATUS=$2
if [ "${IF}" = "wlan0" ] && [ "${STATUS}" = "up" ]; then
   iwconfig ${IF} power off
   logger "${IF}: turning off powersave mode to prevent constant reconnections"
fi

Don't forget to chmod 755 /etc/NetworkManager/dispatcher.d/02-wlan-powersave-off /etc/NetworkManager/dispatcher.d/02-wlan-powersave-off

Restart NetworkManager (using Fedora with systemd):

systemctl restart NetworkManager.service