Comments (2)
@avanc while I'm not saying that the choice of rebooting upon network loss is the best choice, here are some reasons that led to it:
- thingOS was designed with network connectivity in mind, meaning that losing upstream connection is considered fatal issue (i.e. the system can't work properly without it)
- connectivity losses may be caused by faulty drivers or hardware issues that could only be recovered from (if at all) by a reboot
- services running on thingOS might not be designed well enough to be resilient to network reconnections; rebooting the OS will effectively restart them
- the OS itself is supposed to behave like an "embedded" system, where anything that goes wrong would trigger a reset
- the OS is supposed to boot fast enough so that the downtime caused by the reboot itself should be comparable to the downtime caused by a network reconnection
This being said, if you don't neet a network connection, you can disable it by setting OS_NETWORKLESS=true. Or you can tweak the panic action handling script so that it doesn't reboot on network loss (or at all).
I have toyed with the idea of a /etc/network/interfaces
file and the underlying mechanism and as far as I remember, it actually works for configuring the interfaces, but it won't do Wi-Fi reconnections.
I know the network connection mechanism is far from ideal and I am open to suggestions, but I can't promise to implement anything that is too disruptive or radically changes the way the system currently works.
from thingos.
Thanks for the background information. I'm considering to keep my changes small an possible: Do not stop boot process, by doing a reboot with higher delay (e.g. 1 hour) so the photoframe is showing pictures most of the time.
from thingos.
Related Issues (20)
- motionEyeOS Can I use it offline? HOT 1
- Just changing version does not change the rootfs HOT 11
- FAT32 /data partition HOT 6
- Adding a new Board (x86_64) HOT 3
- Wrong FAT in wiki/Partitions HOT 1
- Option to install pre-releses using fwupdate HOT 1
- Need to update wpa_supplicant.con info HOT 3
- Wiki: no space usage estimation in Getting Started's Prerequisites HOT 1
- Several missing Wiki pages HOT 1
- Tried to build ThingOS got err LD_LIBRARY_PATH env vars HOT 1
- Building on Arch Linux host broken HOT 2
- Compilation Error: No rule to make target 'arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4.dtb' HOT 1
- why does motioneyeos always fail on boot at wpa_supplicant? HOT 3
- How to create wpa_supplicant, where to put it and what should be in it? HOT 1
- Support for Raspberry Pi Zero 2 W HOT 7
- Discussion: how about Buildroot externals? HOT 6
- RaspberryPi 0W: fwupdate fails from time to time HOT 3
- RaspberryPi 0W: Wifi AP is broken
- FTP WebCam HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thingos.