Transmission

From HackerNet
Revision as of 15:24, 25 September 2015 by Sparco (talk | contribs)
Jump to: navigation, search

Transmission är en liten men väldigt kraftfull torrent client för linux.

Installation

apt-get update && apt-get install transmission transmission-daemon

Konfiguration

Körs enklast via webinterface eller remote GUI

Webinterface

För att aktivera webinterfacet och även RPC.

Öppna /etc/transmission-daemon/settings.jsonoch ändra till "rpc-enabled":true

Webinterfacet nås sedan på http://IP:9091/transmission/web/

Transmission Remote GUI

Cross platform front end GUI till transmission, gör det enkelt att lägga till torrents från din vanliga dator. Finns att tanka hem på https://code.google.com/p/transmisson-remote-gui/

För att det ska fungera så måste du ha "rpc-enabled":true i config filen.

RPC path är samma som ditt webinterface fast du ersätter /transmission/web med /transmission/rpc istället.

Tips n Trix

3th Party tools

Flexget, RSS feed downloader. Väldigt användbart för serier.

Couchpotato, Program som laddar hem filmer åt dig med hjälp av transmission.

Script done.

Kör ett script varje gång en torrent blir klar.

Lägg till

"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/vart/finns/scriptet.sh",

i din conf fil /etc/transmission-daemon/settings.json

Sparco's settings.json

Filen är typ default. Ändrat några rader i alt-speed för att ge transmission 5000kB/s i upload/download mellan 17:00 - 01:00.

{
    "alt-speed-down": 5000,
    "alt-speed-enabled": true,
    "alt-speed-time-begin": 1020,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": true,
    "alt-speed-time-end": 60,
    "alt-speed-up": 5000,
    "bind-address-ipv4": "192.168.1.3",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "blocklist-url": "http://www.example.com/blocklist",
    "cache-size-mb": 20,
    "dht-enabled": false,
    "download-dir": "/var/lib/transmission-daemon/downloads",
    "download-limit": 100,
    "download-limit-enabled": 0,
    "download-queue-enabled": true,
    "download-queue-size": 5,
    "encryption": 1,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/root/Downloads",
    "incomplete-dir-enabled": false,
    "lpd-enabled": false,
    "max-peers-global": 200,
    "message-level": 2,
    "peer-congestion-algorithm": "",
    "peer-id-ttl-hours": 6,
    "peer-limit-global": 38527,
    "peer-limit-per-torrent": 999,
    "peer-port": 51413,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": "default",
    "pex-enabled": false,
    "pidfile": "/etc/transmission/transmission.pid",
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "prefetch-enabled": 1,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 20,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": false,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "{9893ab4beafea69fc26c4551714d47278d95f8a6soDKzQ.l",
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-username": "admin",
    "rpc-whitelist": "127.0.0.1",
    "rpc-whitelist-enabled": false,
    "scrape-paused-torrents-enabled": true,
    "script-torrent-done-enabled": true,
    "script-torrent-done-filename": "/root/transfinish.sh",
    "seed-queue-enabled": false,
    "seed-queue-size": 10,
    "speed-limit-down": 100,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 1,
    "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,
    "utp-enabled": true,
    "watch-dir": "/etc/transmission/home/Downloads",
    "watch-dir-enabled": true
}