1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

running web server on wrt54gl

Discussion in 'Tomato Firmware' started by Urko, Mar 20, 2009.

  1. Urko

    Urko Network Guru Member

    I want to use tomato firmware and wrt54gl as a small web server, for small web site.
    I found this thread http://www.linksysinfo.org/forums/showthread.php?t=60903&highlight=tomato+web+server but it doesn't answer my question.
    I am using this as a startup script:
    killall httpd
    cd /www
    httpd -p 81 /www
    cd /jffs
    httpd /jffs
    I already put a index.htm to the jffs directory. The stuff works, but the only problem is that i don't want the user and password authentication window displayed when i visit
    I am doing this just for fun and learning Linux.
  2. fyellin

    fyellin LI Guru Member

    As indicated by both me and by others, the httpd server is hardwired into tomato and is not designed to be configurable. You can change the password, but you can't change the fact that it wants a username/password combo. You'll find more surprises as you go along.

    You'll really really save yourself a lot of hassle by running your http server on some machine inside your firewall, and then port forwarding appropriately.

    The more I look at the tomato httpd sources, the more I see that it's designed to do exactly what tomato needs--no more and no less.
  3. Urko

    Urko Network Guru Member

    Thank you for replay.
    I found this repository http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/ and successfully installed thttpd.
    But when i run i get:
    /opt/etc/init.d/S80thttpd start
    /opt/etc/init.d/S80thttpd: /opt/etc/init.d/S80thttpd: 7: /opt/sbin/thttpd: not found
    And i mounted /jffs/opt to /opt
  4. Urko

    Urko Network Guru Member

Share This Page