Hello,
I have build a monitoring system which is "portable" and based on OpenWrt (and docker for the monitoring part of app) and a raspberry pi 3.
Why OpenWrt ? Because it is very convenient for managing the network access (WiFi + ethernet + 4G dongle + VPN) and also for the easy upgrade process.
I made a custom build with more packages and my configuration preloaded.
I added a additional ext4 partition mounted as /opt for docker persistence over upgrade.
My only issue today is the rootfs corruption when using ext4. It happened once that network config as resetted (removed IP settings and so...)
The first solution I found is to remount / as readonly in rc.local.
Then I moved to squashfs and it seems to be better, but I would like to put the rootfs in readonly mode.
Is there any better solution or any advise for my use case ?
Thank you