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.
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.
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:
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:
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.