Need the code for disabling wifi power mgmt in LMDE4

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
RamBurner
Level 4
Level 4
Posts: 385
Joined: Wed Nov 23, 2011 7:31 pm

Need the code for disabling wifi power mgmt in LMDE4

Post by RamBurner »

I need the code for disabling wifi power mgmt in LMDE4.
Initially I used the code I've been using in 19.3. That didn't work, came up with something like, "that file doesn't exist"
The commands I was using in 19.3 was;

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
systemctl restart network-manager.service
What are the proper commands to do this in LMDE4?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
overthetop

Re: Need the code for disabling wifi power mgmt in LMDE4

Post by overthetop »

The file may not exist yet. Check if the file /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf exist. If not create a new file with the following line and save it as /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Code: Select all

wifi.powersave = 2
User avatar
RamBurner
Level 4
Level 4
Posts: 385
Joined: Wed Nov 23, 2011 7:31 pm

Re: Need the code for disabling wifi power mgmt in LMDE4

Post by RamBurner »

Thank you, I give that a try.
Locked

Return to “Networking”