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-04-11 01:00:32

Bronek
Member
Registered: 2008-03-20
Posts: 7

HOWTO: DNS-313 & fun_plug for dummies (by one of them)

There had already been some posts on this forum regarding fun_plug and DNS-313 but the methods mentioned so far usually required doing some work.....

Don't worry, for those of us who don't want to fiddle with toolchains, crosscompiling ("cross what???") etc. there is still some hope.

At following location:
     http://www.inreto.de/dns323/fun-plug/0.5/
you will find excellent fun_plug package by fonz.

Here is a simple way to use it (recipe extracted from fonz page):

1. Download fun_plug.tgz and put it in Volume_1 of your DNS-313
2. Download fun_plug and put it in the same place.
3. Edit fun_plug with your favorite text editor - replace line
     FFP_PATH=/mnt/HD_a2/ffp
  with
     FFP_PATH=/mnt/HD_a4/ffp
4. Reboot

Thats it!

When the device is restarted base fun_plug package is installed and you can telnet to it without having to enter the unlock code (in fact, you even don't have to enter root's password which is pretty scary - you'd better get some ssh server fast).

What to do next?

Since you decided to install fun_plug you probably have some ideas regarding what you want to use it for.
You shall perhaps check if the programs you need are available in the packages directory on fonz page (http://www.inreto.de/dns323/fun-plug/0.5/packages/).
If they do, you can install them in following steps (short example for "grep" - replace the package name with the one you want)

1. telnet to the device
2. cd /mnt/HD_a4
3. mkdir packages
4. cd packages
5. rsync -av inreto.de::dns323/fun-plug/0.5-experimental/packages/grep-2.5.3-1.tgz .
6. funpkg -i *.tgz


To check what programs are started on your box automatically execute command:
   ls -al /ffp/start
Programs that have 'x' in their attributes are invoked when DNS-313 starts, the others don't.
You can turn them on of off simply by modifying attributes:
   chmod a+x <stuff_i_want.sh>
   chmod a-x <stuff_i_dont_want.sh>

Have fun!
Bronek

Last edited by Bronek (2008-04-11 15:15:48)

Offline

 

#2 2008-04-11 11:01:01

steffen
Member
Registered: 2008-03-09
Posts: 42

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

Great guide! thanks! smile

Offline

 

#3 2008-04-11 11:48:06

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

Good work. How big is HD_a4 usually?

In this step, I think you mean fun_plug, not fun_pkg:

Bronek wrote:

3. Edit fun_pkg with your favorite text editor - replace line

Also, I suppose the text editor must support/use unix line breaks.

steffen, can you confirm that it works?

Offline

 

#4 2008-04-11 11:57:13

mic_man
Member
Registered: 2008-04-07
Posts: 12

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

Thanks a lot!!

I haven't dared trying to experiment with that since I completly failed last time... but I shall give it a try now! (probably with the same result as last time...)

If I succed to mess it up again I'll promise to start a "Don't do this"-thread wink

Thanks again!

Offline

 

#5 2008-04-11 12:23:50

steffen
Member
Registered: 2008-03-09
Posts: 42

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

Also, I suppose the text editor must support/use unix line breaks.

steffen, can you confirm that it works?

this worked great for me, I used pico or vi to edit the file smile (on the box)

my only problem now is that libcrypto is missing for openssh, and i dont really know where to get smile

Offline

 

#6 2008-04-11 12:27:55

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

http://dns323.kood.org/forum/p13022-200 … tml#p13022

> libcrypto.so is part of the openssl package.

Offline

 

#7 2008-04-11 14:41:02

steffen
Member
Registered: 2008-03-09
Posts: 42

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

thank you smile

Offline

 

#8 2008-04-11 20:03:18

kimme183
New member
Registered: 2008-04-01
Posts: 3

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

/mnt/HD_a4/ffp/start # sh dropbear.sh start
Will output 1024 bit rsa secret key to '/ffp/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Illegal instruction
Will output 1024 bit dss secret key to '/ffp/etc/dropbear/dropbear_dsa_host_key'
Generating key, this may take a while...
Illegal instruction

when i try install dropbear for SSH
error??

Last edited by kimme183 (2008-04-11 20:10:36)

Offline

 

#9 2008-04-11 20:05:31

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

you can't mix 0.3/0.4 packages with 0.5

Offline

 

#10 2008-04-13 22:32:10

redema
New member
Registered: 2008-04-09
Posts: 2

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

fonz wrote:

How big is HD_a4 usually?

Hi, on my box the HD_a4 is 200.812 KB. So, there is not enough space for all packages from fun-plug...

Offline

 

#11 2008-04-14 17:17:24

kimme183
New member
Registered: 2008-04-01
Posts: 3

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

/mnt/HD_a4/ffp/start # sh dropbear.sh start
Will output 1024 bit rsa secret key to '/ffp/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Illegal instruction
Will output 1024 bit dss secret key to '/ffp/etc/dropbear/dropbear_dsa_host_key'
Generating key, this may take a while...
Illegal instruction

when i try install dropbear for SSH
error??

Offline

 

#12 2008-04-15 15:09:53

mako
New member
Registered: 2008-04-09
Posts: 4

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

Hi and thanks for the good guide Bronek.

Could you also add a dummy how to install MediaTomb together with FunPlug wink I have tried but without success. My goal is to have it running to serve my PS3, tried with Twonky but I experinced some lag when watching movies and listened to MP3s.

The thing I did where download the the Media tomb package unpacked it and executed the command chmod a+x mediatomb.ch. But I couldn't access the Web Gui afterwards and since I'm totally lost with linux I nedd some guidance how to check the installation and if I miss something.

Offline

 

#13 2008-04-16 18:43:00

csharp
Member
Registered: 2008-02-18
Posts: 5

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

Worked for me too, thanks Bronek for the guide (and Fonz for the whole thing).
And there's Perl too so i get to run ctcs now.

Offline

 

#14 2008-04-16 19:51:56

mic_man
Member
Registered: 2008-04-07
Posts: 12

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

It worked for me too! Really nice! smile

The only thing I miss right now is MySQL-support for the PHP... and a "transmission bittorrent w clutch for dummies"...

and some instruction on how to secure the SSH... right now all my FTP-accounts can reach my disk throug SSH and "mess" things up if they want to...

also, I found out that I (or anyone) can reach some of my files throug the webUI by typing "http://myipadress/mnt/HD_a2/somefolder/sometextfile"

kind of... not good... I want to password protect everything and only allow users to access their home-folders and the "www/pages"-folder.

I tried to experimenting some with groups, users & permissions... but didn't really get anything out of it.

Offline

 

#15 2008-04-17 08:29:33

Mox
Member
Registered: 2008-04-17
Posts: 7

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

Thanks for the instructions, I finally got media streaming to work by using Mediatomb.

I would like to get js-support to Mediatomb, could someone compile it. I tried editing the import.js, but to get to changes working, js-support is required. Or could I get it working simply by the lib and using parameters. I'm really not an expert, so any help would be great.

Offline

 

#16 2008-04-17 09:18:50

mako
New member
Registered: 2008-04-09
Posts: 4

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

Mox: Could you make small guide how you got Mediatomb working with funplug? I'm lost...

Offline

 

#17 2008-04-17 09:53:35

Mox
Member
Registered: 2008-04-17
Posts: 7

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

mako wrote:

Mox: Could you make small guide how you got Mediatomb working with funplug? I'm lost...

I simply followed the instructions in the first message. Mediatomb is included in the funplug package, so no additional installation is required. After installing funplug, simply connect to the 313 with telnet and go to the folder /ffp/start and execute command "sh mediatomb.sh start". I also changed the mediatomb.sh attributes with "chmod a+x mediatomb.sh", and now it starts automatically after reboot. Mediatombs user interface is running in the address http://[313 ip]:49152, from there you can manage your media library.

Offline

 

#18 2008-04-17 18:21:49

mic_man
Member
Registered: 2008-04-07
Posts: 12

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

redema wrote:

fonz wrote:

How big is HD_a4 usually?

Hi, on my box the HD_a4 is 200.812 KB. So, there is not enough space for all packages from fun-plug...

Had the same problem... so was looking around for a solution and found one:

I managed to increase the size of HD_a4 with Partition Manager 9.0 (it's about 4 GB now)

I'm gonna try to install some stuff now smile

Offline

 

#19 2008-04-17 23:34:01

mako
New member
Registered: 2008-04-09
Posts: 4

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

Mox: Thanks, I just saw that I missed the Mediatomb executable... So after downloading the pkg all work as it should.

Thanks for your replie! smile

Offline

 

#20 2008-05-22 15:17:14

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

I have a problem with a nas,I had installed fun plug, and i can get a telnet conection, but i cant follow any guide because i canīt untar any archive becouse the nas havenīt the untar software and y canīt rsync.
the version of unplug is 05 and the firmware is 1.00

any sugestion???


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#21 2008-05-22 16:17:52

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

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

scapitan wrote:

I have a problem with a nas,I had installed fun plug, and i can get a telnet conection, but i cant follow any guide because i canīt untar any archive becouse the nas havenīt the untar software and y canīt rsync.
the version of unplug is 05 and the firmware is 1.00

any sugestion???

Have you tried tar -xvf or busybox tar -xvf, or tar -zxvf if it is gzipped tar?

Offline

 

#22 2008-05-22 22:45:45

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

yes, i have tried it but without result.
Please help me, i can do nothing with the funplug.
rsync doesnīt work and I canīt install ipkg.
I donīt have the /ffp

There is any metod to reflash the nas to a original firmware????, because i canīt upload to the firmware 1.01 by the web interface.

I donīt know whats happen
itīs make me krazy...

Last edited by scapitan (2008-05-22 22:50:47)


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#23 2008-05-22 23:21:39

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

seems, the fun_plug has enough brain to decide, whether who is permitted to use it...


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#24 2008-05-23 02:21:16

scapitan
Member
From: Murcia (Spain)
Registered: 2008-05-22
Posts: 49
Website

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

CharminBaer wrote:

seems, the fun_plug has enough brain to decide, whether who is permitted to use it...

if you're too ready to answer that question, please remain silent. I certainly find someone who wants the answer.
thanks


DNS-313 / native running etch4.0r3 Thanks to CharminBaer
ZEN SOLUCIONES
http://www.zensoluciones.com  (Spanish)
http://www.zsred.com (Spanish)

Offline

 

#25 2008-05-23 10:01:47

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: HOWTO: DNS-313 & fun_plug for dummies (by one of them)

scapitan wrote:

There is any metod to reflash the nas to a original firmware????, because i canīt upload to the firmware 1.01 by the web interface.

I donīt know whats happen
itīs make me krazy...

Why didnīt read in this forum?

e.g. here:
http://dns323.kood.org/forum/t2205-Firm … th%22.html

or there:
http://dns323.kood.org/forum/t2094-imag … -boot.html


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB