Quote:
Originally Posted by nhedgehog
Thanks for the update.
What I couldn't figure out is how to call the browser without having it connecting to the wlan. Otherwise we would have a nice wikipedia viewer via kiwix.
|
Browser doesn't ask for file:/// urls at all. For http:// it asks, but you can decline. Beware that shop browser doesn't take no for an answer, and will try to force wifi anyway, but the normal browser is more reasonable. The bigger issue is that non-rooted devices don't have loopback, meaning theres no ip to point to. Recent firmware versions allows non-root users to call ifconfig via sudo, so one can do something like this as non-root:
Code:
#!/bin/sh
sudo ifconfig lo 127.0.0.1 up
/mnt/ext1/bin/thttpd -d /mnt/ext1/www -p 8888 &
/ebrmain/bin/browser.app http://127.0.0.1:8888/
This will ask for wifi, you decline, and then it loads the page from localhost anyway.
While kiwix would be nice and could easily be set up as above, the wikis are really large - 18GB en wiki w/o pictures, + another cca 10GB if you want fulltext search index.