Friday, June 25, 2010

DD-WRT router setup with NAS to download torrents without a computer


Firstly, Above is NOT my screenshot. Its just there to give you an Idea,

Finally I got around to installing optware on my wrt160N v3 router, and using the router to download torrents to my buffalo NAS (1TB).

I bought the router and the NAS drive at around 150$ (router was a refurbished unit). The router was flashed with DD-WRT (DD-WRT v24-sp2 (04/23/10) std-nokaid-small) firmware which had CIFS support to mount the NAS. Then used the optware installation guide (Option C: Partition-in-a-file on CIFS for /opt)


Some notes and screenshots:
mount.cifs //hd-celu2-2966/share /tmp/smbshare -o sec=none
insmod /tmp/smbshare/loop.ko
insmod /tmp/smbshare/ext2.ko
nvram set sys_enable_jffs2=1
mkdir /tmp/swap
mount --bind /tmp/smbshare/jffs /jffs
mount -o loop /tmp/smbshare/opt.ext2 /opt
mount -o loop /tmp/smbshare/swap.ext2 /tmp/swap
/opt/sbin/swapon /tmp/swap/swapfile
/usr/sbin/iptables -I INPUT 1 -p tcp --dport 25000 -j logaccept
transmission-daemon -g /tmp/smbshare/torrents/.config/transmission-daemon



Then I used chrome to create application shortcut to the transmission web interface. The interface is very functional. I Have been using this interface from psp and my e63 browser (over wifi).






No comments:

Post a Comment