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 2007-04-30 08:39:50

aagouti
New member
Registered: 2007-04-30
Posts: 3

newbie questions: dns-323 and bittorrent

hi guys,

someone posted in another forum that they had a kurobox that they setup with bittorrent and other p2p programs, that way they didn't have to tie up their computer or leave it on all night. from that post i've been looking into nas products.

with the dns-323, can i run bittorrent and other p2p programs? so i can turn off my computer can cut my electric bill.

i see that alot of the nas devices are based on linux. what should i start reading? any sites, books, etc should i refer to? what programming should i learn? i say this because i just use bitorrent and emule for downloading under windows xp.


so i hope to free up my computer when downloading and also learn how to do some of the cool stuff that forum members are fiddling around with smile

i have zero experience with linux!
any help or suggestions on what to do or goto is greatly appreciated!
thanks in advance!

Last edited by aagouti (2007-05-05 20:31:58)

Offline

 

#2 2007-05-05 20:32:20

aagouti
New member
Registered: 2007-04-30
Posts: 3

Re: newbie questions: dns-323 and bittorrent

anyone have any ideas?

Offline

 

#3 2007-05-06 04:10:43

Raven
Member
Registered: 2007-04-06
Posts: 25

Re: newbie questions: dns-323 and bittorrent

Have you used the "Search"-Function???
There you will find some hints for a bittorrent client....

Offline

 

#4 2007-05-07 21:12:07

coalfield
Member
Registered: 2007-05-07
Posts: 20

Re: newbie questions: dns-323 and bittorrent

I too am looking for a BT client.  I have searched the forums but there i no post which specifically explains how to intall any client.  it seems MLDonkey can be used but how?

I am a linux n00b but managed to put the fun_plug on with a telnet client, then put firefly on and quickly have replaced with Twonky.  All of this is actually simple to do and the info is out there, but as far as a BT client goes its hard to find which is the best and simplest to install on the DNS-323.

Any advice would be greatly appriciated.

Thanks

Offline

 

#5 2007-05-07 21:15:54

Raven
Member
Registered: 2007-04-06
Posts: 25

Re: newbie questions: dns-323 and bittorrent

Hi there,


Mentioned in an other thread is a nice thing, not to hard to install...

other idea would be a ctorrent, which is even more easy to get running (enough FAQs@google)

Offline

 

#6 2007-05-07 21:29:08

coalfield
Member
Registered: 2007-05-07
Posts: 20

Re: newbie questions: dns-323 and bittorrent

lots of bad comments about ctorrent as I dont think it has a web based GUI right?  OpenMSS is a new one to me I will have to have a look into it!  Thanks

Offline

 

#7 2007-05-07 21:32:21

Raven
Member
Registered: 2007-04-06
Posts: 25

Re: newbie questions: dns-323 and bittorrent

OpenMSS is just the platform the WebGui for ctorrent was developed for...
ctorrent has the advantage, that it is small and fast. I used it via terminal before, but the WebGui rocks...

Offline

 

#8 2007-05-07 21:40:52

coalfield
Member
Registered: 2007-05-07
Posts: 20

Re: newbie questions: dns-323 and bittorrent

Ok dont mean to be so dumb, and I am not afraid to look.  But is there a guide somewhere to install ctorrent first?  I have downloaded a file called ctorrent-1.3.4.tar.bz2 and ftp'd to the box.  I tried to uncompress on box using the firefly tutorial:

cd /mnt/HD_a2
lnx_bin/busybox3 tar xvz -f ctorrent-1.3.4.tar.bz2

just gives me

tar: Invalid gzip magic


I presume this is becuase the extension is bz2 (i told u linux n00b).  If so how can I uncompress.  I have windows XP and winrar which opens the file.  As I understand it will not work that way though becuase it will convert to windows format?

P.S thanks for your help so far smile

Offline

 

#9 2007-05-07 21:46:46

Raven
Member
Registered: 2007-04-06
Posts: 25

