Closed hawkeyexp closed 3 years ago
That's really cool. I am trying to figure out where is the best place t place this.
Here its suggested at /etc/network/if-up.d/powesave_off
as a script.
Here is suggested to be added in does not exist anymore on pi. Seems like there is old advice on that here for octopi/etc/network/interfaces
After trying to get it to work with /etc/network/if-up.d/powesave_off
it seems that method just doesn't work anymore. So using rc.local. Hope some brave contributor comes along and figures out how to do this nicer, possibly taking other interface names in to account.
Fixed, needs to be tested
During using octoscreen i noticed sometimes reconnects by octoscreen which was caused by wifi sleep policy.
I disabled it with "iw dev wlan0 set power_save off" inside /etc/rc.local and the disconnects was gone. I recommend disabling wifi sleep in sdcard image possible as ifup script etc :-)