Okay, what model router do you have? I have an Asus WL-520GU.
For my router, I disabled USB 1.1 support (both UHCI and OHCI) and enabled USB 2.0 support (USB 2.0 is working on the 520GU as of 10137; there was a later patch -- 10328 -- for the Asus 500GP/V2). Also enabled USB storage support and ext2/ext3 file system support. I don't know what will happen if you have USB 1.1 and USB 2.0 drivers enabled at the same time; I think only one should be active, since USB 2.0 is compatible with 1.1 devices.
I mounted my USB device on /mnt, not /jffs. If you have jffs2 enabled, I have no idea what happens if you attempt to mount another file system over /jffs, so don't do that for now.
Make sure you clear out the /opt directory structure before attempting to install my samba2.tar.gz package. There are some conflicts from the optware library package with my startup script.
The problem is that there simply isn't enough room to store all the samba stuff in a dd-wrt build, even one targeted for an 8MB (or even 16MB, if there is such a thing) router. The samba2 install package is > 7MB compressed. The optware uclibc libraries are > 10MB compressed. Won't fit. Period.
Not the way you want. You can't extend the flash space of the dd-wrt binary download. You can only extend the total storage on your system after dd-wrt boots by mounting the file system on your usb stick. That's why samba is installed as a separate package and isn't part of the dd-wrt base install.
Has anyone tried supporting multiple external hard drives with a USB hub? It seems it should technically work, but I was wondering if anyone managed to get it working in practice.