Now that you have a working chroot debian, it is now time to install a bt client. There is a lot of bt client out there but transmission is one of the best one due to its low memory footprint and low resource usage. In this post, I will explain on how to install transmission bt.
Login to your NAS using Putty. In the linux shell, run these command. These files/program will help you compile and build the transmission program from its source code.
Compile essential:
apt-get install automake
apt-get install build-essential
apt-get install wget
apt-get install libcurl4-openssl-dev
apt-get install intltool
Once the all the installation complete, download the latest transmission source code here. Currently version 2.21 is the latest build.
Starting from here, I’ll use version 2.21 as example.
Use wget to download the file.
wget https://download.m0k.org/transmission/files/transmission-2.21.tar.bz2
Then untar the file by using this command.
tar -jxvf transmission-2.21.tar.bz2
Change directory into the folder /transmission-2.21
type this command:
./configure -enable-daemon
then type make then make install
Notes: You may encounter libevent issue. The version 2.21 requires libevent version 2.0.10 but unfortunately this libevent is distibuted only in Squeeze build. Fret not. Download the source code and compile it and build it from here. Then run again the transmission-daemon compilation.
Once it complete, run the transmission once by typing
transmission-daemon -g /mnt/HD_a2/transmission-daemon
after a minute kill the transmission-daemon in order to edit its configuration file.
pidof transmission-daemon | xargs kill
Go to this folder /mnt/HD_a2/transmission-daemon/ then nano settings.json
Look for the line and modify just like this:
“rpc-enabled”: true,
“rpc-bind-address”: “0.0.0.0″,
“rpc-port”: 9091,
“rpc-authentication-required”: false,
“rpc-username”: “”,
“rpc-password”: “”,
“rpc-whitelist-enabled”: true,
“rpc-whitelist”: “127.0.0.1,192.168.*.*”,
Save the changes and then reboot the NAS.
Now it’s time to install remote software.
Download and install transmission remote here.
Run the remote and key in your NAS IP and key in port number 9091.
You also can port forward the port 9091 and transmission-daemon ports which can be set in the settings.json. For you to do this, it will require router configuration which is a different matter.
Enjoy.