Hi,
Sometimes you want to access the folders “downloads” and “external_sdcard” directly via your browser without the Skylark GUI. For example, if the browser is too old and not supported (see https://othernet.tynet.eu/t/the-browser-often-crashes/6419 ).
This can be done with the following steps:
You log into the server via ssh.
ssh othernet@10.0.0.1
You get root privileges.
sudo -i
You create a symlink of the “download” folder in the Document-root of the webserver.
ln -sf /mnt/downloads /usr/share/www/
You create a symlink of the “external_sdcard” folder in the Document-root of the webserver.
ln -sf /mnt/external_sdcard /usr/share/www/
Now you can address these folders in your browser, for example http://10.0.0.1/downloads
I also added the links to this folder to the start page (top left).
I modified the file /usr/share/www/index.html for this purpose. At the end of the file, before the closing body and HTML tag, I inserted these two lines:
...
<a href="/downloads/">downloads</a></br>
<a href="/external_sdcard/">external_sdcard</a></br>
</body>
</html>
As you can see you don’t need to enter a password to see these folders.
Robert