Let me tell you this - setting up your router is a pretty irritating routine these days if you want to do something with it except for just setting it up - to build a cute home web server, for starters. Most nobody's noobs at wrt forums just enjoy the proccess, I suspect. Endless vague discussions, pointless suggestions, numerous builds, lame scripts, and all that natural born non-systematic linux jazz that seems so important for those who care. A re-defined concept of 'ready solutions' implemented in a wicked form of huge optware packages that don't install properly make it even worse. Thus, "ready solutions" is still a miracle in the free world of wrt firmware development. However, Teddy Bear's Mod seems to be a nice try to sort things out. That's why I dare ask a couple of basic questions here, which may seem noob-in-cube for penquin-lovers, but who cares:
1. How to flash correctly Teddy Bear build 52 on DIR-320?
I hopped a couple of times from Teddy Bear back to dd-wrt, due to nvram-clearing bug in the previous builds, and I want to have a pure Teddy Bear Mod on my router now, without a single nvram record from dd-wrt. Is this possible? What should I do? Just 30/30/30 + tftp?
2. How to install lighttpd and php on 8G USB-pen (fat+ext2 for optware)?
Let's imagine you do this for the first time, as I do. I've prepared a 8G flash thumb-drive formatted as 7G (fat32 for data) + 1G (ext2 for optware). Right? I'm not going to use automount since I want to add "noatime" parameter to mount commands, to mitigate flash-wear. Instead, I'm going to mount ext2 partition directly on /opt and fat partition directly on, say, /mnt, /tmp, or /mmc, for further mounts of specific "web domain folders" and stuff. Right? If so, what would be your startup/hotplug + shutdown script for such configuration?
Next, I want to install just basic optware packages - a standard busybox, some useful diagnostic and maintenance utilities (thanks for any suggestions), a legendary lynx browser, ..and everything I need to run home web server (last lighttpd and its modules, php-fcgi and its libraries, plus any web-master tools you consider valuable). No transmission, no media-players or fancy mysql cms a la "Show your pictures to the world". Even no databases and phpmyadmin itself (all databases except flat-files are still pretty heavy for DIR-320). That's that. So, what reliable source of custom optware installation should I prefer - ipkg, ipkg-opt, anything? How to prepare initial structure for installation(s), in linux way or whatever? At last, how to check if your installation is correct.
Thank you in advance.