Hi, new to yun but experienced aruinoista.
with 192.168.1.7/sd or any other 'should work' url I get No such file or directory.
I need help. Here's the Yuns terminal logon screen:
BusyBox v1.19.4 (2016-04-08 02:46:32 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/_\ ___ /_\ ___ /_\ /\ \
/ / /\ \ /:
| /\ \ /:
| /::\ \
/ / :\ \ /:|:| | :\ \ /:|:| | /:/:\ \
/ / /::_\ /:/|:| |__ /::_\ /:/|:| |__ /
:\ \
/:/__/ /:/// / |:| /_\ /:/// /
|:| /_\ /:/__/ :_\
:\ \ // / /|:|/
/ //
/ /|:|/
/ :\ \ /
/
:\ \ :/ |:/
/ :
/ |:/
/ :\ /
/
:\ \ :_\ |: / :_\ |:
/ :/
/
:__\ // / / // /
/ :
/
// // // //
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
ls /www folder:
root@jonasarduino:/www# ls -l
drwxr-xr-x 2 root root 27 Apr 19 2016 cgi-bin
-rw-r--r-- 1 root root 419 Apr 7 2016 index.html
drwxr-xr-x 1 root root 0 Dec 21 17:35 luci-static
lrwxrwxrwx 1 root root 21 Dec 28 16:11 sd -> /mnt/sda1/arduino/www
drwxr-xr-x 2 root root 0 Dec 28 10:25 temp
-rwxrwxrwx 1 root root 270 Dec 28 10:24 temp.html
-rw-r--r-- 1 root root 270 Dec 28 10:23 temp.txt
says to me that sd card and sd card folder structure is in place.
root@jonasarduino:/www# cd sd
root@jonasarduino:/mnt/sda1/arduino/www# ls -l
-rwxr-xr-x 1 root root 270 Dec 28 10:34 index.html
-rwxr-xr-x 1 root root 270 Dec 28 10:35 temp.html
there is stuff there, yet I get No such file or directory when urling in, no matter if its just /sd or /sd/temp.html
REST password is deactivated if that matters. What am I missing, or what is the Yun missing?
Thanks
Jonas
edit:
with reference to this thread i figured out that /www is not the root web server folder on my Yun but rather /osjs/dist so I created a link to my sd-card there and that did the trick.