Wednesday, September 9, 2009

Transmission on headless Ubuntu 9.04 (Part 1)

In my earlier post I have compared several BitTorrent clients for Linux and decided that Transmission was the best option for me.

In this series of posts I'll try to document installation and configuration of Transmission on my headless Ubuntu 9.04 NAS.


Transmission is already included in Ubuntu repository, in fact it's the default BT client for this distro, unfortunately the version in Jaunty (1.61) is a bit old and lacks a few useful new features such as DHT. Luckily, there was an up to date package (1.74) at Launchpad, and that's what I'm going to use.

First step is to add the PPA repository to apt sources. I decided to go with a separate file by pasting

deb jaunty main
deb-src jaunty main

into newly created /etc/apt/sources.list.d/transmission.

Then add the authentication key and update APT's sources:

# apt-key adv --keyserver --recv-keys 365C5CA1
# apt-get update

Now install the transmission daemon:

# apt-get install transmission-daemon

Basic Configuration

Since the default setting were a too paranoid for my liking I relaxed them a bit. It's important to shut down the daemon before making any changes to configuration, by running:

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

I edited /etc/transmission-daemon/settings.json to allow access to Web UI from my subnet:

"rpc-whitelist": ",192.168.1.*",

and disabled authentication all together with

"rpc-authentication-required": false,

Now restart the service:

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

and voilĂ , my own web based BitTorrent client accessible from LAN via http://my-host-name:9091/