Topic: Work-around ideas for freeze-ups when the network drops?
We're using a Chumby in an environment where Internet connectivity isn't 100%. The WiFi is weak (signal booster is on order) and our DSL line is on the fringe of the telco distance limit (beyond my control). Unfortunately, Chumby's response to losing connection is to freeze solid, requiring a power-cycle reboot. Ugh - could you imagine if your Mac or PC required a reboot whenever the net dropped?
Anyhow, I chatted with tech support about this today, and it took awhile for him to see my point: Displaying time that's several hours off, and requiring cold reboots is a Really Serious Bug, not "expected behavior." His attitude didn't give me a lot of confidence this would be fixed anytime soon.
So, that makes me think some vigilante scripting is in order. How hard would it be to write (in Python, picking my favorite):
needReboot = false
while True:
time.sleep(60)
# If network goes down, wait for it to come back up...
while (IsNetworkDown()):
time.sleep(120) # Should correspond to Chumby timeout
chumby.DisplayMessage("Network is down....")
needReboot = true
if (needReboot):
chumby.Reboot() # Script exits at this point
How hard would it be to come up with the "Reboot" and "DisplayMessage" functions? I could also write this in C, if that's necessary.
By the way, I should point out that (except for this Really Serious Bug) we love the Chumby. Trust me, if we didn't love it, I would've sent it back rather than spend $100 on a signal booster and contemplate a few hours of script hacking to work around the RSB.