Bug #826
closed
Recover to normal mode if power is lost
Added by Hammel over 3 years ago.
Updated over 3 years ago.
Description
If power is lost then pinet headless mode should return to normal mode automatically.
If pinet in UI mode is not running then the init scripts need to catch that pinet was running and cleanup from that.
- Status changed from New to In Progress
- % Done changed from 0 to 10
The /etc/network/interfaces file needs to be restored to its default settings (/etc/network/interfaces.wlan). I put this in the init script but that happens after the network has already been brought up, so you need a second reboot to completely fix things.
I need a second init script that handles restoring the config on reboot. Both this new script AND the S95pinet init script need to do the restoration because the latter could be called without a reboot.
- Status changed from In Progress to Closed
- % Done changed from 10 to 100
Script added and updates to pinet-ap.sh to be more reliable on network restarts. Power cycling does a better job of returning the system to a known state.
Changes tested, committed and pushed.
Closing issue.
Also available in: Atom
PDF