transmission-daemon

Setting up the transmission-daemon to access via web browser.

I have a server running Lucid Lynx and wanted to use it to download torrents which I can add via a web page from other PC’s and then track their progress. I decided to go with the default Torrent application in Ubuntu which is Transmission but needed the daemon version to run in the background.

First add the transmission-daemon package with;

$ sudo apt-get install transmission-daemon

Now stop the daemon so you can amend the config file with;

$ sudo /etc/init.d/transmission-daemon stop

Open the config file with;

$ sudo gedit /etc/transmission-daemon/settings.json

change settings in the config file called settings.json to your requirements;
The following will give you web access, and you may want to change the download folder paths;

“rpc-enabled”: true,
“rpc-password”: “a_password”,
“rpc-port”: 9091,
“rpc-username”: “your_name”,
“rpc-whitelist”: “*.*.*.*”,

rpc-password, add your password in plain text, the system will encrypt it in the file later.

This is my file.

{
“alt-speed-down”: 10,
“alt-speed-enabled”: true,
“alt-speed-time-begin”: 540,
“alt-speed-time-day”: 127,
“alt-speed-time-enabled”: true,
“alt-speed-time-end”: 1380,
“alt-speed-up”: 10,
“bind-address-ipv4”: “0.0.0.0”,
“bind-address-ipv6”: “::”,
“blocklist-enabled”: false,
“dht-enabled”: true,
“download-dir”: “/home/bob/Downloads/Torrents”,
“download-limit”: 100,
“download-limit-enabled”: 0,
“encryption”: 1,
“incomplete-dir”: “/home/bob/Downloads/Torrents/incomplete”,
“incomplete-dir-enabled”: true,
“lazy-bitfield-enabled”: true,
“max-peers-global”: 200,
“message-level”: 2,
“open-file-limit”: 32,
“peer-limit-global”: 240,
“peer-limit-per-torrent”: 60,
“peer-port”: 51413,
“peer-port-random-high”: 65535,
“peer-port-random-low”: 49152,
“peer-port-random-on-start”: false,
“peer-socket-tos”: 0,
“pex-enabled”: true,
“port-forwarding-enabled”: false,
“preallocation”: 1,
“proxy”: “”,
“proxy-auth-enabled”: false,
“proxy-auth-password”: “”,
“proxy-auth-username”: “”,
“proxy-enabled”: false,
“proxy-port”: 80,
“proxy-type”: 0,
“ratio-limit”: 0.5000,
“ratio-limit-enabled”: true,
“rename-partial-files”: true,
“rpc-authentication-required”: true,
“rpc-bind-address”: “0.0.0.0”,
“rpc-enabled”: true,
“rpc-password”: “{bb266d1472e6b6030d95522cdca56cac6515fd80UqVA7kib”,
“rpc-port”: 9091,
“rpc-username”: “bob”,
“rpc-whitelist”: “*.*.*.*”,
“rpc-whitelist-enabled”: true,
“speed-limit-down”: 100,
“speed-limit-down-enabled”: false,
“speed-limit-up”: 15,
“speed-limit-up-enabled”: true,
“umask”: 18,
“upload-limit”: 100,
“upload-limit-enabled”: 0,
“upload-slots-per-torrent”: 14
}

Then save the file and start the daemon again with;

$ sudo /etc/init.d/transmission-daemon start

I also added the debian-transmission group to the Download folder and added me to the group.

Open a web browser and point it to the local server

http://localhost:9091/

or use it’s server name

http://bob:9091/

enter the username and password and Bob’s your Uncle

Update: For another way to access your Transmission daemon with more per download options see my post here;

Transmission Remote GUI

Advertisements

Tags: , , , , , , , , , , ,

3 Responses to “transmission-daemon”

  1. Transmission Remote GUI « Martin’s Ubuntu Blog Says:

    […] I have my Transmission daemon up and running which I can access from a web browser [see here ]  I thought I would try out the Transmission Remote GUI as this give me a few more option on a […]

  2. My Server « Martin’s Ubuntu Blog Says:

    […] Apt Server Apache Server Folding@Home Torrent Server […]

  3. Jeff Lunt (@normalocity) Says:

    First of all, thanks for the blog post. Only this week I had need to set this up on an Ubuntu VPS, to be running all the time. I eventually worked it out and created this open source project/script that allows you to setup transmission-daemon very quickly via a script.

    https://github.com/normalocity/transmission-aws

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: