Saturday, July 16, 2011

If you've followed the previous guide to set-up the opkg system, then installing transmission on the system is a no-brainer. The configuration and system set-up can be a bit more difficult, but not bad at all. We will install the Transmission daemon, web access, and remote access. Optionally, you can grant WAN access and user/password security. Let's get started.

Install transmission
To do so, log in and run the command:

opkg install transmission-web

This will install libevent (required library) transmission-daemon (the actual program) and transmission-web (the web interface).

Setup transmission
Run:transmission-daemon

wait for 10 seconds then stop it:killall transmission-daemon

This will create default configuration file for transmission, the file is located at /mnt/root/.config/transmission-daemon/settings.json

If you want to access the web interface from outside your LAN, you have to open the webui port, and enable user log in.

Open the port:

iptables -I INPUT -p tcp --dport 9091 -j logaccept

Set the user and password. This will be enabled for local and remote access. Unfortunately it is either on or off; you can't have it on for remote, an off for local.

transmission-daemon -u user
transmission-daemon -v pass

Run it as serviceJust add the following line to /mnt/root/.profile:export TRANSMISSION_WEB_HOME='/opt/usr/share/transmission/web/'

Then create the startup script /opt/etc/init.d/transmission (delete all previous contents if its not empty). This will add a pre-filled block list and run the program. Fill with:
######### START FILE ######## #!/bin/sh

***This has been fixed in newer builds of DD-WRT - Check yours before continuing*** This never looks to be a problem since DD-WRT provides...

Welcome to aRouter router hacking. Simple step by step installation, customization and configuration guides. If you spot any errors or have any suggestions, please feel free to comment, or notify me via the Contact page.

Please help support this site by clicking ads, or using the affiliates listed on the links page. This will to purchase hardware for more support and additional tutorials. Also, I'll provide giveaways for my readers. Thanks.