How to turn of power management on the wifi in kali 2010.1 (or any other distro using NetworkManager). @kalilinux #kali #kalilinux #linux #NetworkManager

Sometimes there are issues with speed, performance, lost of connection to access points.

This can be helpful in some configurations.

Before:

iwconfig wlan0

wlan0 IEEE 802.11 ESSID: 
Mode:Managed Frequency:5.26 GHz
Bit Rate=6 Mb/s Tx-Power=20 dBm 
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=56/70 Signal level=-54 dBm 
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:3 Missed beacon:0

Create this file, if you do not have it before.

sudo vi /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

The content of the file:

[connection]
wifi.powersave = 2
# NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
# NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
# NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
# NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3): enable powersave

Then we need to restart the NetworkManager

/etc/init.d/network-manager restart

And efter this change the power management is disabled.

iwconfig wlan0

wlan0 IEEE 802.11 ESSID: 
Mode:Managed Frequency:5.26 GHz
Bit Rate=6 Mb/s Tx-Power=20 dBm 
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=56/70 Signal level=-54 dBm 
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Advertisement

2 thoughts on “How to turn of power management on the wifi in kali 2010.1 (or any other distro using NetworkManager). @kalilinux #kali #kalilinux #linux #NetworkManager

Add yours

  1. ya that works for sure
    but it only works for manage mode(normal mode),
    when i turn on monitor mode its again back to power management= on..
    wlan0 power mang =off
    wlanomon power mang = on
    give solution to permanently make it off for each amd every interfaces….

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.

Up ↑

%d bloggers like this: