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

#1 2008-01-03 19:21:34

radir
Member
Registered: 2008-01-03
Posts: 68

Torrent and DNS-313

Hi,

One of the greatest thing in NAS is running a torrent client (or any other file downloading utility) without a PC in my opinion ... if it works.

But currently I have very slow download speed using MLDonkey no matter what I setup comparing to any other (PC) client. 15-20kb/s versus 100+ for the same share.

Any advise please?

1. Is MLDonkey the best client? What benefits it has over othe clients eg. cTorrent?
2. How to reduce memory usage of MLD? In my experience because it is eating up too much memory DNS-313 continuously swapping causing too much harddisk activity => heat => noise => decreasing lifespan of hd. (And still low downloading speed)

By the way I am using this guy's work - thanks Fabtar:

http://mldonkey.sourceforge.net/forums/ … php?t=4825

Thanks.

Last edited by radir (2008-01-03 19:23:35)

Offline

 

#2 2008-01-09 22:46:02

radir
Member
Registered: 2008-01-03
Posts: 68

Re: Torrent and DNS-313

Up!

Nobody using torrent client with this NAS?

Offline

 

#3 2008-01-10 15:39:09

DARKinVADER
New member
Registered: 2007-12-31
Posts: 1

Re: Torrent and DNS-313

Hi!

I want to use it for torrent download too. On the official DLink site of Hungary they are writing this:

http://dlink.hu/?go=gNTyP9CgrdFOIC4AStF … 5B+48NDd/l

"A letöltéseket egy grafikus kezelőprogrammal tudjuk irányítani (sancho) amely PC-re, linux-ra és macintoshra is elérhető."

