Go Down

Topic: Yun. Cannot serve web pages (Read 318 times) previous topic - next topic

ebolisa

Hi,
 
I cannot serve web pages from my Yun so I came here to get some help.

I formatted my SD card and created www folder within the arduino one at the root of the card. Using putty, I can see my files at cd /mnt/sda1/arduino/remote/ index.html zepto.min.js but using the link http://192.168.0.201/sd/remote "no such directory" is displayed.

The link http://192.168.0.201 works as it allows me to enter into the config file Luci.

The board is new (Linino) and, perhaps, I need to enable something or load some files in the Linux side?

TIA

Dmitron1036

 I'm not familiar with yun... general ideas:
1) You need to have web - server on YUN
2) You need to open access from internet

try loopback : 127.0.0.1 from YUN.
try server version [program name] -v

ebolisa

Hi,
The Yun connects to internet ok. I can get to it from anywhere. The problem is that I cannot get an index.html file to show in a browser. Not even locally.
I modified the uhttpd file from

Code: [Select]
# option home /osjs/dist
to
Code: [Select]
option home /mnt/sda1/www
with no avail.

In my sd card I've the arduino/www folder with a test.html file.
I can see and open the file within putty but not with a browser.

http://sketch_name.local/sd/ nor 192.168.0.22/sd/ work.

However http://192.168.0.22 brings up the system config web file.
I've the Linino version running on the Yun.

Go Up