Transmission BitTorrent Daemon on a Raspberry Pi
These days streaming services are so well established that one rarely needs to fallback to file sharing. But Big Content usually decides which content is good on a whim. And if you want to watch an old movie or a special edition recording not available for streaming, well, tough luck.
When searching for BitTorrent clients I discovered that a few of them support a daemon (headless) mode, I decided on transmission because of their variety of options:
- Daemon mode
- Can be controlled via CLI or WUI
- Supports DHT, µTP, encryption, magnet links, etc.
- Watch directory for new
.torrent
files and start downloading when a new file is added - Separate directory for incomplete downloads
The first step is to install transmission. Depending on your distro, you may be able to install
the daemon separately, e.g., apt-get install transmission-daemon
,
dnf install transmission-daemon
, etc.
In my case I used the transmission slackbuild setting GTK=no
as an environment variable to
skip building the GTK GUI.
Add user
Setup Transmission directories
Setup service script
Create the service script (/etc/rc.d/rc.transmission
) and give it execution permissions.
Start on boot
Edit /etc/rc.d/rc.local
to start transmission if enabled:
"HOME TAPING IS KILLING MUSIC" (modified) by Leo Reynolds is licensed under CC BY-NC-SA 2.0 .