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

#26 2008-08-14 22:34:20

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: fun_plug on ZyXEL NSA-220.

The files included in the DNS-323 firmware are incomplete? Well, the files on the NSA-220 do not even exist. How about that?

I have added the iana files to my package, and did some /etc magic.


Attachments:
Attachment Icon ffp_for_NSA-220.2.zip, Size: 62,766 bytes, Downloads: 860

Offline

 

#27 2008-09-25 12:14:31

Dreamer_uk
New member
Registered: 2008-09-25
Posts: 1

Re: fun_plug on ZyXEL NSA-220.

Hi,
Is there any reason why a straight compile to the firmware with the mount usb script adjusted couldn't boot fun_plug from the hdd?
even better a patch to the exsisting firmware that might work on new firmwares as the come out.
Leaving a usb stick in isn't a major issue but just thought it would be neater.


Regards

Offline

 

#28 2008-09-25 22:54:45

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: fun_plug on ZyXEL NSA-220.

Of course you can do anything when you can change the firmware. But given the firmware which is provided with the NAS, the only way I found to execute my own script is using the usbstick/usb_key_func.sh hack. It is possible to let it execute code on harddisk (more on this), but you still need the usb stick.
Maybe this is an option, but I'm not willing to try.

The usbstick trick has a major advantage; it doesn't touch the existing system. If you just remove the stick and reboot, you've got a virginal box.

Offline

 

#29 2008-10-21 17:57:34

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: fun_plug on ZyXEL NSA-220.

The new firmware (2.30) broke my scripts. So I changed the scriptset to deal with that.
Link.

Last edited by Mijzelf (2008-10-21 21:36:04)

Offline

 

#30 2008-10-22 00:11:23

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

Re: fun_plug on ZyXEL NSA-220.

Mijzelf wrote:

The new firmware (2.30) broke my scripts. So I changed the scriptset to deal with that.
Link.

Down to 3 steps. Good job!
PS: I've updated the wiki http://dns323.kood.org/howto:ffp#installation Are the firmware versions correct?

Offline

 

#31 2008-10-22 14:11:23

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: fun_plug on ZyXEL NSA-220.

I know 'old' script can run on 2.10 and 2.20, maybe also on 2.00 and older, but I have no feedback about that.
The new script can do all, (2.10-2.30) by renaming a file.

Do you ever sleep?

Last edited by Mijzelf (2008-10-22 14:12:02)

Offline

 

#32 2010-02-16 12:02:40

Dannyx
Member
Registered: 2010-02-16
Posts: 7

Re: fun_plug on ZyXEL NSA-220.

Hi everyone,

I own for serveral months a nsa220 and using the fonz fun plug,
I'm very inpressed i love it! Fonz,mijzelf (and others) thank you!

Now i want to download with sabnzb or nzbget ,I followed serveral tutorials on the web for the dlink and conceptronic che3nas.
By changing pads I can caninstall  get nzb but when i start getnzb I get an error:
nzbget: /usr/lib/libpthread.so.0: version `GLIBC_2.4' not found (required by nzbget)

how can I do an upgrade to the 2.4 lib?

or anyone can tel me how to get an nzb downloader to work on my nsa220?


Thanks,
Danny

Offline

 

#33 2010-02-16 13:50:36

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: fun_plug on ZyXEL NSA-220.

The nzbget you are trying is using firmware libs. That's fine as long they are available. In this case they are not.

Fonz' packages are *not* dependent on any firmware lib. So you should find a pure ffp nzb downloader, or compile it yourself. That´s not difficult. Install gcc, make, binutils and maybe automake, autoconf and pkg-config from Fonz' repository.
Then download the nzbget sources. Unpack them, enter the unpacked directory, and type

Code:

./configure --prefix=/ffp
make
su
make install

Offline

 

#34 2010-02-16 20:14:53

Dannyx
Member
Registered: 2010-02-16
Posts: 7

Re: fun_plug on ZyXEL NSA-220.

Thanks,

Ok i'm trying to compile but when i do .configure --prefix=/ffp then it do's something but can't do the next step.
i checked the log file and fin some weird things like Configured with /mnt/HD_a2/home/bob/funplug/work/gcc-4.1/gcc-4.1- and so on

but i dont have a HD_a2 but I-data/md0 is my harddisk

what can i do now?

Offline

 

#35 2010-02-16 20:55:13

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: fun_plug on ZyXEL NSA-220.

I think it's some internal data from the compiler itself. I can be the directory where the compiler sources were.

Maybe something is wrong with the dependencies. Can you do a

Code:

./configure --prefix=/ffp >logfile.txt 2>&1

and attach the generated logfile.txt here?

Offline

 

#36 2010-02-17 13:00:39

Dannyx
Member
Registered: 2010-02-16
Posts: 7

Re: fun_plug on ZyXEL NSA-220.

the log file:

Code:

checking for a BSD-compatible install... /ffp/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... armv5tejl-unknown-linux-gnu
checking host system type... armv5tejl-unknown-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for tar... /ffp/bin/tar
checking for make... /ffp/bin/make
checking for a BSD-compatible install... /ffp/bin/install -c
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Last edited by Dannyx (2010-02-17 13:02:33)

Offline

 

#37 2010-02-17 13:06:46

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

Re: fun_plug on ZyXEL NSA-220.

Dannyx wrote:

Code:

configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

So, what did you find in config.log?

I bet you don't have /lib/cpp.
Can be as simple as: ln -s /ffp/bin/cpp /lib/cpp
Alternatively, set the envionrment variable CPP=/ffp/bin/cpp

Offline

 

#38 2010-02-17 13:31:31

Dannyx
Member
Registered: 2010-02-16
Posts: 7

Re: fun_plug on ZyXEL NSA-220.

When I do : ln -s /ffp/bin/cpp /lib/cpp the it say: read only file system

But i can do the other command and it does nothing (no error)

After that I did the ./configure command again but still the error exitst.

Offline

 

#39 2010-02-17 14:26:22

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

Re: fun_plug on ZyXEL NSA-220.

You're doing this the first time, right? You won't be able to solve any problem yourself unless you start learning Linux basics.
Doing

Code:

CPP=/ffp/bin/cpp
./configure ...

is useless. The CPP variable won't be available in configure. You have two options:

Code:

CPP=/ffp/bin/cpp ./configure ...

and

Code:

export CPP=/ffp/bin/cpp
./configure ...

Offline

 

#40 2011-04-08 00:08:45

Dannyx
Member
Registered: 2010-02-16
Posts: 7

Re: fun_plug on ZyXEL NSA-220.

Hello,

I would thank everyone for the help.
After hours of trying I managed to install NZBget on my Zyxel NSA220.

I compiled the source code after installen a lot om libaries and compilers and plugins needed by the compiler.
Thank you!!!! Thank you!!!!!

thankyou for funplug smile

my NSA is working fine with the automated par and unrar scripts.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB