I have Firmware: DD-WRT v24-sp2 (12/07/09) std-usb-ftp 13401M on my box.
I have also usb stick on usage with optware.
I tryed to enable swap using this guide http://www.dd-wrt.com/wiki/index.php/Linux_SWAP but i'm getting "swapon - function not implemented".
Even it has 64mb ram but it can easily end if you run programs from that optware and it will crash, so it would be important to get that swap to work.
Opened ticket to dd-wrt trac system. Go bug them and request swap feature so we would get it.
http://svn.dd-wrt.com:8000/dd-wrt/ticket/1359#comment:4
What I observed in several sources like DD-WRT wiki etc that swap is supported in DD-WRT .. I have not tested it yet ... Will let u ppl know once I m through with my testing ...
I did try it but its say swap is not supported, means that kernel what dd-wrt has inside hasn't been compiled with swap support. What SVN version you are using?
I tried both, getting same error message. They need fix swap support to kernel, i could do it itself but i have no JTAG cable and i don't reallt trust dd-wrt what is compiled by myself :P