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

#176 2008-06-12 00:13:03

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

Re: Transmission & Clutch on CH3SNAS/DNS-323

Yes. That's what it looks like on my NAS.

Offline

 

#177 2008-06-12 03:21:25

ppahtde
Member
Registered: 2008-06-12
Posts: 9

Re: Transmission & Clutch on CH3SNAS/DNS-323

Kylek,
I would need some help.
I am trying to to create a package of another build of Transmission 1.21 because one of my private trackers accepts only an old build.

I got an error about PKG_CONGIG and OPENSSL _CFLAGS
In transmission forum they are suggesting to install openssl-dev.
Do you have this package for funplug 0.5 ?

Thanks for your help.

Offline

 

#178 2008-06-12 04:13:53

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

Re: Transmission & Clutch on CH3SNAS/DNS-323

fonz' openssl-0.9.8g package already contains all the necessary header files for compiling other tools.
The easiest way for you is to install pkgconfig-0.23 and then run configure in Transmission again. It should detect pkgconfig, and then should be able to detect openssl (and libcurl) as well.

Offline

 

#179 2008-06-12 13:32:30

ppahtde
Member
Registered: 2008-06-12
Posts: 9

Re: Transmission & Clutch on CH3SNAS/DNS-323

Thank you for your help, I will do that this evening.

Offline

 

#180 2008-06-14 11:43:17

greg1977
Member
Registered: 2008-04-28
Posts: 19

Re: Transmission & Clutch on CH3SNAS/DNS-323

@ppahtde

hello, can you post the earlier build of transmission 1.21. My private tracker only accept build 5890 and 5898.

thanks in advance

greg

Offline

 

#181 2008-06-14 13:21:40

ppahtde
Member
Registered: 2008-06-12
Posts: 9

Re: Transmission & Clutch on CH3SNAS/DNS-323

greg1977,
I think we use the same tracker wink
I tried 2 or 3 times to create the package, but I have problems launching it. It fails to connect to the daemon socket.

Kylek ,
I would need your help

I have downloaded the build we need, extracted it, and I do :

              ./configure --prefix=/ffp/devel/releases/Toolname-ffp0.5/ffp
              make
              make install

as you posted elsewhere. It works fine. I have 2 more files on the install ( transmissioncli and benc2php )
I have copied the former transmission.sh file in a start directory
After that I have done

            tar cf - -C /ffp/devel/releases/Toolname --owner=root --group=root . | gzip - -c >toolname-0.1.0-ffp0.5.tgz

Did it missed something ?
Is there another option to put on the configure ?
When I launch that build, the log file indicated that option -V is invalid and that it cannot access to the socket.

Thanks for your help.

Last edited by ppahtde (2008-06-14 13:23:29)

Offline

 

#182 2008-06-14 13:45:58

SilentException
Member
From: Island of Krk, Croatia
Registered: 2008-05-04
Posts: 148

Re: Transmission & Clutch on CH3SNAS/DNS-323

i just did
#grep 59 transmission-daemon
Transmission daemon 1.21 (5905)
Transmission/1.21 (5905)

use the hex editor and change the second one to 5898 wink


D-Link DNS-323 v1.05 fun_plug-ed + many mods,  2 x 320GB Seagate Barracuda 7200.10 RAID0, Cat6 Gigabit Network, 9k Jumbo Frames, Average (WRITE): 19,32 MB/sec, Average (READ): 28,6 MB/sec

Offline

 

#183 2008-06-14 14:17:44

greg1977
Member
Registered: 2008-04-28
Posts: 19

Re: Transmission & Clutch on CH3SNAS/DNS-323

It's Working !! thanks

Offline

 

#184 2008-06-14 19:44:01

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

Re: Transmission & Clutch on CH3SNAS/DNS-323

ppahtde wrote:

When I launch that build, the log file indicated that option -V is invalid and that it cannot access to the socket.

Thanks for your help.

The -v switch is something I added in my builds (verbose mode, for the logfile) which is not in the official repository. You can remove the switch from transmission.sh


