Home / Linux / How to install Transmission on your Zyxel NSA server.

How to install Transmission on your Zyxel NSA server.

Zyxel already has transmission available on the default packages, unfortunately is an outdated version without so many options.

To install an up to date version you need to have ffp installed and to connect to your server via ssh. Here are the steps :

I will assume you have FFP installed, if not please see my previous post.

ssh to your server and run uwsiteloader.sh
Check all the repositories and select OK
Run slacker -Ua and search for the following packages Transmission (latest version), Nano, zyxel_utils, MC and glib2, select all with space and then press OK.
Run: slacker -aA s:curl mz:libevent s:intltool
edit
nano /ffp/etc/rc

After the line export PATH=/ffp/sbin:/ffp/bin:/usr/sbin:/sbin:/usr/bin:/bin add the following line
chsh -s /ffp/bin/sh nobody Ctrl + O , Enter and Ctrl + X to exit nano
Run
chsh -s /ffp/bin/sh nobody
/ffp/start/transmission.sh start      Transmission should start with no errors.
Now we have to edit Transmission settings for this run    nano /mnt/HD_a2/.transmission-daemon/settings.json
The file looks like the one bellow , check every setting value to match the one in my file and don’t forget to add user and password :

{
“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”: true,
“blocklist-url”: “http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz”,
“cache-size-mb”: 2,
“dht-enabled”: true,
“download-dir”: “/mnt/HD_a2/video/”,
“download-queue-enabled”: true,
“download-queue-size”: 5,
“encryption”: 2,
“idle-seeding-limit”: 30,
“idle-seeding-limit-enabled”: false,
“incomplete-dir”: “//Downloads”,
“incomplete-dir-enabled”: false,
“lpd-enabled”: true,
“message-level”: 2,
“peer-congestion-algorithm”: “lp”,
“peer-id-ttl-hours”: 6,
“peer-limit-global”: 200,
“peer-limit-per-torrent”: 50,
“peer-port”: 9091,
“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”: 0,
“queue-stalled-enabled”: true,
“queue-stalled-minutes”: 30,
“ratio-limit”: 2,
“ratio-limit-enabled”: true,
“rename-partial-files”: true,
“rpc-authentication-required”: true,
“rpc-bind-address”: “0.0.0.0”,
“rpc-enabled”: true,
“rpc-password”: “insert password here”,
“rpc-port”: 9091,
“rpc-url”: “/transmission/”,
“rpc-username”: “insert username here”,
“rpc-whitelist”: “127.0.0.1”,
“rpc-whitelist-enabled”: false,
“scrape-paused-torrents-enabled”: true,
“script-torrent-done-enabled”: false,
“script-torrent-done-filename”: “”,
“seed-queue-enabled”: false,
“seed-queue-size”: 5,
“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”: true,
“umask”: 0,
“upload-slots-per-torrent”: 14,
“utp-enabled”: true
}

Ctrl + O , Enter and Ctrl + X to exit nano when you finished.

Run Transmission
chsh -s /ffp/bin/sh nobody
/ffp/start/transmission.sh start

Access Transmission interface
YourServerIP:9091

The server should ask for user / pass.

You can install Transmission remote Gui  on your desktop and also the Trasmission application for your phone. Now you can remotly control what your server is downloading.

 

Let me know if you find this useful.

 

Check Also

Windows 10 install stuck at Checking for updates

Found on http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/window-10-install-stuck-on-checking-for-updates/e294932f-149e-412b-b996-6f1253973399?auth=1 I was updating one of the PCs when I ran into this problem …

One comment

  1. Thank you very much! Working perfectly!

Leave a Reply