Which means that there is an GUI software called sanche, which is avaiable for PC, linux and mac. I found it (http://www.google.hu/search?q=sancho+do … 6&aq=t) and installed it on my PC (Windows), but I think it should be somehow compile to the DNS-313?!

Unfortunately I'm not familiar in that. Do you have some idea? Would it be good for the DNS-313?

Offline

 

#4 2008-01-11 11:28:25

radir
Member
Registered: 2008-01-03
Posts: 68

Re: Torrent and DNS-313

DARKinVader,

That announcement on dlink.hu is ... let me put this way: a tiny bit of marketing exaggregation.

Sancho is a GUI only to mldonkey linux bittorent client. So from your PC probably running with Windows, can run Sancho to manage the bittorent client (mldonkey) running on DNS-313.

The problem is with installing mldonkey to your NAS. By default is is not installed by D-Link, you have to do it.

Check following links:

http://mldonkey.sourceforge.net
http://mldonkey.sourceforge.net/forums/ … php?t=4825 - for binary ARM compatible version
http://tomi.belcom.hu/dns323 - for some help in Hungarian
http://biz.yahoo.com/iw/080106/0345162.html - announcement from D-Link for future support bittorent from D-Link itself (built into firmware)

Regards.
(Ha lesz tapasztalatod, írd meg légy szíves, mert nekem vannak problémáim, ahogy #1-ben írtam. Köszi.)

Offline

 

#5 2008-01-13 01:32:08

Stu274
Member
Registered: 2008-01-09
Posts: 8

Re: Torrent and DNS-313

Hi radir,
Have you had any joy mate.
I also find MLDonkey quite useless as cant seem to get it functioning properly.
If you have any other options you may have found please let me know.

Offline

 

#6 2008-01-13 14:06:45

radir
Member
Registered: 2008-01-03
Posts: 68

Re: Torrent and DNS-313

Hi Stu274,

Actually the binary on http://mldonkey.sourceforge.net/forums/ … php?t=4825 is working ... but not perfect. Mldonkey has many flaws. There are other linux clients like:
- http://ctorrent.sourceforge.net/
- http://libtorrent.rakshasa.no/
I was able to port cTorrent but I had continous runtime problem: it starts, opens connections but at a certain point get arithmetic operation failed message and hangs up.

So I am waiting the official firmware with torrent support: http://biz.yahoo.com/iw/080106/0345162.html . Hopefully D-Link will support torrent on 'low-end' devices as well.

Meanwhile I am still using PC based torrent client :-(

Regards

Last edited by radir (2008-01-13 14:08:21)

Offline

 

#7 2008-01-13 14:23:15

Stu274
Member
Registered: 2008-01-09
Posts: 8

Re: Torrent and DNS-313

Hiya,
Yeah Ive read quite a bit & have got MLDonkey working, & sorry I dont mean any disrespect to those who have worked hard on it
I just mean I dont find it fit for my purpose. I also will have to wait for this misterious firmware update.

Offline

 

#8 2008-01-20 16:41:20

radir
Member
Registered: 2008-01-03
Posts: 68

Re: Torrent and DNS-313

Hi,

Finnally I compiled ctorrent and it is working: http://www.freedrive.com/folder/20148b3 … d970d7bc76

Experience so far comparing to mldonkey:
+ it is working, no mysterious hang ups,
+ much less memory usage and can be fine tune (option -C)
+ much less CPU usage
+ leverage bandwidth maximum you setup (if there are seeder/leechers)
+ smart algorithm to fine tune up/down speed online, and share bandwidth between torrents
- only monitoring UI is based on perl script with linux specific commands (fnctl for non-blocking socket communication), cannot run script on Windows

So anyone who wants to try please check the link above. After downloading make sure library file is copied/linked to /lib. Also customized busybox can be found on the link.

Any feedback is welcomed.

Regards.

Offline

 

#9 2008-01-21 10:28:15

trasgu
Member
Registered: 2007-11-22
Posts: 12

Re: Torrent and DNS-313

Thank you radir,

I'll try both as soon as possible.

Thanks again,

trasgu

Offline

 

#10 2008-01-21 10:56:42

Stu274
Member
Registered: 2008-01-09
Posts: 8

Re: Torrent and DNS-313

Cheers Radir I will also have a go.
It cant be any worse than MLDonkey since MLDonkey doesnt work  tongue

Offline

 

#11 2008-01-21 22:27:01

rskok
Member
Registered: 2008-01-02
Posts: 7

Re: Torrent and DNS-313

hi radir,

can you explain in steps how to install this ctorrent file into dns-313?
many thanks.

cheers,
Ralph

Offline

 

#12 2008-01-22 01:09:19

radir
Member
Registered: 2008-01-03
Posts: 68

Re: Torrent and DNS-313

rskok wrote:

hi radir,

can you explain in steps how to install this ctorrent file into dns-313?
many thanks.

cheers,
Ralph

Hi,

Basic linux skills are required but nothing extreme. You need to be able to telnet into your box, know basic commands like cp, ln, cd; also I assume you can access your NAS as filer, so under Windows you mapped to a drive (X: ). If any of these are missing please check the documentation of DNS-323 and other forum threads.

1. download and unpack the ctorrent.zip to X:\d_ctorrent (or wherever you want, but i will call it d_ctorrent from now on; it is does not really matter by the way).
2. telnet to your box
3. enter 'cd /mnt/HD_a2/d_ctorrent'
4. enter 'ls'; you should see two files ctorrent and libgcc_s.so.1
5. enter 'ln -s /mnt/HD_a2/d_torrent/libgcc_s.so.1 /lib/libgcc_s.so'
6. enter './ctorrent --help' for paramters. Usually I use like './ctorrent -p <torrent port> -D <download bandwidth in KB/s> -U <upload bandwidth in KB/s> -C <cache in MB> -T <transfer special characters to readable> -d <daemon mode> <torrent file>

Please keep in mind:
1. As RAM is very limited (32M) use -C all the time, eg. -C 1
2. you need to add step #5 into fun_plug if you want to use ctorrent after restart device
3. there is a web based user interface called ctcs, can be used on any linux with perl. In this case add -S <ip address of linux>:<port, 2780 by default> to parameter list of ctorrent client in step #6. Thus you can monitor and change torrent threads real time.

So far it works for me but I am very interested in other's experience as well: speed, problems, crc errors, hangups, no download just upload or vice versa etc.

Offline

 

#13 2008-01-28 01:08:47

trasgu
Member
Registered: 2007-11-22
Posts: 12

Re: Torrent and DNS-313

Hi radir,

I've been testing ctorrent tis weekend in my DNS-313 and it works very well. Download speeds are much higher than Mldonkey ones. The only "problem" is the lack of a GUI for tracking the downloads.

I've seen in another thread of this forum that using a web server with PHP support it is possible to control your ctorrents (eg. w3btorrent) Have you try it? Did you have a DNS-313 compiled version od lighttpd? I've tried to install the DNS-323 version and it doesn't work.

regards,

trasgu

Offline

 

#14 2008-01-28 11:30:03

radir
Member
Registered: 2008-01-03
Posts: 68

Re: Torrent and DNS-313

Hi Trasgu,

You can use a ctcs GUI (which is a perl script basically) on a Linux, or you need lighttpd for example as you said. Unfortunetly I could not compile lighttpd yet.

ctcs is not working with Windows perl as using non-blocking communication which is not implemented in Windows perl. If somebody knows what is the work around for replacing fnct function please let me know.

Regards.

Offline

 

#15 2008-01-28 23:15:05

naffarin
Member
Registered: 2008-01-28
Posts: 47

Re: Torrent and DNS-313

Hi Radir,

could you give me a hint about the way you are compiling ? I seem to be unable to get a working toolchain using gnuarm for cygwin under windows and the toolchain mentioned in the other thread about cross compilations is dead.

Offline

 

#16 2008-01-29 21:23:36

radir
Member
Registered: 2008-01-03
Posts: 68

Re: Torrent and DNS-313

Hi Naffarin,

There is a cross compile howto thread in this forum, worth to check it.
I downloaded the source GPL and followed instruction to create source.me file. That's all I use as really what need is ARM C-compiler. Usually it works - the only problem when there is a dependent library and you need to compile that too.

Regards.

Offline

 

#17 2008-01-29 21:53:59

naffarin
Member
Registered: 2008-01-28
Posts: 47

Re: Torrent and DNS-313

Sadly the link to the swedish ftp in that thread has been removed and i don't see an official download link anywhere. The gpl section on that ftp server doesn't contain it either sad...looks like they are violating the gpl.
That's why i was trying to setup an arm cross compilation environment.
But thanks anyway, maybe they will put it on the ftp at some time again.

Offline

 

#18 2008-03-15 03:34:39

L1
Member
From: France
Registered: 2008-03-15
Posts: 48

Re: Torrent and DNS-313

Hello,

I've read your posts carrefully and managed to get ctorrent to work: thanks a lot for your work: it seems to work fine. Unfortunately, I couldn't manage to get any GUI to work. I'm not sure I understood how to use ctcs (I'm using Windows XP) nor how to get w3btorrent...
any news on this subject?

Offline

 

#19 2008-03-18 21:46:50

L1
Member
From: France
Registered: 2008-03-15
Posts: 48

Re: Torrent and DNS-313

There already is a webserver running on the DNS-313 (for the administration of it) . I was wondring: is it possible to use it for w3btorrent? instead of compiling a new web server?

Offline

 

#20 2008-10-08 23:26:10

seb06
New member
Registered: 2008-10-08
Posts: 2

Re: Torrent and DNS-313

radir wrote:

rskok wrote:

hi radir,

can you explain in steps how to install this ctorrent file into dns-313?
many thanks.

cheers,
Ralph

Hi,

Basic linux skills are required but nothing extreme. You need to be able to telnet into your box, know basic commands like cp, ln, cd; also I assume you can access your NAS as filer, so under Windows you mapped to a drive (X: ). If any of these are missing please check the documentation of DNS-323 and other forum threads.

1. download and unpack the ctorrent.zip to X:\d_ctorrent (or wherever you want, but i will call it d_ctorrent from now on; it is does not really matter by the way).
2. telnet to your box
3. enter 'cd /mnt/HD_a2/d_ctorrent'
4. enter 'ls'; you should see two files ctorrent and libgcc_s.so.1
5. enter 'ln -s /mnt/HD_a2/d_torrent/libgcc_s.so.1 /lib/libgcc_s.so'
6. enter './ctorrent --help' for paramters. Usually I use like './ctorrent -p <torrent port> -D <download bandwidth in KB/s> -U <upload bandwidth in KB/s> -C <cache in MB> -T <transfer special characters to readable> -d <daemon mode> <torrent file>

Please keep in mind:
1. As RAM is very limited (32M) use -C all the time, eg. -C 1
2. you need to add step #5 into fun_plug if you want to use ctorrent after restart device
3. there is a web based user interface called ctcs, can be used on any linux with perl. In this case add -S <ip address of linux>:<port, 2780 by default> to parameter list of ctorrent client in step #6. Thus you can monitor and change torrent threads real time.

So far it works for me but I am very interested in other's experience as well: speed, problems, crc errors, hangups, no download just upload or vice versa etc.

Hello,

I try this procedure but when I run part 6. I have the error message :
=======================
$ ./ctorrent --help
./ctorrent: error while loading shared libraries: libgcc_s.so.1: cannot open sha
red object file: No such file or directory
=======================
my link is :
lrwxrwxrwx    1 admin    500            35 Oct  8 19:39 libgcc_s.so -> /mnt/HD_a
2/d_ctorrent/libgcc_s.so.1

Someone have an idea?

Thanks
Séb06

Offline

 

#21 2008-10-09 01:09:00

radir
Member
Registered: 2008-01-03
Posts: 68

Re: Torrent and DNS-313

Hi,

Could you please retry from step 5?

Thanks.

Offline

 

#22 2008-10-17 23:47:03

seb06
New member
Registered: 2008-10-08
Posts: 2

Re: Torrent and DNS-313

Hello Radir,

I've retry from the STEP 5 and I've the same error message :-(

history :
$ ls -l
-rwxrwxrwx    1 root     root        75355 Jan 18  2008 ctcs
-rwxrwxrwx    1 root     root       786070 Jan 17  2008 ctorrent
-rwxrwxrwx    1 root     root        59814 Jan 18  2008 libgcc_s.so.1
$ ln -s /mnt/HD_a2/d_ctorrent/libgcc_s.so.1 /lib/libgcc_s.so
$ ./ctorrent --help
./ctorrent: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory

=> but I try now :
$ ln -s /mnt/HD_a2/d_ctorrent/libgcc_s.so.1 /lib/libgcc_s.so.1

and now it's ok smile

I will try to test it now....

bye and thanks

Séb06

Offline

 

#23 2008-12-16 15:07:02

alphazing
New member
Registered: 2008-12-16
Posts: 1

Re: Torrent and DNS-313

Hello, I'm French and I have a DNS-313
I saw at the site of d-link.com: On the DNS-323 we can install a Bittorrent on the "The D-Link Easy Search Utility" (http://support.dlink.com/faq/view . asp? prod_id = 3025 & item = DNS-323). Is it possible to install the same software on the DNS-313?
I saw on websites Hungarian had managed to install a bittorent with a html interface .....
You know when the new firmware fate with the integrated Bittorrent?

Offline

 

#24 2008-12-29 16:36:21

esbroma
New member
Registered: 2008-12-29
Posts: 1

Re: Torrent and DNS-313

Im like alphazing interested in using torrent in dnd-313 with D-link software

Offline

 

#25 2008-12-30 15:25:40

radir
Member
Registered: 2008-01-03
Posts: 68

Re: Torrent and DNS-313

alphazing wrote:

Hello, I'm French and I have a DNS-313
I saw at the site of d-link.com: On the DNS-323 we can install a Bittorrent on the "The D-Link Easy Search Utility" (http://support.dlink.com/faq/view . asp? prod_id = 3025 & item = DNS-323). Is it possible to install the same software on the DNS-313?
I saw on websites Hungarian had managed to install a bittorent with a html interface .....
You know when the new firmware fate with the integrated Bittorrent?

Hi,

You cannot use a 323 fw on a 313 box (in most cases): they are not 100% compatible. You can use a torrent client for example transmission (www.transmissionbt.com) which has a built-in web interface. But as far as I know there is no official fw supporting bittorrent on 313 as of now.

Last edited by radir (2009-01-07 13:12:50)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB