I am experiencing an issue related to wifi network sleeping or disconnecting, that has been persisting despite trying this methods:
- Changing the power management setting to off using iwconfig wlan0 power off
- Editing the /etc/network/interfaces file to include:
source-directory /etc/network/interfaces.d wireless-power off
but these don't seem to work. When I connect my raspberry pi to my monitor and login, thats when the wifi connects again and everything is fine.
Is there a work-around to this - such as having a script run to reboot the server and so it can activate the network or something?
Also, I'm using a raspberry A+ model.