DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#26 2008-03-18 15:31:04

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#27 2008-03-18 17:45:22

kaymm2
Member
Registered: 2008-03-13
Posts: 10

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#28 2008-03-18 21:51:17

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Transmission & Clutch on CH3SNAS/DNS-323

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 calling

Code:

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.

1. I have forwarding all set up in my router. The code below is not yet working because of issue #2...

Code:

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.

Code:

server.upload-dirs                = ( "/mnt/HD_a2/fun_plug.d/tmp" )

Last edited by vedeja (2008-03-18 22:08:14)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#29 2008-03-18 22:15:49

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission & Clutch on CH3SNAS/DNS-323

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:

Code:

$ 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

 

#30 2008-03-18 22:18:56

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#31 2008-03-18 22:51:21

kaymm2
Member
Registered: 2008-03-13
Posts: 10

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#32 2008-03-18 23:31:49

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#33 2008-03-19 00:11:46

rap
Member
From: Reading - UK
Registered: 2008-02-28
Posts: 119

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#34 2008-03-19 00:32:40

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#35 2008-03-19 00:58:10

rap
Member
From: Reading - UK
Registered: 2008-02-28
Posts: 119

Re: Transmission & Clutch on CH3SNAS/DNS-323

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 sad

RAP

Last edited by rap (2008-03-19 01:24:10)

Offline

 

#36 2008-03-19 02:27:19

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#37 2008-03-19 08:04:47

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Transmission & Clutch on CH3SNAS/DNS-323

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)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#38 2008-03-19 08:12:28

rap
Member
From: Reading - UK
Registered: 2008-02-28
Posts: 119

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#39 2008-03-19 10:47:48

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission & Clutch on CH3SNAS/DNS-323

vedeja wrote:

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?

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

 

#40 2008-03-19 10:49:04

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#41 2008-03-30 16:51:16

quekky
Member
Registered: 2008-03-30
Posts: 20

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#42 2008-03-30 19:08:22

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Transmission & Clutch on CH3SNAS/DNS-323

Saw 1.10 is out. Anyone friendly enough to compile it?


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#43 2008-04-03 10:00:50

rap
Member
From: Reading - UK
Registered: 2008-02-28
Posts: 119

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#44 2008-04-04 00:07:01

fred
New member
From: Sweden
Registered: 2008-04-04
Posts: 3

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#45 2008-04-04 00:08:34

KRH
Member
From: Denmark
Registered: 2006-10-27
Posts: 219
Website

Re: Transmission & Clutch on CH3SNAS/DNS-323

i upload fine whit 200kbps and it then stops(max upload on my connection)


First user to fun_plug the dns-323.

Offline

 

#46 2008-04-04 00:18:50

fred
New member
From: Sweden
Registered: 2008-04-04
Posts: 3

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#47 2008-04-04 03:19:00

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#48 2008-04-04 07:19:08

quekky
Member
Registered: 2008-03-30
Posts: 20

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#49 2008-04-04 09:33:42

rap
Member
From: Reading - UK
Registered: 2008-02-28
Posts: 119

Re: Transmission & Clutch on CH3SNAS/DNS-323

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

 

#50 2008-04-07 02:36:57

Ramza
Member
Registered: 2008-03-20
Posts: 15

Re: Transmission & Clutch on CH3SNAS/DNS-323

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 smile

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

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB