I have tried every option I could find, but no matter what I try, after rebooting my Raspberry Pi 400 running Ubuntu Server 22.04 the WiFi power management feature resets to ON, meaning the WiFi goes to sleep after periods of inactivity and makes the whole device completely inaccessible when I need it.
****@****:~$ iwconfig wlan0
wlan0 IEEE 802.11 ESSID:"***********"
Mode:Managed Frequency:5.22 GHz Access Point: *********
Bit Rate=54 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=38/70 Signal level=-72 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Here are some of the fixes I've tried, which have apparently worked for others.
- Raspberry Pi sleep mode, how to avoid
- https://www.heelpbook.net/2021/raspberry-pi-4-preventing-wifi-module-to-go-to-sleep-mode/
- Does the BCM43438 WiFi chip in Raspberry Pi 3 support power management setting?
- https://forum.dexterindustries.com/t/permanently-disable-wifi-power-management/8379
- Make "iw wlan0 set power_save off" permanent
- https://askubuntu.com/questions/1098101/how-to-turn-off-the-wifi-power-management-in-ubuntu-18-04-live
- https://unix.stackexchange.com/questions/269661/how-to-turn-off-wireless-power-management-permanently
Is there any other that I may have missed?