Transmission Daemon

Installing and configuring the Transmission Daemon

Installing Transmission Daemon

The default version with Ubuntu 10.04 is 1.93. To get version 2.xx use the ppa.

sudo add-apt-repository ppa:transmissionbt/ppa
sudo apt-get update
sudo apt-get install transmission

Configuring Transmission Daemon

Make sure it is stopped first as it overwrites the configuration files on exit.

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

Edit the configuration file

See the Transmission Daemon Manual

sudo vi /etc/transmission-daemon/settings.json
"alt-speed-down": 300,
"alt-speed-enabled": false,
"alt-speed-time-begin": 450,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": true,
"alt-speed-time-end": 1380,
"alt-speed-up": 40,
"bind-address-ipv4": "",
"bind-address-ipv6": "::",
"blocklist-enabled": true,
"dht-enabled": true,
"download-dir": "/mnt/library/torrents/completed",
"download-limit": 100,
"download-limit-enabled": 0,
"encryption": 1,
"incomplete-dir": "/mnt/library/torrents",
"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": true,
"preallocation": 2,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 1.0000,
"ratio-limit-enabled": true,
"rename-partial-files": false,
"rpc-authentication-required": true,
"rpc-bind-address": "",
"rpc-enabled": true,
"rpc-password": "",
"rpc-port": 9091,
"rpc-username": "transmission",
"rpc-whitelist": "10.0.0.*",
"rpc-whitelist-enabled": true,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"umask": 0,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14,
"watch-dir": "/mnt/library/torrents",
"watch-dir-enabled": true

Update the user

Now change the user that Transmission Daemon runs as from debian-transmission to rob:

sudo vi /etc/init.d/transmission-daemon

Now change some permissions

sudo chown -R rob:rob /var/lib/transmission-daemon/*
sudo chown -R rob:rob /etc/transmission-daemon/settings.json

Finally start Transmission Daemon

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