Transmission on linux

Un comodo e immediato client torrent sempre a portata di mano, implementazione su Slackware Linux.

 Sito ufficiale

Download:

https://transmissionbt.com/download/
http://repository.slacky.eu/slackware-14.1/network/transmission/2.84/

Configurazione:

mkdir /etc/transmission/
touch /etc/transmission/settings.json

settings.json:

{
    "alt-speed-down": 200,
    "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": 10,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "blocklist-url": "",
    "cache-size-mb": 4,
    "dht-enabled": true,
    "download-dir": "/mnt/storage/torrent/Complete",
    "download-queue-enabled": true,
    "download-queue-size": 5,
    "encryption": 1,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": true,
    "incomplete-dir": "/mnt/storage/torrent/Incomplete",
    "incomplete-dir-enabled": true,
    "lpd-enabled": false,
    "message-level": 2,
    "peer-congestion-algorithm": "",
    "peer-id-ttl-hours": 6,
    "peer-limit-global": 200,
    "peer-limit-per-torrent": 50,
    "peer-port": 9878,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": "default",
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "prefetch-enabled": 1,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 1,
    "ratio-limit-enabled": true,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "password",
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-username": "admin",
    "rpc-whitelist": "127.0.0.1,192.168.*.*,*.*.*.*",
    "rpc-whitelist-enabled": true,
    "scrape-paused-torrents-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "seed-queue-enabled": false,
    "seed-queue-size": 10,
    "speed-limit-down": 1000,
    "speed-limit-down-enabled": true,
    "speed-limit-up": 50,
    "speed-limit-up-enabled": true,
    "start-added-torrents": true,
    "trash-original-torrent-files": true,
    "umask": 18,
    "upload-slots-per-torrent": 14,
    "utp-enabled": true
}

Script di avvio /etc/rc.d/rc.transmission (Slackware):

#!/bin/sh
# Start/stop/restart transmission:
# dax 2015
 
# Start transmission:
_start() {
 
  if [ -x /usr/bin/transmission-daemon ]; then
    echo "Starting Transmission:  /usr/bin/transmission-daemon"
    /usr/bin/transmission-daemon -g /etc/transmission/
    ps -A | grep transmission-da
  fi
}
 
# Stop:
_stop() {
 pkill transmission
}
 
 
case "$1" in
'start')
  _start
  ;;
'stop')
  _stop
  ;;
'state')
 
  ;;
*)
  printf "
Usage rc.transmission: start|stop

Remember to edit configuration file while the daemon not running!!

"
esac

Note:

 

DaxTech 2018 - P.IVA: 01674720089