Closed yveveke closed 9 years ago
I saw your blog post "Simple Command Line Download Speed Test", maybe this can be used?
I guess it would be easier to just delay the start of the kiosk browser till an external connection is available.
You can easily extend it by putting some shell code into /etc/defaults/kiosk-browser
where you could also do that waiting loop. kiosk-browser now also pulls in xosd so that you can use osd_cat to easily display an info while waiting (see 362b18fade32aeed5d91664cd9c2819dbd7fb041 for example)
In my use case there is actually another package that provides a /etc/defaults/kiosk-browser
which loads the kiosk-browser configuration from our Wiki so that all dashboards can use the same disk image / software packages.
I also plan to publish that as an example of how to further automate such systems. I will update this issue once it is out.
A couple of months ago I added code to wait for some time to give the network more time to start. Probably not going to solve all your problems, though.
If you want to have something more elaborate then please provide a pull request.
in the .xsession file, is it possible to check if the kiosk has internet connection, and only then launch the browsers? Or to show a standard local html page with the message "connecting to the internet" and when the machine has connection press F5 with xdotool.