Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can NM disable powersave for wifi globally?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DeIM
Guru
Guru


Joined: 11 Apr 2006
Posts: 442

PostPosted: Wed Oct 23, 2024 10:38 am    Post subject: How can NM disable powersave for wifi globally? Reply with quote

I wanna disable powersave on my wifi - it causes often disconnections.

powersave=2 disables powersave

I've tried to add to /etc/NetworkManager/system-connections/[SSID].nmconnection file (i'ts connection specific):
Code:
...
[wifi]
...
powersave=2
...


it worked

I wanna do something for any wifi connection so I tried to make config file:
/etc/NetworkManager/conf.d/default-wifi-powersave-off.conf
Code:
[connection]
type=wifi
#wifi.powersave=2

[wifi]
powersave=2

It doesn't work.

Tried also (not working also):
Code:
[connection]
wifi.powersave=2
Back to top
View user's profile Send private message
DeIM
Guru
Guru


Joined: 11 Apr 2006
Posts: 442

PostPosted: Sat Oct 26, 2024 4:56 pm    Post subject: Reply with quote

seem
Code:
[connection]
wifi.powersave=2

works on global basis and
nmcli connection show [ssid]
shows
802-11-wireless.powersave: 0 (default)
It seem I can't see actual settings - only 0 is "take setting from global".
From documentation:
One of 2 (disable) (disable Wi-Fi power saving), 3 (enable) (enable Wi-Fi power saving), 1 (ignore) (don't touch currently configure setting) or 0 (default) (use the globally configured value). All other values are reserved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum