Hi cman and others,
Cman, your idea of using the router with Open-WRT is valid and I have looked into this recently, although I have a Cisco/Linksys WRT-54GS with DD-WRT firmware.
My current project building web access to my Arduino based hardware for my home solar/micro-hydro SCADA system, so that I can check in while I am else where on the globe.
Now I did come across a blog where I guy was using some other router, maybe a TP-Link with dd-wrt/open-wrt configured as a server and talking to an Arduino via USB I recall.
I don't have the link for that article it seems, but it can be found on the forums of dd-wrt I think if you're interested.
But I ran into problems with installing a SD card into the router for storage of files, namely web pages for serving.
So I started to re-think how I could do this....
I am using a Mega, though mine is the Freetronics Mega, which has ethernet and SD all on it.
So after thinking about how best to set this up, initially like you, I was going to use the router as my web server, but concluded that for this project I will use the Arduino as the web server.
My aim is making the Arduino the web sever to serve up pages. The project will use JQuery for AJAX functionality and PHP and some other libraries for history trending.
Now I wanted to also make it mobile friendly, so I am also looking at JQuery-mobile and have started building the user interface mock up.
My question for you is, is this concept of how I am doing it make any sense for your idea?
Would it not be easier to do away with the router as server and have your Mega be the server, thus potentially simplifying your work in terms of code?
There are a number of good articles on having your Arduino playing web server.
Just for your interest, a lot of my ideas are coming from this project, the hydrobot - http://www.cs.helsinki.fi/u/ljlukkar/hydrobot/
Check out his web interface, I really like it http://www.cs.helsinki.fi/u/ljlukkar/hydrobot/dummyui/#
I will be posting soon a new thread on my project as I am needing some advice in various aspects.
rockwallaby ... le printemps est là