After upgrading Linino, can't access http://ip/sd/www from other browser

Home Page Template Forums Linino After upgrading Linino, can't access http://ip/sd/www from other browser

This topic contains 1 reply, has 2 voices, and was last updated by  bernext12 1 year, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3038

    yehnan
    Participant

    Originally, after putting some index.html in the folder (arduino/www) of the external micro sd card,
    I can use a browser and url (http://ip-of-yun/sd) to access it.

    Now after upgrading Linino to the latest(Linux arduino 3.3.8 #1 Sat Apr 30 12:26:29 CEST 2016 mips GNU/Linux),
    the browser will show:

    No such file or directory

    Is there anything wrong? How to fix it?

    Thanks.

    #3099

    bernext12
    Participant

    That’s because Linino has a different line inside this file: /etc/config/uhttpd
    You should have “/osjs/dist” instead of the usual and previous “/www”. Why is this? I have no idea. Linino is just different.

    So, add these lines at the end of that uhttpd file:

    config uhttpd secondary
    option listen_http 81
    option /mnt/sda1 /arduino/www
    option script_timeout 60
    option network_timeout 30

    After that, restart uhttpd:
    /etc/init.d/uhttpd restart

    And then, u will be able to access your files, adding the port 81 to your address. Also, in linino you don’t have the symbolic link of “sd” which is supposed to redirect you to sda1. That’s why this is the working address for me:
    http://192.168.100.7:81/sda1/arduino/www/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Net NEUTRALITY
X