Sunday, July 15, 2012

Rasberry Pi as a simple seedbox!

Why not? This was my second purpose beside using XBMC. So here we go!

Gonna make use of Transmission, which is a excellent bittorrent client. I assume that you have already installed Debian(otherwise head over here: http://elinux.org/RPi_Easy_SD_Card_Setup).

Make sure to enable SSH-access.

ssh-keygen (I hit enter for all three options to accept defaults and no passphrase)
sudo service ssh start (to start sshd)
sudo update-rc.d ssh defaults (to run the ssh server on startup by default)

Install and configure Transmisson.
sudo apt-get update ; apt-get upgrade
sudo apt-get install transmission-daemon
sudo mkdir /Downloads
sudo chown debian-transmission /Downloads

Next we need to configure Transmisson.

sudo service transmission-daemon stop

The config file is located at /etc/transmission-daemon/setting-json

Change rpc-authentication-required to false and download-dir to /Downloads

Start the service and we are ready to go!

sudo service transmission-daemon start
Thats it!

2 comments:

  1. Having problems changing the config file, could you go into more depth on how to do that? Also, I have no idea how to set up the remote transmission for Google Chrome, could you help?

    ReplyDelete
  2. This is my config file:

    {
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "dht-enabled": true,
    "download-dir": "/Downloads",
    "download-limit": 100,
    "download-limit-enabled": 0,
    "encryption": 1,
    "incomplete-dir": "/Downloads",
    "incomplete-dir-enabled": false,
    "lazy-bitfield-enabled": true,
    "lpd-enabled": false,
    "max-peers-global": 200,
    "message-level": 2,
    "open-file-limit": 32,
    "peer-limit-global": 100,
    "peer-limit-per-torrent": 30,
    "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": false,
    "preallocation": 1,
    "proxy": "",
    "proxy-auth-enabled": false,
    "proxy-auth-password": "",
    "proxy-auth-username": "",
    "proxy-enabled": false,
    "proxy-port": 80,
    "proxy-type": 0,
    "ratio-limit": 2.0000,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": false,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "{872d00c197387410b722e60b55a00d7bef22e611rIZHOpd.",
    "rpc-port": 9091,
    "rpc-username": "transmission",
    "rpc-whitelist": "127.0.0.1",
    "rpc-whitelist-enabled": false,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "speed-limit-down": 100,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 100,
    "speed-limit-up-enabled": false,
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 18,
    "upload-limit": 100,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 14
    }

    This should enable the webgui, which you can reach by you Raspberry IP:

    Example: 192.168.0.xxx:9091

    ReplyDelete