On Sat, Jan 02, 2021 at 05:34:07PM +0000, steve-ALUG@hst.me.uk wrote:
On 02/01/2021 10:53, Chris Green wrote:
On Fri, Jan 01, 2021 at 11:59:53PM +0000, steve-ALUG@hst.me.uk wrote:
As there's no-one to press reset for you (as you say), you'll need some sort of watchdog device.
The Beaglebone doesn't really need a watchdog, it's never died over the many years I've had it running on the boat. All it really needs is a reliable connection to the internet. If I could automate the WiFi Captive Portal login then the Beaglebone could re-connect every 24 hours or every week to keep its connection up. I have searched for "automatic login to Captive Portal" but I've not found anything that seems to fill the bill. The obvious approach of using Lynx (or similar) is no good because the Captive Portal uses loads of Javascript.
OK, I did a quick google. I found this.
https://www.geeksforgeeks.org/automated-login-for-captive-portals-in-linux/
It does say that you need to delve through the script to decode it. It mentions a javascript pretty-fier that may help. This sounds like the way to go to me.
The alternative is some sort of sim, but finding a cheap, persistent deal is the issue obviously.
I think it's probably worth spending some time trying to decode the captive portal code. You're likely trying to find a POST string to send to the server. You could then trigger that, say every day, or if you lost internet connection.
Yes, I've found a few similar but not the above one. I think probably a script that uses curl is the way to go. It has to wait until I can get back to France though.