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

Running a webserver on my Linksys router

Discussion in 'Cisco/Linksys Wireless Routers' started by techmanblues, Apr 17, 2005.

  1. techmanblues

    techmanblues Network Guru Member

    I want to run a very small and simple website directly from a Linksys router. In other words, both the webserver and the website data reside on the router. I am sure I can do this with some mod in the firmware, but what is the easiest way to do this? Is it possible to attach a USB CompactFlash card reader to a Linksys router, particularly the one with a USB connection, and store either (or both) the webserver program and website data on a CompactFlash card. Basically using it as a "harddrive" for the router?

    Furthermore, I am looking for a GUI way to manage this site instead of through the command line. It would be a really nice thing to be able to do this.
     
  2. oopsibrokeit

    oopsibrokeit Network Guru Member

    get a cheap PC, stick apache/xampp on it and stick it in the DMZ. I know it's not what you want to do at all, but trust me it's the easiest way!

    the router is not really the place to be doing things like serving, if you get more than one visitor at a time, it will all go to cr*p because they don't have the processor power. Try connecting a few admin sessions to it and watch it all go pearshaped.

    I used to work for a company who had some products which included cisco routers with compact flash drives attached to them to serve up a baby website, in the same way as you are suggesting and basically they were awful, just really hard to keep stable. they lost a shedload of cash on those because they were so bad!
     
  3. techmanblues

    techmanblues Network Guru Member

    Well, the reason I want to do this is not to host a heavy duty site, but just a site for myself and my family. Therefore, the server will get probably a hit or two once a week. Therefore, having a PC doing it is overblown. I do have a site running from my home that I use for business actually and it gets a dozen hits a day.

    But I want to setup another home-based website in my parents' house. Basically what I want to do for them is for them to simply insert a CompactFlash card into a reader attached to their router and that's it: family members can access the pictures from that card. There is also the issue with noise too with my parents. A router makes no noise whatsoever because even with an attached Compactflash reader, there are still no moving parts in the whole setup.

    This site is run from a webserver. Check it out. But from what I have read, it requires a lot of command-line controls instead of GUI.

    http://voidmain.is-a-geek.net:81/
     
  4. jagboy

    jagboy Network Guru Member

    you can only do this on a WRT54G
    so there are the instuctions the web server works great.
    copy and past the comands one by one in the telnet window. if you have questions on how to see it form the internet then read this thread
    http://forum.bsr-clan.de/viewtopic.php?t=1024&highlight=web+server+wrt
    here it is

    mkdir -p /var/bin

    wget -P /var/bin/ http://www.thenewhorizon.co.uk/busybox

    chmod 755 /var/bin/busybox

    ln -sf /var/bin/busybox /var/bin/httpd

    mkdir -p /var/bin/web

    wget -P /var/bin/web/ http://www.thenewhorizon.co.uk/index.html

    cd var/bin/web

    httpd -p 8383
     

Share This Page