Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
This version of Transmission (and these instructions) are deprecated!
Head over to the Transmission 1.3 thread instead!
Hi!
I've successfully compiled the popular Bittorrent client Transmission for use on the DNS-323.
Transmission is easy on the CPU and memory, and a cool Web interface named Clutch exists which makes using this client a breeze.
Transmission
This is the latest official version 1.22 from June 13 2008.
I've slightly modified the daemon and it now has blocklist support.
Start the daemon with the '-b' option to activate it (you also need a blocklist, unpack it to /mnt/HD_a2/.transmission/blocklists)
* Install instructions for fun_plug-0.5:
# wget Transmission-1.22-ffp0.5.tgz
# wget curl-7.18.1.tgz
# funpkg -i Transmission-1.22-ffp0.5.tgz
# /ffp/start/transmission.sh start
The startup script uses
export TRANSMISSION_HOME=/mnt/HD_a2/.transmission
as Transmissions home directory.
If you will just use the Clutch WebUI, you can leave it at that.
If you want to use transmission-remote to change settings or check torrent progress, you will have to set this variable for your shell:
* Connection via SSH --> add the above line to etc/profile.
* Connection via Telnet --> add the above line directly into the fun_plug script.
Again, this is only necessary if you intend to use transmission-remote, or start the daemon manually.
Clutch
* The Clutch interface requires a webserver (e.g. lighttpd) and PHP 5.x with JSON and XML.
fun_plug 0.5: Just install the lighttpd and PHP packages from fonz' repository.
* Get Clutch here.
* Important: The file clutch/remote/data/socket.txt stores the path to the transmission-daemon socket file. You hence have to change this file:
# echo /mnt/HD_a2/.transmission/daemon/socket > /mnt/HD_a2/www/pages/clutch/remote/data/socket.txt
(Use the program paths appropriate to your configuration).
That's it. If you direct your browser to the Clutch web interface now, it should show up and you can start downloading.
Have fun!
Unfortunately, I don't have the time anymore to provide a build for funplug-0.3/0.4. 0.5 is totally stable and if you're dependent on Transmission I suggest you update to 0.5 (it's really quite easy).
Last edited by KyleK (2008-11-13 13:51:38)
Offline
thanx kylek for new version works fine
Last edited by Pejn (2008-06-16 23:13:20)
Offline
Pejn - I haven't set this up but I would assume you missed point 4 in the FP (or did something wrong in the socket.txt file).
Offline
yeah now it works thanks! must have missed that point :s
Offline
actually i had compiled transmission earlier this week as well, it is just abit smaller in size. http://www.shadowandy.net/_html/archive … piled.html
Offline
Well done kyle!
Offline
Works great, great work. The compile available from shadowandy's link does not work. Use his later version, available here:
http://www.shadowandy.net/_html/archive … n_106.html
It includes a lib file that seemed to be missing from the other release. And the binaries really are much smaller.
Offline
That's probably because I compiled statically, and shadowandy produced dynamic binaries.
I tried that as well, but had crashing problems with the daemon due to some threading issues. Weird stuff.
Offline
After a while of running transmission both of the hdd-leds go red and I cannot get access via windows explorer. Clutch shows me everything is being downloaded okay but then they stop. Any ideas why this happens? I'm back to using MLDonkey for now.
Offline
I'm experiencing the same issue as headman -- when running transmission, the 2 LEDs turn pink, and I cannot access the drives via explorer. I followed the steps provided in the shadowandy link.
Offline
I figured out my problem. I hadn't changed my download transfer directory, so it defaulted it to the root directory. Since this is outside of the hard drives, I think it was downloading it into memory and maxing it out. Well, I changed the download directory in the clutch preferences window to a directory on my hard drive (//mnt/HD_a2/...)and it seems to be working great now. Thanks!
Offline
moquilok wrote:
I figured out my problem. I hadn't changed my download transfer directory, so it defaulted it to the root directory. Since this is outside of the hard drives, I think it was downloading it into memory and maxing it out. Well, I changed the download directory in the clutch preferences window to a directory on my hard drive (//mnt/HD_a2/...)and it seems to be working great now. Thanks!
yes, me too.
Offline
How do you add another download from Clutch if you are using a tracker where the download link directs you to a PHP script and not the actual .torrent-file? Is it necessary to first download the .torrent-file and point to that? In that case, is it possible to set Transmission to poll a folder for new .torrent files?
Offline
I'm afraid I can't answer that question. Please visit the Transmission/Clutch forums at www.transmissionbt.com
If there's a redirect involved, you will have to download the torrent first and then upload it from your PC.
Only the Mac client currently has the functionality of a "Watch folder". It's not been integrated in the daemon or Clutch yet.
Offline
When Transmission creates new files/folders in my download directory it does so with only read permissions. When I remove a dowload from Clutch, I also wnat to remove the files, but this has to be done manually. The problem is, this becomes impossible from windows explorer without first setting read permissions for "others" using telnet. I tried to change to umask 020 but the folders are still created with permission 755.
Where are the settings for Transmission, beside those few you can access from Clutch?
Last edited by vedeja (2008-03-17 18:53:16)
Offline
Well, I am up running...sort of. DL is slow (like 10% of bandwidth) and UL is zero kb/s, and I really mean 0.
And what about this?
/ # transmission-remote -i
[warn] epoll_create: Function not implemented
transmission-remote: failed to connect to socket file: //.transmission/daemon/socket: No such file or directory
Offline
vedeja wrote:
Well, I am up running...sort of. DL is slow (like 10% of bandwidth) and UL is zero kb/s, and I really mean 0.
And what about this?
/ # transmission-remote -i
[warn] epoll_create: Function not implemented
transmission-remote: failed to connect to socket file: //.transmission/daemon/socket: No such file or directory
1. Make sure you forward the port Transmission uses in your router, otherwise you won't get any incoming connection and hence slow speeds.
Transmission supports automatic port mapping via NAT-PMP and UPnP. You can activate it by calling
transmission-remote -m
2. It looks like you have conflicting settings for the environment variable TRANSMISSION_HOME. In order to work properly, you have to set it in 3 places:
in the transmission.sh startup script (it's in there by default, see first post)
in the fun_plug script in your first HDs root
in the etc/profile configuration file (this one is only used when you connect to the NAS via SSH. In telnet it has no effect)
You can check the current setting of the variable via the export command (without any arguments.
Last edited by KyleK (2008-03-17 22:50:05)
Offline
Transmission/Clutch is working really well for me thus far -- thanks KyleK and shadowandy for all your work.
I am not able to successfully upload a large .torrent files -- it's 166K. I found the following message in the lighttpd error log (/mnt/HD_a2/www/logs/error.log):
2008-03-17 18:35:29: (connections.c.1096) denying upload as opening to temp-file for upload failed: /var/tmp/lighttpd-upload-uQ9l7i No such file or directory
2008-03-17 18:35:29: (connections.c.1096) denying upload as opening to temp-file for upload failed: /var/tmp/lighttpd-upload-wN661M No such file or directory
The error message does not appear when I upload smaller .torrent files. I'm guessing it's attempting to create a temp cache file, but does not have access in that directory. I would like it to create these temp files in another location for obvious reasons. Is there a environment variable somewhere or a change in a script somewhere that I can make it use another directory? I wasn't able to find it anywhere.
Any help would be greatly appreciated -- thanks!
Offline
You have to set the variable server.upload-dirs in your lighttpd.conf:
server.upload-dirs = ( "/tmp" "/mnt/HD_a2/fun_plug.d/tmp" )
Of course you can provide any number of directories, and define their location. You just have to make sure that all the directories exist.
Restart lighttpd and all should be fine.
Offline
It's working now -- thanks KyleK!
Offline
Hi - I'm trying to get this up and running using the instructions and downloads on shadowandys pages as they are a little more "newbie" friendly.
I am struggling to find the "lighttpd.conf-with-php-sample" file. According to his comments page it should be included in the MLDonkey download however I've downloaded this and had a look in the downloaded file with WinRAR but can't seem to find lighttpd.conf-with-php-sample in there.
Is there another way to get hold of it? Could someone link to a copy
Thanks
RAP
Offline
Here's a copy of the file.
Offline