Bit Torrent (Transmission) Instructions
I Don't use Bit Torrent at all but the service appears to run after this setup. If you see changes which need to be made, please post or PM me.
UPDATED INSTRUCTIONS: Toxxygen posted a new set of instructions. I don't want to remove these instructions just yet until I get confirmation the new instructions work as written by other users. Here is the link to those instructions and please give Toxxygen credit for the work. http://forums.freenas.org/showthrea...LEASE_MULTIMEDIA&p=22966&viewfull=1#post22966
Minimum Requirements: FreeNAS 8.0.4-MULTIMEDIA.
NOTE: pool = your pool name, change it, don't just cut and paste unless your pools name really is "pool".
1. Setup a user for this event, I will use 'user' as the user name, substitue your name to make things easier:
Username: user
Primary Group ID: wheel
Home Directory: /mnt/pool/home/user
Shell: csh
Full Name: user
2. SSH or use console for the remainder.
3. Log in as iTunes. You should be in the "/mnt/pool/home/user' directory.
4. Type 'echo $HOME' and verify the path is correct '/mnt/pool/home/user'. If not, go back and fix it.
5. Type (hit RETURN) after each line
Code:
mkdir -p "$HOME/.config/transmission-daemon"
mkdir -p "$HOME/transmission/incomplete"
mkdir -p "$HOME/transmission/complete"
cp /usr/local/etc/transmission/home/settings.json $HOME/.config/transmission-daemon/.
6. Lets edit a file
Code:
cd $HOME/.config/transmission-daemon
ee settings.json
Now locate and edit the following lines:
download-dir
incomplete-dir
change to:
"download-dir": "/mnt/peanuts/home/user/transmission/complete",
"incomplete-dir": "/mnt/peanuts/home/user/transmission/incomplete",
Press Escape and save the file.
------
Activation
7. Now because you cannot execute the next command without being root, log in as SU and then move to the next step.
8. Type the following:
Code:
mount -wu /
cd /conf/base/etc
ee rc.conf
Locate transmission_enable="NO" and change it to "YES".
Locate transmission_user= and change to your user name.
Press Escape and save the file.
9. Now lets enable the current running files, similar to the previous step.
Type:
Locate transmission_enable="NO" and change it to "YES".
Locate transmission_user= and change to your user name.
Press Escape and save the file.
10. We must alter the boot restored transmission file to make it run properly.
Code:
cd /conf/base/etc/local/rc.d
ee transmission
Now you must change the values
: ${transmission_conf_dir="/mnt/pool/home/user/.config/transmission-daemon"
: ${transmission_download_dir="/mnt/pool/home/user/transmission/complete"
Press Escape and save the file.
10. We must alter the current transmission file to make it run properly.
Code:
cd /conf/base/etc/local/rc.d
ee transmission
Now you must change the values
: ${transmission_conf_dir="/mnt/pool/home/user/.config/transmission-daemon"
: ${transmission_download_dir="/mnt/pool/home/user/transmission/complete"
Press Escape and save the file.
11. Close the protected flash drive files, type
-----
Testing
12. Type
Code:
service transmission start
and cross your fingers. You should see the service running. I don't use transmission so if someone could test to see how it functioned, I would appreciate some feedback.
13. If it all worked, type reboot and see if it still works.
There are other file settings you can make in settings.json. Here is a link which discusses some of them.
https://trac.transmissionbt.com/wiki/EditConfigFiles
-Joe