Transmission Torrent Download Manager through Debian Wheezy Arm

Transmission is a file sharing program.

When you run a torrent, its data will be made available to others by means of upload.

Any content you share is your sole responsibility.

This version is for Arm routers: RT-AC56U, RT-AC68U, Rt-AC87U...

1 - Setup Debian Wheezy from here (remove transmission if is installed from optware with ipkg remove transmission)

2 - Enter chrooted debian with:

debian enter

3 - Update Debian

apt-get update
apt-get upgrade

4 - Install necessary packages

apt-get install wget libcurl4-openssl-dev libevent-dev

- Download and install updated version of libevent

cd /var/tmp
wget -c -O libevent_2.0.21-1_armel.deb
dpkg -i libevent_2.0.21-1_armel.deb

6 - Download and install transmission v2.84

wget -c -O transmission_2.84-1_armel.deb
dpkg -i transmission_2.84-1_armel.deb

7 - Download startup script

wget -c -O /etc/init.d/S95transmission-debian
chmod 755 /etc/init.d/S95transmission-debian

8 - Start and stop transmission to create path

/etc/init.d/S95transmission-debian start
/etc/init.d/S95transmission-debian stop

9 - Backup and replace settings file with optimised one

mv /etc/transmission-daemon/settings.json /etc/transmission-daemon/settings.json.backup
wget -c -O /etc/transmission-daemon/settings.json

10 - Start transmission

/etc/init.d/S95transmission-debian start

11 - Go to default router ip address username admin, password admin, you can change this by editing /etc/transmission-daemon/settings.json file but be sure transmission is stopped before making changes.


12 - To create startup script we need to stop transmission, and exit debian

/etc/init.d/S95transmission-debian stop

13 - Add transmission to chroted services list

echo "" >>/opt/etc/chroot-services.list
echo "S95transmission-debian" >>/opt/etc/chroot-services.list
chmod 755 /opt/etc/chroot-services.list

14 - Create post-mount script

nano /jffs/scripts/post-mount

Paste this lines

sleep 10
/opt/etc/init.d/S99debian start

Save with CTRL-O, press ENTER and exit nano with CTRL-X

15 - Create init-start script for some memory tweaks as suggested by ryzhov_al

nano /jffs/scripts/init-start

echo 524288 > /proc/sys/net/core/rmem_max
echo 524288 > /proc/sys/net/core/wmem_max
echo 8192 > /proc/sys/vm/min_free_kbytes

Save with CTRL-O, press ENTER and exit nano with CTRL-X

Make scripts executable

chmod a+rx /jffs/scripts/*

16 - Start transmission from outside debian together with mounted external folder

debian restart


User Review
5 (1 vote)