It was not entirely simple to get Transmission running on my QNAP TS-239 Pro II.
[UPDATE: yes it was – use the QPKG version and it is a doddle. You can do some of the settings.json changes as shown below in the helpful included editor]
I took most of my suggestions from the step by step guide, but while I could get the server running properly, it wouldn’t survive a restart. In the end, this provided the relevant clue.
- Install and enable IPKG via web management interface
- Login with SSH (Putty) to command line of NAS
- “ipkg update”
- “ipkg install transmission”
- “transmission-daemon”
- “killall transmission-daemon”
- mkdir /share/MD0_DATA/Download/.config/transmission-daemon
- chmod 777 the above directory
- cp /root/.config/transmission-daemon/settings.json to the above directory
- nano (edit) the settings file to change passwords, whitelist, ports as you choose (I’m forwarding a specific set of ports to it from the router, for example, wildcards 192.168.1.* work in the whitelist)
- transmission-daemon to check that you have done it right
- killall transmission-daemon
- mount -t ext2 /dev/sdx6 /tmp/config
- nano /tmp/config/autorun.sh
- Put the code block as shown here into autorun.sh with changes relevant for your machine and directory structure (e.g. mine is Download not Qdownload).
- NB I also added a transmission user for the daemon to run as and made the changes as shown here. In the version of su on my machine, the syntax was su transmission -c “whatever”.
- chmod +x /tmp/config/autorun.sh
- sh ./autorun.sh to check you’ve done it right
- killall transmission-daemon
- umount /tmp/config
- Reboot the machine and you can check you’ve survived a restart at nas:9091 (default)
- Installed http://code.google.com/p/transmisson-remote-gui/ for a neater user interface.
THANKS, this is exactly what I’ve been looking for. Damn QNAP always killing my setup after reboot.