Re: newbie questions: dns-323 and bittorrent

First thing: you can ALWAYS unpack files on a Windows System and then copy them to the Linux System, no problem with that!

Second: The tutorial needs a chrooted debian (I prefere etch), in this system you have to set up a webserver and a ctorrent-client (easy things, many tutorials available)

Third: tar jxvf file.tar.bz2

Offline

 

#10 2007-05-07 22:01:13

coalfield
Member
Registered: 2007-05-07
Posts: 20

Re: newbie questions: dns-323 and bittorrent

Ok.  Did not know I needed this chroot Debian thing.  No idea what it is but I will follow the tutorial and install (fingers crossed without creating a brick then I may need more help).

Another little Q I have is the more things I have the less memory I will have right.  At the moment Twonky already says:

Server type:    TwonkyMedia
Used memory:    15113 KB
Maximum memory available for the server:    15000
The maximum available memory is exceeded. Not all content can be served!

Is that bad?  Its the only thing apart from telnet I have running (but lots of MP3). Should I diable this before using the ctorrent?

Offline

 

#11 2007-05-07 22:56:39

Raven
Member
Registered: 2007-04-06
Posts: 25

Re: newbie questions: dns-323 and bittorrent

hm, Twonky looks like overkill...  don't know if it will run beside an Debian, but try it...

The Debian System is running?

Then the first step is to set up a lighttpd with PHP (easiest way is via apt-get) and compile the ctorrent source.
Afterwards, you can follow the tutorial...

Offline

 

#12 2007-05-07 23:13:08

coalfield
Member
Registered: 2007-05-07
Posts: 20

Re: newbie questions: dns-323 and bittorrent

oh boy... i think i landed myself way out of my depth :S

I have installed etch (I think)...  I did the following:


1) Downloaded Debian Etch 4.0 - [http://dev.skcserver.de/dns323/etch.tar] (169 Mb)
2) FTP to root of my NAS \\192.x.x.x\Volume_1\
3) extracted using ./lnx_bin/busybox3 tar -xf etch.tar (even though it says:  note: you don’t need to do the following steps using the etch tar from above... wtf?)
4) chrooted ./lnx_bin/busybox3 chroot etch

at this point I get a prompt

sh-3.1#

(good i presume)

5) Now it gets complicated.  I followed the tutorial:

cd /var/cache/bootstrap
dpkg --force-all -i libc6*deb
dpkg --force-all -i dpkg*deb
dpkg --force-all -i libc6*deb

(NON OF THIS SEEMED TO WORK... GOD KNOWS I PRESUME ITS FOR SARGE)

6) dpkg -iGREB .
Shows already installed, skipping on everything

7) updates....
apt-get update
apt-get dist-upgrade

did both of these seem to be done sucessfully (after updating my gateway)

8) changed me password:
passwd root

9) did all the packages:
apt-get install gcc
apt-get install make
apt-get install unzip
apt-get install flex bison
apt-get install g++

10) had a strong drink.... think this is the best part of it done.  But dont really know how to test it is installed and have not added anything to fun_plug yet for fear of may lines of code!!!

should i simple make my fun_plug this:
http://dns323.kood.org/howto:chroot_debian:fun_plug

if so one running how do i know its working... bit confused from here on in!

Offline

 

#13 2007-05-07 23:18:44

coalfield
Member
Registered: 2007-05-07
Posts: 20

Re: newbie questions: dns-323 and bittorrent

that fun_plug is all for sarge.  I am really worried if i make a mistake its bricked box time?  should I have copied anything else over apart from telnet and my installation of etch?  Also is there any fun_plug download for etch not sarge? 

help! ( thanks for your efforts so far)  I hope there will be many others who find this thead useful.

Offline

 

#14 2007-05-07 23:20:13

Raven
Member
Registered: 2007-04-06
Posts: 25

Re: newbie questions: dns-323 and bittorrent

Hi coal,