It is important to start the daemon with the -f switch, also the commandline has to end with an ampersand (&). For some reason transmission-remote won't get access to the socket otherwise.
Also make sure that environment variable TRANSMISSION_HOME is set correctly both in the transmission.sh and in the terminal (type "export | grep TRANS")

Offline

 

#185 2008-06-16 00:40:34

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

Re: Transmission & Clutch on CH3SNAS/DNS-323

New version of Transmission is out:

Code:

1.22 (2008/06/13)
http://trac.transmissionbt.com/query?group=component&milestone=1.22&order=severity
- All Platforms
  + Fix two separate BitTorrent unchoke bugs that could affect performance
  + Transmission now builds correctly on Sun Studio
  + Minor man page fixes
- CLI:
  + Fix scraping torrents with the -s command-line argument

I updated the first post with the proper links.

Offline

 

#186 2008-06-19 16:15:05

Levis
Member
Registered: 2008-05-06
Posts: 40

Re: Transmission & Clutch on CH3SNAS/DNS-323

No proxy support yet for transmissionbt? sad

Offline

 

#187 2008-06-19 17:01:23

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

Re: Transmission & Clutch on CH3SNAS/DNS-323

Could you elaborate on this? I haven't used transmission-proxy before, I don't actually know what it's useful for.

Offline

 

#188 2008-06-24 19:56:25

Levis
Member
Registered: 2008-05-06
Posts: 40

Re: Transmission & Clutch on CH3SNAS/DNS-323

The problem is that I'm behind a NAT and I don't have a public IP so I need to use a proxy (socks or http) if I want to be active
I've read that a beta version of transmissionbt has an http proxy but I can't test with my dns323

Offline

 

#189 2008-06-24 20:00:55

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

Re: Transmission & Clutch on CH3SNAS/DNS-323

Yes, the current SVN version of Transmission adds proxy support, as that was a much requested feature.
The authors of T also made radical changes to the way the clients (GTK client, transmission-remote) communicate with Transmission. As a result, Clutch does not work with the new version yet.
For that reason I haven't produced any nightly builds of Transmission 1.22+ (to be 1.30).

As soon as Clutch is (at least somewhat) compatible with the new Transmission, I'll start making builds.

Offline

 

#190 2008-06-24 20:56:46

Levis
Member
Registered: 2008-05-06
Posts: 40

Re: Transmission & Clutch on CH3SNAS/DNS-323

Perfect, I will be the first to test it! wink

Keep up the good work!

Offline

 

#191 2008-07-02 02:59:18

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

Re: Transmission & Clutch on CH3SNAS/DNS-323

Just updated fun_plug to 0.5 and tried to install Transmission 1.22, but when I enter ffp/start/transmission.sh start I get "cannot create /mnt/HD_a2/.transmission/transmission-daemon.log: Permission denied". Can anybody help me out? I'm logged in via ssh / root.

Offline

 

#192 2008-07-02 08:19:36

indiematt
Member
Registered: 2008-06-11
Posts: 11

Re: Transmission & Clutch on CH3SNAS/DNS-323

Is there an easy way to simply update my successfully installed transmission from 1.21 to 1.22? or do i have to reinstall from scratch?

Offline

 

#193 2008-07-02 12:27:35

mong736
New member
Registered: 2008-07-02
Posts: 4

Re: Transmission & Clutch on CH3SNAS/DNS-323

can anyone help why i hv the following messages in the www/logs/error.log
am i doing something wrong? i have this message every 1-2 second and the error.log file size now is about 100mb.


/clutch/remote/index.php?action=refreshTorrents&param=0&filter=all&sort_method=queue_order&sort_direction=ascending&search=
2008-07-02 10:50:25: (http_auth.c.1006) algorigthm 
2008-07-02 10:50:25: (http_auth.c.1007) qop auth
2008-07-02 10:50:25: (http_auth.c.1008) cnonce c6e12b32e27b408a
2008-07-02 10:50:25: (http_auth.c.1009) nc 00000183
2008-07-02 10:50:25: (http_auth.c.1010) response d6f580ac8852797a43731ae3650c9633
2008-07-02 10:50:25: (http_auth.c.1156) digest: auth ok
2008-07-02 10:50:27: (http_auth.c.1002) username admin
2008-07-02 10:50:27: (http_auth.c.1003) realm Password Protected Area
2008-07-02 10:50:27: (http_auth.c.1004) nonce 2e0aa5381b7cba11581ec32704de97d7
2008-07-02 10:50:27: (http_auth.c.1005) uri /clutch/remote/index.php?action=refreshTorrents&param=0&filter=all&sort_method=queue_order&sort_direction=ascending&search=
2008-07-02 10:50:27: (http_auth.c.1006) algorigthm 
2008-07-02 10:50:27: (http_auth.c.1007) qop auth
2008-07-02 10:50:27: (http_auth.c.1008) cnonce 0ee1d56673147b7b
2008-07-02 10:50:27: (http_auth.c.1009) nc 00000184
2008-07-02 10:50:27: (http_auth.c.1010) response d442ba9134a1289f8d72b35ad6b697a7
2008-07-02 10:50:27: (http_auth.c.1156) digest: auth ok
2008-07-02 10:50:28: (http_auth.c.1002) username admin
2008-07-02 10:50:28: (http_auth.c.1003) realm Password Protected Area
2008-07-02 10:50:28: (http_auth.c.1004) nonce 2e0aa5381b7cba11581ec32704de97d7
2008-07-02 10:50:28: (http_auth.c.1005) uri /clutch/remote/index.php?action=refreshTorrents&param=0&filter=all&sort_method=queue_order&sort_direction=ascending&search=
2008-07-02 10:50:28: (http_auth.c.1006) algorigthm 
2008-07-02 10:50:28: (http_auth.c.1007) qop auth
2008-07-02 10:50:28: (http_auth.c.1008) cnonce 1a7c2ee4e642e66b
2008-07-02 10:50:28: (http_auth.c.1009) nc 00000185
2008-07-02 10:50:28: (http_auth.c.1010) response 2ba6ab1fa70c8a3ebbf8ca03fd8cc8b9
2008-07-02 10:50:28: (http_auth.c.1156) digest: auth ok

Offline

 

#194 2008-07-02 12:49:36

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

Re: Transmission & Clutch on CH3SNAS/DNS-323

Ramza wrote:

Just updated fun_plug to 0.5 and tried to install Transmission 1.22, but when I enter ffp/start/transmission.sh start I get "cannot create /mnt/HD_a2/.transmission/transmission-daemon.log: Permission denied". Can anybody help me out? I'm logged in via ssh / root.

By default, Transmission is started as user "nobody", so every user can delete files in the Download directory (otherwise only root would be able to delete files).
For this to work, all directories that Transmission access must have been created by the user "nobody" as well.
The error msg suggests that the configuration directory is not a "nobody" directory.
You can try this:

Code:

chown -R nobody:501 /mnt/HD_a2/.transmission

The same goes for your download directory.

indiematt wrote:

Is there an easy way to simply update my successfully installed transmission from 1.21 to 1.22? or do i have to reinstall from scratch?

You can always try

Code:

funpkg -u Transmission-1.22-ffp0.5.tgz

If that doesn't work, first uninstall the old package, than install the new one:

Code:

funpkg -r Transmission-1.21-ffp0.5.tgz
funpkg -i Transmission-1.21-ffp0.5.tgz

Your Transmission settings will not be touched, everything should work as before. One advise though: If you modified the startup script (start/transmission.sh), then make a backup. This is overwritten with an update.

mong736 wrote:

can anyone help why i hv the following messages in the www/logs/error.log
am i doing something wrong? i have this message every 1-2 second and the error.log file size now is about 100mb.

Looks like someone is trying to get into your Clutch interface, possibly by using a brute-force attack. Can you access Clutch when providing a username/password?
If your lighttpd runs on port 80, a port change might be a good idea.

Offline

 

#195 2008-07-02 13:36:47

mong736
New member
Registered: 2008-07-02
Posts: 4

Re: Transmission & Clutch on CH3SNAS/DNS-323

KyleK wrote:

mong736 wrote:

can anyone help why i hv the following messages in the www/logs/error.log
am i doing something wrong? i have this message every 1-2 second and the error.log file size now is about 100mb.

Looks like someone is trying to get into your Clutch interface, possibly by using a brute-force attack. Can you access Clutch when providing a username/password?
If your lighttpd runs on port 80, a port change might be a good idea.

yes, i can access clutch with my username/password.
BTW, how to change port for lighttpd?

Thanks

Offline

 

#196 2008-07-02 13:44:31

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

Re: Transmission & Clutch on CH3SNAS/DNS-323

The etc/lighttpd.conf has an option "server.port = 80", change it to any number higher than 1024. If you want to access your web server from outside your LAN, make sure to forward the port in your router as well.

Offline

 

#197 2008-07-02 14:06:24

mong736
New member
Registered: 2008-07-02
Posts: 4

Re: Transmission & Clutch on CH3SNAS/DNS-323

KyleK wrote:

The etc/lighttpd.conf has an option "server.port = 80", change it to any number higher than 1024. If you want to access your web server from outside your LAN, make sure to forward the port in your router as well.

ok, just change the port already, restarted lighttpd, but the error.log file size still increasing and show the same thing as before.
but if i close the web access to clutch, the error.log seem to stop logging. is this normal?

Offline

 

#198 2008-07-02 14:18:55

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

Re: Transmission & Clutch on CH3SNAS/DNS-323

Dang, I didn't look closely enough at that log of yours. Basically, it's harmless. Lighttpd just logs any authentication attempts to your page (which your browser obviously has cached).

There's an option in your lighttpd.conf called "auth.debug = 2". You can set it to 0 to disable authentication logging completely, to 1 for just basic log entries (access failed/access ok), or to 2 for detailed log (as it is now).

You can change the port back if you want, there wasn't any issue with it.

And you can also delete the logfile to free some space (but stop the server first).

Offline

 

#199 2008-07-02 15:13:34

mong736
New member
Registered: 2008-07-02
Posts: 4

Re: Transmission & Clutch on CH3SNAS/DNS-323

KyleK wrote:

Dang, I didn't look closely enough at that log of yours. Basically, it's harmless. Lighttpd just logs any authentication attempts to your page (which your browser obviously has cached).

There's an option in your lighttpd.conf called "auth.debug = 2". You can set it to 0 to disable authentication logging completely, to 1 for just basic log entries (access failed/access ok), or to 2 for detailed log (as it is now).

You can change the port back if you want, there wasn't any issue with it.

And you can also delete the logfile to free some space (but stop the server first).

yes, it works!

thanks for your help.

Offline

 

#200 2008-07-02 20:37:23

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

Re: Transmission & Clutch on CH3SNAS/DNS-323

KyleK wrote:

Ramza wrote:

Just updated fun_plug to 0.5 and tried to install Transmission 1.22, but when I enter ffp/start/transmission.sh start I get "cannot create /mnt/HD_a2/.transmission/transmission-daemon.log: Permission denied". Can anybody help me out? I'm logged in via ssh / root.

By default, Transmission is started as user "nobody", so every user can delete files in the Download directory (otherwise only root would be able to delete files).
For this to work, all directories that Transmission access must have been created by the user "nobody" as well.
The error msg suggests that the configuration directory is not a "nobody" directory.
You can try this:

Code:

chown -R nobody:501 /mnt/HD_a2/.transmission

The same goes for your download directory.

Thanks for your help! Now I have Transmission running, but Clutch tells me "the Transmission daemon does not appear to be running". Could it be the problem that the transmission-daemon is runned by user "nobody", while everything else has user "root"? Sorry for the noob questions, this is all rocket science to me wink

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB