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

#1251 2010-08-11 01:15:32

Forge
Member
Registered: 2010-08-07
Posts: 12

Re: [REL] Transmission 1.3

Hmm. I'll ask around on my laptop forum in the Linux section. See if any of them have any answers.

Damn thing is so aggravating.

Offline

 

#1252 2010-08-12 04:25:18

Forge
Member
Registered: 2010-08-07
Posts: 12

Re: [REL] Transmission 1.3

Update: So, reinstalled everything (yet again). However, immediately after setting up SSH and Transmission, I went into the Settings.js0n file and set umask to 0.

I've been locked out of the .transmission-daemon folder again, but it seems I have full control over current and new torrent folders. I've restarted my laptop several times, so it looks like it's permanently fixed.

Last edited by Forge (2010-08-12 12:26:44)

Offline

 

#1253 2010-08-13 22:59:04

samsom
Member
Registered: 2010-02-17
Posts: 8

Re: [REL] Transmission 1.3

Is Kylek's server down? Cannot seem to access the curl and transmission files. Are there any other sources for the installation files?
Samsom

Offline

 

#1254 2010-08-14 05:25:20

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

Here you go:

Transmission-2.03-1.tgz
http://www.mediafire.com/file/5xx43pnzn … 2.03-1.tgz

curl-7.18.1.tgz
http://www.mediafire.com/file/yzbmx203q … 7.18.1.tgz

Last edited by FunFiler (2010-08-14 05:25:56)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1255 2010-08-14 05:27:28

irotjaf
Member
Registered: 2010-08-05
Posts: 14

Re: [REL] Transmission 1.3

It happens to have them in my NAS. Can upload them to rapidshare for you if you want.

Me too, I found kylek's server down when I wanted to install. It went online 1-2 days later.

Offline

 

#1256 2010-08-14 10:27:22

jcisio
New member
From: France
Registered: 2010-08-14
Posts: 4
Website

Re: [REL] Transmission 1.3

I've just bought a new DNS-323 and install Transmission 2.03. Is it normal or just for me that hash check is very slow? The best speed I have is a 20 GB one, it took 1 hour. I have another one, 26 GB, it started yesterday and this morning it haven't finished checking.

Offline

 

#1257 2010-08-14 10:33:35

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

Re: [REL] Transmission 1.3

jcisio wrote:

I've just bought a new DNS-323 and install Transmission 2.03. Is it normal or just for me that hash check is very slow? The best speed I have is a 20 GB one, it took 1 hour. I have another one, 26 GB, it started yesterday and this morning it haven't finished checking.

its a slow "computer" so thats normal.


First user to fun_plug the dns-323.

Offline

 

#1258 2010-08-14 12:50:25

jcisio
New member
From: France
Registered: 2010-08-14
Posts: 4
Website

Re: [REL] Transmission 1.3

KRH wrote:

jcisio wrote:

I've just bought a new DNS-323 and install Transmission 2.03. Is it normal or just for me that hash check is very slow? The best speed I have is a 20 GB one, it took 1 hour. I have another one, 26 GB, it started yesterday and this morning it haven't finished checking.

its a slow "computer" so thats normal.

The problem for me is sometimes it takes 5-10 times longer in certain torrents (approximate size). If it uses all its time for SHA1 calculation, then the problem must be in some place.

Edit: maybe I've found this. If there many torrent in the check queue, even they're waiting, the hash check process is very slow.

Last edited by jcisio (2010-08-14 13:39:30)

Offline

 

#1259 2010-08-16 01:05:13

jcisio
New member
From: France
Registered: 2010-08-14
Posts: 4
Website

Re: [REL] Transmission 1.3

After more observation, I conclude the slow hash check is due to disk io (I was copying over samba hundreds of GB of data). However I don't understand why, because hash check, at 30 GB/h or 8 MB/s is related to CPU rather than to HDD I/O.

Offline

 

#1260 2010-08-16 07:34:09

vishnumrao
Member
Registered: 2010-08-09
Posts: 16

Re: [REL] Transmission 1.3

I have a Transmission problem: I had posted it as a different post but I have got just one response till now.

http://dns323.kood.org/forum/viewtopic.php?id=5876

Anyone have any suggestions?

Offline

 

#1261 2010-08-18 20:02:24

irotjaf
Member
Registered: 2010-08-05
Posts: 14

Re: [REL] Transmission 1.3

Anybody can explain this problem?


http://img807.imageshack.us/img807/3797/transmissionerror.jpg


I have firmware 1.08, only this file was downloading and it is happening more than once. When I resume the file, transmission start verifying it and downloading without problems. Then it happens again the next day.

Last edited by irotjaf (2010-08-18 20:03:47)


Attachments:
Attachment Icon transmissionError.jpg, Size: 7,763 bytes, Downloads: 165

Offline

 

#1262 2010-08-21 11:24:40

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: [REL] Transmission 1.3

There's a new major Transmission Remote Gui release:

changelog wrote:

Version 2.0 released!

    Implemented the "Set location" command for torrents.
    Support for adding a torrent via a URL or a magnet link.
    Implemented filtering by download dir. It can be used as torrent labels.
    Implemented changing of torrents priority.
    Multiselect in the torrents list.
    Added the "Reannounce (get more peers)" command for torrents.
    Implemented the "Update blocklist" function.
    Implemented per torrent seed ratio.
    Croatian, Hungarian, Czech, Dutch, Danish translations.
    Many other improvements and bug fixes.

http://code.google.com/p/transmisson-remote-gui/


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#1263 2010-08-21 12:30:50

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

irotjaf wrote:

Anybody can explain this problem?


http://img807.imageshack.us/img807/3797 … nerror.jpg

Too many open files could be caused by just about anything. A virus scanner, a backup, etc


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1264 2010-08-21 12:33:17

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

scaramanga wrote:

There's a new major Transmission Remote Gui release:
Version 2.0 released!

Looks very similar to transmission-remote-dotnet that I use.
http://code.google.com/p/transmission-remote-dotnet/

The one you mentioned is multiplatform though which is good.

Last edited by FunFiler (2010-08-21 12:42:04)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1265 2010-08-22 04:33:36

irotjaf
Member
Registered: 2010-08-05
Posts: 14

Re: [REL] Transmission 1.3

FunFiler wrote:

irotjaf wrote:

Anybody can explain this problem?


http://img807.imageshack.us/img807/3797 … nerror.jpg

Too many open files could be caused by just about anything. A virus scanner, a backup, etc

Any idea how to check which files are open and which process opened them?

Thank you smile

Offline

 

#1266 2010-08-22 11:22:54

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: [REL] Transmission 1.3

Do the following from the command line:
1. List all transmission processes:

Code:

ps | grep Transmission

The output should look similar to this:

Code:

 1949 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
 1969 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
 1970 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
 1973 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
26079 root     grep transmission

2. For each transmission process, list it's open handles:

Code:

ls -l /proc/1949/fd

Replace that process number I used, 1949, with the ones you obtained from the previous command.

This should give you the list of files opened by the process, and also the list of sockets and pipes (which are special files in linux).

If you'd like to see just how many files (plus sockets and pipes) each process in your system currently uses you can issue this command:

Code:

for dir in `find /proc -type d -maxdepth 3 -name fd`; do echo directory $dir contains `ls -1A $dir | wc -l` f
iles ; done

Last edited by scaramanga (2010-08-22 11:29:58)


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#1267 2010-08-22 15:54:33

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

KylyeK - I'm very interested in compiling Transmission from source myself (I see 2.04 is out). Have you posted / shared your compiler steps / options anywhere as a comparison or guide?


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1268 2010-08-23 05:06:56

irotjaf
Member
Registered: 2010-08-05
Posts: 14

Re: [REL] Transmission 1.3

Great useful information. I will give it a try, thank you scaramanga.


scaramanga wrote:

Do the following from the command line:
1. List all transmission processes:

Code:

ps | grep transmission

The output should look similar to this:

Code:

 1949 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
 1969 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
 1970 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
 1973 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon
26079 root     grep transmission

2. For each transmission process, list it's open handles:

Code:

ls -l /proc/1949/fd

Replace that process number I used, 1949, with the ones you obtained from the previous command.

This should give you the list of files opened by the process, and also the list of sockets and pipes (which are special files in linux).

If you'd like to see just how many files (plus sockets and pipes) each process in your system currently uses you can issue this command:

Code:

