I'm using a Raspberry Pi 3.
The device becomes wirelessly unreachable after an hour or so. I figured a solution to this, which is disabling power management of the network device. This is done by either $this->bbcode_second_pass_code('', 'iwconfig wlan0 power off') or $this->bbcode_second_pass_code('', 'iw wlan0 set power_save off').
How to keep the power management off after rebooting the system?
Thanks,
me.