Okay, so I have a nice WNDR3700v2 router, with a 680mhz cpu and 64mb of RAM, and I have Gargoyle (frontend for OpenWRT) firmware installed on it. It should be powerful enough (and user reports have confirmed this) to run Transmission bittorrent client, even without adding a SWAP partition.
So I found this guide:
It's for DD-WRT, but it seems very similar to Open-WRT. They both use the OPKG package manager.
So I used OPKG to install transmission-daemon, ran it for 10 seconds, and then ctrl-c'd out of it, just like the instructions said. But I'm stuck at the point where I'm supposed to point my attached USB-external-HDD to Transmission:
Create the directories that will hold the torrent pointers, parts, configurations and downloads. For my setup this is:
mkdir -p /mnt/sda_part1/torrents/parts/
mkdir -p /mnt/sda_part1/torrents/config/
However, according to the Gargoyle web interface, my external USB-HDD is mounted at /dev/sda1, not /mnt/sda_part1. I putty'd into the SSH server on the router, and cd'd to /mnt. There's nothing in there. I tried to cd /dev/sda1, but I can't get in there, I get the error "can't cd to sda1", but according to LS, the directory is there:
root@Gargoyle:~# cd /dev/sda1 -ash: cd: can't cd to /dev/sda1 root@Gargoyle:~# cd /dev root@Gargoyle:/dev# ls bus mtd0 mtd3ro mtdblock0 net sda zero console mtd0ro mtd4 mtdblock1 null sda1 full mtd1 mtd4ro mtdblock2 port shm fuse mtd1ro mtd5 mtdblock3 ppp tty kmsg mtd2 mtd5ro mtdblock4 ptmx ttyS0 log mtd2ro mtd6 mtdblock5 pts urandom mem mtd3 mtd6ro mtdblock6 random watchdog root@Gargoyle:/dev# root@Gargoyle:/dev# root@Gargoyle:~# cd /dev/sda1 -ash-ash: cd: can't cd to /dev/sda1
I'm a bit of a linux n00b, so I'm not sure what to do here. I can't mkdir in sda1 if I can't even cd into it. So I assume I need to do the CD command with root permissions? I tried "sudo cd /dev/sda1", that's how I've learned to elevate a command on my linux laptop, but apparently there is no "sudo" in my router. Or am I supposed to mount /dev/sda1 into the /mnt directory?