for dir in `find /proc -type d -maxdepth 3 -name fd`; do echo directory $dir contains `ls -1A $dir | wc -l` f
iles ; done

Last edited by irotjaf (2010-08-23 05:10:39)

Offline

 

#1269 2010-09-03 07:30:52

wilburyan
New member
Registered: 2010-01-06
Posts: 2

Re: [REL] Transmission 1.3

quick quesiton... my client seems to be hooped since I added a recent torrent... cpu usage is high... and nothing works.  eventually it crashes.  I upgraded to the latest version... same thing.

Anyone know how I can remove torrents from it so they don't load up with the client starts.

Edit:  Nevermind...  backed up my settings.json file and cleared out my .transmission-daemon folder... works like a charm now.

Last edited by wilburyan (2010-09-03 07:44:21)

Offline

 

#1270 2010-09-03 23:50:32

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

Re: [REL] Transmission 1.3

Hey guys,

sorry for being unavailable recently. I've relocated to another apartment and was without internet access for a month.
But now I'm back and will try to answer an open questions that have piled up since July.

Cheers!

Offline

 

#1271 2010-09-04 00:11:46

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

Re: [REL] Transmission 1.3

jcisio wrote:

After more observation, I conclude the slow hash check is due to disk io (I was copying over samba hundreds of GB of data). However I don't understand why, because hash check, at 30 GB/h or 8 MB/s is related to CPU rather than to HDD I/O.

The NAS doesn't have support for DMA, so any IO access goes through the CPU. Copying data via Samba (which is rather CPU-hungry itself) will thus slow down any other operations on the NAS.

(Besides, if Samba writes files to one part of the disk, and Transmission reads data on another part of the disk (to caculate the piece hashes), the drive's head is moving like crazy to do its work. That'll slow down everything considerably)

Offline

 

#1272 2010-09-04 00:18:16

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

Re: [REL] Transmission 1.3

irotjaf wrote:

FunFiler wrote:

irotjaf wrote:

Anybody can explain this problem?


http://img807.imageshack.us/img807/3797 … nerror.jpg

Too many open files could be caused by just about anything. A virus scanner, a backup, etc

Any idea how to check which files are open and which process opened them?

Thank you :)

The tool 'lsof' is your friend. I believe it's a separate funplug package in fonz's repository (http://inreto.de/dns323/fun-plug/0.5/packages/)

Offline

 

#1273 2010-09-04 00:32:50

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

Re: [REL] Transmission 1.3

FunFiler wrote:

KylyeK - I'm very interested in compiling Transmission from source myself (I see 2.04 is out). Have you posted / shared your compiler steps / options anywhere as a comparison or guide?

No, I've never made a step-by-step guide for others (or myself) on how to compile Transmission on the NAS. It's in my blood by now :)

Of course you need all the developer packages: pkgconfig, autoconf, automake, gcc, make, libtool, m4, flex, bison (not sure about the last 2).

The first thing would be to install all the libraries Transmission depends on. I honestly don't know all of them, so this may be a bit of trial-and-error. You'll definitely need zlib, libcurl and openssl.

Next, I add a single line to libtransmission/platform.c somewhere after its includes:

Code:

#define PACKAGE_DATA_DIR "/ffp/share"

This is so Transmission will later find the web interface files.

Next up:
Manually create 3 files in the subdirectory po/:

Code:

$ touch po/Makefile.in.in
$ touch po/Makefile.in
$ touch po/Makefile

This is only needed because I disable the 'i18n' stuff in Transmission (possibility to change the language of the UI).

After that, I modify configure.ac a bit. Here's a diff you can use: configure.diff

Then you run ./autogen.sh, which will take quite a while.
When it's done, run configure again with some parameters, and start the compile:

Code:

$ ./configure --prefix=/ffp --disable-cli --disable-gtk --disable-nls --without-inotify
$ make

Done.

Offline

 

#1274 2010-09-04 00:44:29

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

Re: [REL] Transmission 1.3

Ok, you had to wait a while for Transmission v2.04 but, it is only a very tiny bugfix release. Most changes don't affect the daemon at all.

Anyway, download is available in the first post.

Enjoy!

Offline

 

#1275 2010-09-04 01:45:58

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

Thank you sir, installing it now.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB