Install Transmission through Optware on Asuswrt-Merlin

I’ve decided to install and run Transmission directly on my Asus AC66U Router and save the downloads on my WD My Book Essential.

My Asus router runs Asuswrt-Merlin on it and I find it great and Merlin support is greater! Here’s the links for more information about Asuswrt-Merlin:

http://is.gd/vHbgXD
http://is.gd/6xb1YB
http://is.gd/w75nvV
http://is.gd/vmypSk

I followed this guide and somewhat merged the two:

http://is.gd/rnUjcy
http://is.gd/pwwokr

The above links are surely more updated and accurate so refer to it whenever there’s a problem.

Transmission through Optware

We need a usb-flash formatted EXT2 or a usb-hdd formated EXT3. DON’T TRY TO INSTALL IT ON NTFS OR FAT32 FORMATTED DISKS BECAUSE YOU ONLY GET A BIG HEADACHE!!!

On router UI we have to enable Telnet or SSH under Administration / System tab.

ssh

To start the optware environment we have to install and remove Download Master right after. This needs to be done in the EXT2 or EXT3 drive and NOT on the NTFS device attached to your router.

dm

Now login to router with putty terminal

ipkg update
ipkg upgrade
ipkg install transmission
wget -c -O /opt/etc/init.d/S95transmission http://tinyurl.com/S95transmission
chmod 777 /opt/etc/init.d/S95transmission
/opt/etc/init.d/S95transmission start
/opt/etc/init.d/S95transmission stop
chmod 777 /opt/etc/transmission-daemon/settings.json
rm -r /opt/etc/transmission-daemon/settings.json
wget -c -O /opt/etc/transmission-daemon/settings.json http://tinyurl.com/settings-json
app_set_enabled.sh transmission yes

Go to 192.168.1.1:9091 on preferred internet browser (by default username: admin and pass: admin)

The default download folder is on /mnt/sda1/Transmission (will be created automatically with the first downloaded torrent and can be changed editing settings.json file, for this we need nano editor:

ipkg install nano

Be sure transmission-daemon is not running when editing settings.json or it will be overwritten

/opt/etc/init.d/S95transmission stop
nano /opt/etc/transmission-daemon/settings.json

For download locations/ folder edit these paths:

"download-dir": "/mnt/sda1/Torrent/Completed",
"incomplete-dir": "/mnt/sda1/Torrent/Incomplete",

Should you decide to have a folder for incomplete downloads edit this setting too and change it to “true”:

 "incomplete-dir-enabled": true,

It’s also recommended to password-protect the webui. Set the following parameters:

"rpc-authentication-required": true,
"rpc-username": "admin",
"rpc-password": "yourpassword",

Your password will be hashed the first time Transmission runs, so it’s safe to enter it as clear text there.

Here you can edit any settings like enable/change username, password and save with CTRL-O and ENTER, to exit nano type CTRL-X

Start transmission-daemon again

/opt/etc/init.d/S95transmission start

Leave a comment