Setup Raspberry Pi as a torrent client using Transmission

Source: Link

First, lets make some directories. (Here are examples.)

sudo mkdir /media/usbhdd/shares
sudo mkdir /media/usbhdd/shares/downloading
sudo mkdir /media/usbhdd/shares/completed

Install Transmission daemon:

sudo apt-get install transmission-daemon

Add your user to transmission group:

sudo usermod -a -G debian-transmission <username>

Change group ownership of newly created directories:

sudo chgrp debian-transmission /media/usbhdd/shares/downloading
sudo chgrp debian-transmission /media/usbhdd/shares/completed

Change permissions:

sudo chmod 770 /media/usbhdd/shares/downloading
sudo chmod 777 /media/usbhdd/shares/completed

(Note: In a given example everyone can see and change content of directory “completed”:)

Restart transmission:

sudo service transmission-daemon reload

Configure transmission by editing the file:

sudo nano /etc/transmission-daemon/settings.json

and change next lines:

"download-dir": "/media/data/complete" >>> "download-dir": "/media/usbhdd/shares/completed"
"incomplete-dir": "/media/data/incomplete" >>> "incomplete-dir": "/media/usbhdd/shares/downloading"
"rpc-password": "{d92cd99c07856ea9a0736438d722b11afdd27170L7sjhNKR" >>> "rpc-password": "<password>"
"rpc-username": "transmission" >>> "rpc-username": "<username>"

For detailed configuration check next link.

After you change /etc/transmission-daemon/settings.json file, always restart transmission daemon:

 sudo service transmission-daemon reload

You can access Transmission Web interface using your browser:



http://<IP address>:9091

One thought on “Setup Raspberry Pi as a torrent client using Transmission”

Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s