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

wrt54g as web server. Sample needed.

Discussion in 'DD-WRT Firmware' started by navisingh, Mar 13, 2006.

  1. navisingh

    navisingh Network Guru Member

    I am trying to set up the WRT54G as a web server. On reading the wiki and searching thru this forum I have learned the following:

    One has to enable jffs and samba.
    One has to create a web page in a file info.htm and have it point to the shared folder on a pc. the share name requiring the samba server.

    All this kind of makes sense, but it would really help if someone could post a simple example of how one goes about this.

    Screen shots of what should be in the DD-WRT settings (jffs and samba), a sample info.htm (with appropriate links to a web page on the pc), how to put the file in the right location on the router, etc.

    Waiting in anticipation of such a posting by some kind soul who frequents this forum.

    Thanks

    Navi
     
  2. t4thfavor

    t4thfavor Network Guru Member

    you can place the file on the router with scp file transfer with something like Winscp and then all you have to do is moung a samba drive and place the other content on that.

    Question: If you are going to use a pc with a samba drive to hold the files, why not host off that pc and save yourself this trouble?
     
  3. DeLaRafi

    DeLaRafi Network Guru Member

    the info.htm if im not mistaken.. should be in capital I right??
    coorect me if im wrong. :thumb:
     
  4. trey504

    trey504 Network Guru Member

    I will show you a simple way easy easy

    create a windows share on your pc and put index.html file in there
    then telnet into the router and type these commands change them as needed

    insmod smbfs
    smbmount //192.168.1.100/sharename /tmp/www -o username=yourlogin,password=yourpassword

    BTW you will get errors with the last command but it will work
    Then goto http://192.168.1.1/user/index.html wow easy your done and then just add to startup and your set. If you want to run port check out mini_httpd
     

Share This Page