Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
rap wrote:
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
Yeah, that file is hard to find. It's actually in the funplug-0.3.tar or funplug-0.4.tar on fonz' site. And it is not present in either the lighttpd or the php package. Very weird :)
Offline
I keep on getting a connection failed when I run Clutch. When I do a 'ps ax' i can see that transmission is running. I load up http://dns-323:8080/clutch/ and it loads up but it says something about not being able to connect to the transmission server. in the details of the error, I get "403 forbidden." any ideas?
Offline
KyleK wrote:
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 callingCode:
transmission-remote -m2. 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.
1. I have forwarding all set up in my router. The code below is not yet working because of issue #2...
transmission-remote -m
2. In my transmission.sh is "export TRANSMISSION_HOME=${VOL1}/.transmission" and in fun_plug script is "export TRANSMISSION_HOME=/mnt/HD_a2/.transmission". I didn't bother about etc/profile because I only use telnet (OK?).
I also have the same error as moquilok. I tried adding the "server.upload-dirs" at the end of my lighttpd.conf but then lighttpd won't even start
EDIT: I entered only one directory in the config key and it worked.
server.upload-dirs = ( "/mnt/HD_a2/fun_plug.d/tmp" )
Last edited by vedeja (2008-03-18 22:08:14)
Offline
2. In my transmission.sh is "export TRANSMISSION_HOME=${VOL1}/.transmission" and in fun_plug script is "export TRANSMISSION_HOME=/mnt/HD_a2/.transmission". I didn't bother about etc/profile because I only use telnet (OK?).
I think that's the problem. Because your telnet session does not know about the TRANSMISSION_HOME environment variable.
Just type "export" without any arguments and take a look. I presume the variable won't be listed.
In that case, Transmission tries the user's home directory (telnet has no user, hence the double //).
You can fix this by typing:
$ export TRANSMISSION_HOME=/mnt/HD_a2/.transmission $ transmission-remote -m
If you intend to use the -remote more regularly, you'll have to set the environment variable every time. I do not know how to set up a profile on telnet, as I use SSH.
Offline
kaymm2 wrote:
I keep on getting a connection failed when I run Clutch. When I do a 'ps ax' i can see that transmission is running. I load up http://dns-323:8080/clutch/ and it loads up but it says something about not being able to connect to the transmission server. in the details of the error, I get "403 forbidden." any ideas?
The directory clutch/remote/data must have read and write access. This is also true for the Transmission home directory (by default /mnt/HD_a2/.transmission)
If you chose a different home directory, make sure the file socket.txt in clutch/remote/data contains the full (!) path to the actual Transmission socket.
Last edited by KyleK (2008-03-18 22:24:36)
Offline
KyleK wrote:
kaymm2 wrote:
I keep on getting a connection failed when I run Clutch. When I do a 'ps ax' i can see that transmission is running. I load up http://dns-323:8080/clutch/ and it loads up but it says something about not being able to connect to the transmission server. in the details of the error, I get "403 forbidden." any ideas?
The directory clutch/remote/data must have read and write access. This is also true for the Transmission home directory (by default /mnt/HD_a2/.transmission)
If you chose a different home directory, make sure the file socket.txt in clutch/remote/data contains the full (!) path to the actual Transmission socket.
So would I just chmod 0777 /mnt/HD_a1/www/pages/clutch/remote/data? Make everyone have rwx right?
Offline
Yes, but make sure the files in it are rwx as well (chmod -R 0777 clutch/remote/data).
If the error still appears, can you paste the full description here? (It might also show up in your lightttpd error.log)
Offline
Hi
Now that I have the config file I'm making some (frustratingly slow) progress.
I have the transmission daemon running and ps -ef shows lighttpd and php.cgi running.
When I try and access the clutch pages i get a 400 Bad request page.
The access log shows the following:
"GET /clutch HTTP/1.1" 400 349 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"
I've tried the chmod suggestions from the last few posts but they don't seem to have made any difference.
Any ideas what I've done wrong?
Thanks
RAP
Offline
Make sure the variable server.document-root in lightttpd.conf points to the correct location of your web pages (server.document-root = "/mnt/HD_a2/www/pages/" by default).
The clutch folder then has to reside in that directory.
Offline
I'm using the file moquilok kindly uploaded which does have this line in it:
server.document-root = "/mnt/HD_a2/www/pages/"
Any other ideas before I accept I'm ot of my depth and give up
RAP
Last edited by rap (2008-03-19 01:24:10)
Offline
That's quite weird, and I honestly can't think of anything that would produce that error.
Does the error.log mention anything more specific?
Did you try to put other pages on your NAS and access them via lightttpd/browser?
Offline
KyleK wrote:
Transmission supports automatic port mapping via NAT-PMP and UPnP. You can activate it by calling
Code:
transmission-remote -m
This seems to have no effect. Do I have to change any settings in my router after doing it? I have actually gotten it to UL a little but it's just a few KB/s and in no way stable. Also downloading is very jumpy as opposed to when I use utorrent it was a stable 2 MB/s from my private tracker network. How do I make more detailed stuff like setting no of connections, peers and slots/torrent, queue options etc? Is there a feature to update tracker?
Last edited by vedeja (2008-03-19 08:06:28)
Offline
There's nothing in the error.log other than entries saying the server was started/stopped.
I made another folder /www/pages/test and placed a simple html file there. Trying to access this I get the same "400 - Bad Request" error. I guess this means I've something wrong with lighttpd. Would it be worth you mailling me your working .conf file? (I'm using /mnt/HD_a2/.transmission like you suggested)
RAP
Offline
vedeja wrote:
KyleK wrote:
Transmission supports automatic port mapping via NAT-PMP and UPnP. You can activate it by calling
Code:
transmission-remote -mThis seems to have no effect. Do I have to change any settings in my router after doing it? I have actually gotten it to UL a little but it's just a few KB/s and in no way stable. Also downloading is very jumpy as opposed to when I use utorrent it was a stable 2 MB/s from my private tracker network. How do I make more detailed stuff like setting no of connections, peers and slots/torrent, queue options etc? Is there a feature to update tracker?
Your router has to support either UPnP or NAT-PMP so Transmission can map its own port.
You can start transmission-daemon via telnet/ssh with the -d option to see what it's actually doing. Remember, if you're using Telnet, to set the TRANSMISSION_HOME variable beforehand, otherwise it won't find the correct settings directory.
Transmission does not (yet) have the feature set of a µTorrent. All those options you mention do not exist so far. Type transmission-remote -h to see what you can set up (basically it's PEX, encryption preference, automatic port mapping, UL/DL speed limits, and default download folder).
Offline
rap wrote:
There's nothing in the error.log other than entries saying the server was started/stopped.
I made another folder /www/pages/test and placed a simple html file there. Trying to access this I get the same "400 - Bad Request" error. I guess this means I've something wrong with lighttpd. Would it be worth you mailling me your working .conf file? (I'm using /mnt/HD_a2/.transmission like you suggested)
RAP
I suggest you look for a thread dedicated to lighttpd here on the board or open up a new one, as my knowledge of the webserver is fairly limited. I'm quite sure others can help you out though.
Offline
For those running ffp 0.5-experimental, I've created a package based on shandowandy's binary
http://www.uploading.com/files/R4RMI1XE … 6.tgz.html
Installation:
- funpkg transmission-1.06.tgz
- /ffp/start/transmission.sh start
Notes:
- default TRANSMISSION_HOME=/mnt/HD_a2/downloads/.transmission
- default downloads to /mnt/HD_a2/downloads
- runs as "nobody" user so that you can delete the downloads from samba or ftp
- to manage use clutch (see KyleK's or shandowandy's instruction) or command line (need to "export TRANSMISSION_HOME=/mnt/HD_a2/downloads/.transmission")
Offline
Saw 1.10 is out. Anyone friendly enough to compile it?
Offline
quekky wrote:
- runs as "nobody" user so that you can delete the downloads from samba or ftp
Hi - how do you do this and can it be done in FP 0.4??
At the moment my downloads are written as root which is a pain.
Thanks
RAP
Offline
I got everything to run fine using shadowandy's stuff and guide, however, it seems like the upload speed is capped pretty hard to 30kbps, anyone else ran into this problem?
It doesn't matter how i configure Clutch/Transmission, still caps it at 30kbps. Download speeds seems fine thou.
Offline
Oh, well that's good!
I should be able to upload at around 200-250 aswell. Im running firmware 1.03 and RAID1 (500gb x 2), could that have anything to do with it?
Using fun_plug v0.3
Offline
rap wrote:
quekky wrote:
- runs as "nobody" user so that you can delete the downloads from samba or ftp
Hi - how do you do this and can it be done in FP 0.4??
At the moment my downloads are written as root which is a pain.
Thanks
RAP
Apparently quekky only modified the transmission.sh startup script. The binaries are from ShadowAndys compile.
So yes, you should be able to use this with FP 0.4 as well, but you will have to modify the shell script.
Offline
My transmission.sh only works with ffp 0.5, as it requires a function file in 0.5. It also auto setup the download dir on 1st run
You can modify KyleK or Shadowandy sh file and add "su nobody -c" in front of the command to run transmission-daemon. Remember to chmod the .transmission and download dir after that
Last edited by quekky (2008-04-04 07:19:48)
Offline
quekky wrote:
My transmission.sh only works with ffp 0.5, as it requires a function file in 0.5. It also auto setup the download dir on 1st run
You can modify KyleK or Shadowandy sh file and add "su nobody -c" in front of the command to run transmission-daemon. Remember to chmod the .transmission and download dir after that
Thanks - I'll give it a try.
Does .transmission just need to be writeable by all groups?
RAP
Offline
First of all, let me thank you guys for all the stuff posted here - managed to install Transmission and Clutch on my CH3SNAS without problems
vedeja wrote:
Saw 1.10 is out. Anyone friendly enough to compile it?
I would like to second this request... a lot of private trackers banned Transmisson versions below 1.1x.
Offline