Raspberry PI Torrent BOX with Transmission

Always update your PI before doing anything else

sudo apt-get update
sudo apt-get upgrade

Install transmission

sudo apt-get install transmission-daemon

Change default directories where torrents will be stored (default one is hard to find)

sudo mkdir -p /home/pi/torrent

Change directories, username, password and IP whitelist in transmission settings file

sudo vim /etc/transmission-daemon/settings.json
    "download-dir": "/home/pi/torrent", 
    "incomplete-dir": "/home/pi/torrent", 
    "queue-stalled-enabled": true, 
    "rpc-authentication-required": true, 
    "rpc-bind-address": "", 
    "rpc-enabled": true, 
    "rpc-host-whitelist": "", 
    "rpc-host-whitelist-enabled": true, 
    "rpc-password": "your_password", 
    "rpc-port": 9091, 
    "rpc-url": "/transmission/", 
    "rpc-username": "pi", 
    "rpc-whitelist": ",192.168.*.*", 
    "rpc-whitelist-enabled": true, 

Restart transmission to apply the changes

sudo service transmission-daemon reload

Stop transmission deamon and change user and permissions

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

Change owner of transmission deamon files

sudo chown -R pi:pi /etc/transmission-daemon
sudo chown -R pi:pi /etc/init.d/transmission-daemon
sudo chown -R pi:pi /var/lib/transmission-daemon

Change user in transmission-deamon.service file

sudo vim /etc/systemd/system/multi-user.target.wants/transmission-daemon.service
Description=Transmission BitTorrent Daemon

ExecStart=/usr/bin/transmission-daemon -f --log-error
ExecReload=/bin/kill -s HUP $MAINPID


reload the systemctl

sudo systemctl daemon-reload

create the directory where the setting.json file will be accessed

sudo mkdir -p /home/pi/.config/transmission-daemon/
sudo ln -s /etc/transmission-daemon/settings.json /home/pi/.config/transmission-daemon/
sudo chown -R pi:pi /home/pimylifeup/.config/transmission-daemon/

Start transmission service

sudo service transmission-daemon start

Access your PI torrent box from a web browser


Leave a Reply

Your email address will not be published. Required fields are marked *

Posted by: lesorsier on

Tags: ,

seo reseller