You could have skiped 5 and 6, they are as you said just for sarge or a not preconfigured etch image...

If you get the promt of etch (sh-3.1#) you have successfully setup up the etch-system.

via "apt-get install" you can now install preconfigured packages from the debian server.


The fun_plug modification is just needed (in my opinion) if you restart your box regular. My box is running since ~ 15 days and when I have to restart the box, I have to start the debian system and it's programs manual (no big deal)...
If you want to use the fun_plug, i suggest to use the one offered in the wiki...

Offline

 

#15 2007-05-07 23:23:58

Raven
Member
Registered: 2007-04-06
Posts: 25

Re: newbie questions: dns-323 and bittorrent

that fun_plug is all for sarge.

this works with etch too (just modify the path)

I am really worried if i make a mistake its bricked box time?

One big plus with the DNS is, that you cant really brick your box if you don't flash anything. All you have done can be undone via delete...

should I have copied anything else over apart from telnet and my installation of etch?  Also is there any fun_plug download for etch not sarge?

look at the beginning wink

help! ( thanks for your efforts so far)

I'm here, have no fear wink

Offline

 

#16 2007-05-07 23:44:53

coalfield
Member
Registered: 2007-05-07
Posts: 20

Re: newbie questions: dns-323 and bittorrent

thanks Raven for all your help.

I have done a search for ctorrent and donw find a single install guide.  Can I extract with winrar can copy to

\\192.x.x.x\Volume_1\etch

if so then I can chroot to the prompt, but what do I do from there....

Also once I close the telnet session what happens?

Sorry I am such n00b

Offline

 

#17 2007-05-08 02:47:31

aagouti
New member
Registered: 2007-04-30
Posts: 3

Re: newbie questions: dns-323 and bittorrent

thanks for the many replies smile

my biggest problem is i don't know where/how to start since i am a complete newbie. i was hoping there was a nice tutorial/faq out there to make my learning easier.

Offline

 

#18 2007-05-08 15:54:37

coalfield
Member
Registered: 2007-05-07
Posts: 20

Re: newbie questions: dns-323 and bittorrent

the best thing to do is the fun_plug tutorial:

http://dns323.kood.org/howto:fun_plug

this gives you the basics, and teaches you how to add a new proggie to the box.

Next try installing firefly (even if you dont need it)

The tutorial is good and it will teach you how to run your first propper proggie and see it in action:

http://dns323.kood.org/howto:firefly

past that it all about a chrooted debian which is where it gets tricky but you MUST do the others first as they will help teach u some basics.

Offline

 

#19 2007-06-02 17:39:13

Raven
Member
Registered: 2007-04-06
Posts: 25

Re: newbie questions: dns-323 and bittorrent

Hi there once again,

after a very busy time, I now found an hour to recheck the problems with the torrent-webgui. On my way through the net, I found another nice solution which is slightly smaller as the openmss thing:
W3Btorrent

Little FAQ for the DNS323:

    *  Download w3btorrent.tar.gz
    * Put w3btorrent.tar.gz in your web folder, htdocs if you wish.
    * tar -zxf w3btorrent.tar.gz
    * chmod +x w3btorrent/system/wctorrent w3btorrent/system/wctorrent_glib2.4 w3btorrent/system/bt2status.py
    * chmod 666 w3btorrent/system/.htconfig.xml w3btorrent/system/.htlog
    * chmod 777 w3btorrent/downloads
    * apt-get install automake1.9
    * cd to /w3btorrent/system/ctorrent-dnh2.2-w3btorrent
    * ./configure
    * make
    * cd ..
    * ln -s /ctorrent-dnh2.2-w3btorrent/ctorrent ctorrent
    * Visit your http://webserver/w3btorrent
    * Name: Admin, Passwd: 1234
    * Configure your Wctorrent path: system/ctorrent
    * enjoy the whole thing...


greetings

Last edited by Raven (2007-06-02 17:44:33)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB