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

#51 2011-01-07 22:53:21

DeLaCroix
Member
Registered: 2007-08-18
Posts: 91
Website

Re: DNS-320 and fun_plug

@garath: It's contained in the build-script (http://ffp.wolf-u.li/buildscripts/working/source/) for lighttpd-1.4.28. You will also need the lighttpd.conf-dns320

@djbase: That was a typo, thanks!
Dunno what is started wrong there, did you really do everything as shown in the tutorial?
Regarding sabnzbd i cannot answer your question, but probably yes.

Offline

 

#52 2011-01-08 00:08:22

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

I followed the tut for lighttpd (and did your package update), but I already had an older version of lighttp installed which the upgrade deleted and I have used the lighttpd.conf-dns320 (renamed it to /ffp/etc/lighttpd.conf

Here is my undetailed ffp log :

**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Fri Jan  7 19:16:07 CET 2011
ln -snf /mnt/HD/HD_a2/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/rc ...
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh inactive
* /ffp/start/transmission.sh ...
Starting transmission-daemon
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh inactive
* /ffp/start/startnzbget.sh ...
Starting /mnt/HD/HD_a2/newsbin/bin/nzbget -D -c /mnt/HD/HD_a2/newsbin/conf/nzbget.conf
* /ffp/start/sshd.sh ...
Starting /ffp/sbin/sshd
* /ffp/start/rsyncd.sh inactive
* /ffp/start/mysqld.sh inactive
* /ffp/start/mediatomb.sh inactive
* /ffp/start/kickwebs.sh ...
Kicking webs ...
killall: webs: no process killed
* /ffp/start/kickwebs_dns320.sh ...
Kicking webserver lighttpd ...
Stopping lighttpd-angel
* /ffp/start/lighttpd.sh ...
Starting lighttpd-angel
* /ffp/start/inetd.sh inactive
*  OK

So for sabnzbd there is no way to get this to work without debian ? (should apart from the usual "/mnt/HD/HD_a2/" vs "/mnt/HD_a2/" difference, the debian built for the dns323 be compatible with the dns-320 kernel ?

tnx !

Last edited by djbase (2011-01-08 00:09:14)

Offline

 

#53 2011-01-08 14:04:39

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

Pfff confirmed debnas 0.5, doesn't work :'( even with the 2 editied fun_plug files :'(

Offline

 

#54 2011-01-08 15:58:37

Elpibe
New member
Registered: 2011-01-08
Posts: 1

Re: DNS-320 and fun_plug

I'm thinking buying the dns 320 to my home network, its possible to run a usenet client on this NAS, like nzbget or sabnzbd?

I read on dlink page that this one have a 40mm fan, this fan makes too much noise or its quiet enough?

Offline

 

#55 2011-01-08 19:04:50

DeLaCroix
Member
Registered: 2007-08-18
Posts: 91
Website

Re: DNS-320 and fun_plug

@djbase: did you configure php as described? did you install mysql as described?

Offline

 

#56 2011-01-08 23:05:08

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

@DeLaCroix : Yes I have, but I already had older versions of everything installed, I upgraded all your packages... and used the 320 conf for lighttpd and you php.ini

:'( no luck yet, is there a log somewhere ? Because lighttpd actually doesn't start !, it says starting but it really doesn't start, and because of that the dlink webpage loads instead after a few minutes...

I find the dns-320 not noisy, rather quiet !

Offline

 

#57 2011-01-09 00:02:38

cocomo
New member
Registered: 2011-01-08
Posts: 4

Re: DNS-320 and fun_plug

Hi guys,

I got the 320 the other day. Got FFP installed all good with the instructions on NAS Tweeks and it plays fine with Windows. However in OS X 10.6 I'm having really troubles. Can't seem to get it working at all. Sometimes you can view the folders but not the contents and other times you can't access the drive at all.

And recommendations on what I could do to resolve this? Cheers

Offline

 

#58 2011-01-09 00:51:31

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

My updated log with mysql configed :

**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Sat Jan  8 23:42:31 CET 2011
ln -snf /mnt/HD/HD_a2/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/rc ...
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh inactive
* /ffp/start/transmission.sh ...
Starting transmission-daemon
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh inactive
* /ffp/start/sshd.sh ...
Starting /ffp/sbin/sshd
* /ffp/start/rsyncd.sh inactive
* /ffp/start/mysqld.sh ...
* /ffp/start/mediatomb.sh inactive
* /ffp/start/kickwebs_dns320.sh ...
Kicking webserver lighttpd ...
Stopping lighttpd-angel
* /ffp/start/lighttpd.sh ...
Starting lighttpd-angel
* /ffp/start/inetd.sh inactive
*  OK
110108 22:42:32 mysqld_safe Logging to '/srv/mysql/DNS-320.err'.
110108 22:42:32 mysqld_safe Starting mysqld daemon with databases from /srv/mysql

************

Still no lighttpd :'( , CHECK and RELOAD says everything is ok, when I delete the ffp/etc/lighttpd.conf it gives and error, so it is using the correct one :'(

Offline

 

#59 2011-01-09 01:34:05

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

Update : there is an error in the lighttpd.conf-dns320

When i use the lighttpd.conf-with-php, then it works on a port different from 80

If it works I've got this :
root@DNS-320:~# ps aux | grep light
4309 root     /ffp/sbin/lighttpd-angel -D -f /ffp/etc/lighttpd.conf
4310 root     /ffp/sbin/lighttpd -D -f /ffp/etc/lighttpd.conf
4313 root     grep light

if it didn't work : it loaded the standard one :
root@DNS-320:~# ps aux | grep light
4196 root     /usr/sbin/lighttpd-angel -D -m /usr/local/lib -f /etc/lighttpd/lighttpd.conf
4197 root     /usr/sbin/lighttpd -D -m /usr/local/lib -f /etc/lighttpd/lighttpd.conf
4232 root     grep light

Offline

 

#60 2011-01-09 19:37:06

DeLaCroix
Member
Registered: 2007-08-18
Posts: 91
Website

Re: DNS-320 and fun_plug

Hello djbase,
there is no error, probably a directory is missing. I've just recreated the hole environment, it definitely works when following the complete tutorial.

Did you run:

Code:

mkdir -p /srv/www/pages
mkdir -p /srv/www/logs
mkdir -p /srv/tmp/

Unfortunately lighttpd is not very chatty... hmm

Offline

 

#61 2011-01-09 20:19:40

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

Jup I made those directory's, and I can us them with the use "lighttpd.conf-with-php" file.

Pitty :'( pfff

I'l have to dig deeper I'm afraid

Tnx for the help !

Btw : has someone tried optware on the dns-320 through funplug ?

Offline

 

#62 2011-01-10 13:57:41

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

Ok, found the problem, but I can't fix it :

If I disable the following : lighttpd-dns320.conf loads !!!

$SERVER["socket"] == ":443" {
    ssl.engine = "enable"
    ssl.pemfile = "/etc/server.pem"
    cgi.assign = (
        ".cgi" => "",
    )
    index-file.names = ( "web/login.html","index.php" )
    server.document-root = "/var/www/"
    alias.url       += ( "/cgi-bin/" => "/var/www/cgi-bin/" )
    alias.url       += ( "/xml/" => "/var/www/xml/" )
    alias.url       += ( "/filesharing/" => "/tmp/filesharing/" )
}

But the original dlink conf doesn't work anymore on the other port, I can log in, but breaks afterwards
:'(

Do you have an idea what went wrong ?

tnx

Last edited by djbase (2011-01-10 13:58:18)

Offline

 

#63 2011-01-10 15:04:20

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

I narrowed it down to these two lines:


    ssl.engine = "enable"
    ssl.pemfile = "/etc/server.pem"

I have to disable them both to allow lighttpd to accept the config file... I'm still running original firmware version 1.00 on my DNS-320 as there is no other then  I know off.

I simple can't enable SSL :'(

But my dns homepage works on port 81 wink

Last edited by djbase (2011-01-10 15:13:30)

Offline

 

#64 2011-01-10 20:04:34

midsnipe
Member
Registered: 2010-12-22
Posts: 9

Re: DNS-320 and fun_plug

Hello
I have exactly the same problem as you. I'm noob with debian but I'll try again and will share the results.
Ok this post does not help the problem but sad but I am wholeheartedly with you wink

Offline

 

#65 2011-01-10 20:09:04

DeLaCroix
Member
Registered: 2007-08-18
Posts: 91
Website

Re: DNS-320 and fun_plug

Hi djbase,

did you install openssl? I think that fixes it smile

Regards,
Uli

Offline

 

#66 2011-01-10 21:02:06

midsnipe
Member
Registered: 2010-12-22
Posts: 9

Re: DNS-320 and fun_plug

I just did everything you just said but I still have the dlink page that appears on the 80 and nothing on the 81 but when I run kickwebs_dns320.sh I have nothing at all
and I also installed openssl

Offline

 

#67 2011-01-11 11:49:38

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

@DeLaCroix : cool I installed openssl and it works ! Sorry for the bother!

@midsnipe : kickwebs_dns320.sh needs to be run before lighttpd and like DeLaCroix said, you need to follow the tutorial and like me install openSSL from fonz package !

They also need to be executable : "chmod a+x /ffp/start/kickwebs_dns320.sh" , this also needs to be done like in the tut for the lighttpd

Offline

 

#68 2011-01-11 13:52:31

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

Woehoe ! optware with image cs05q3armel instead of dns323 works on the dns-320 !

Debian for dns323 definitly doesn't work on the dns-320

But then I don't know what to do, to get sabnzbd working on optware:(

Last edited by djbase (2011-01-11 16:59:34)

Offline

 

#69 2011-01-11 16:55:32

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

Optware rulez !

I ran : ipkg install sabnzbdplus

and it installed it ! with errors in the end, I started it once and closed it so it generated the SABnzbd.ini, configurated it, so it didn't cache on the ram disk.

And to my amazement, it worked !! hoera wink

Loading nzb's in zip, extracting, repairing, deleting....

But it does say this :


/opt/lib/python2.5/site-packages/Cheetah/Compiler.py:1509: UserWarning:
You don't have the C version of NameMapper installed! I'm disabling Cheetah's useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper.
  "\nYou don't have the C version of NameMapper installed! "

Last edited by djbase (2011-01-11 17:39:56)

Offline

 

#70 2011-01-12 00:31:41

midsnipe
Member
Registered: 2010-12-22
Posts: 9

Re: DNS-320 and fun_plug

hi all!

I just reinstall everything to leave on good foundations
I followed the tut word by word,
I installed openssl to the end
I still have the same problem, dlink page on port 80 and nothing on the 81 : (
I start kickwebs_dns320.sh before lighttpd.sh
I do not know if it can put you on a track but here is my log ffp

**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Tue Jan 11 23:19:01 CET 2011
ln -snf /mnt/HD/HD_a2/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/rc ...
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh inactive
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh inactive
* /ffp/start/sshd.sh ...
Starting /ffp/sbin/sshd
* /ffp/start/rsyncd.sh inactive
* /ffp/start/mediatomb.sh inactive
* /ffp/start/kickwebs.sh ...
Kicking webs ...
killall: webs: no process killed
* /ffp/start/kickwebs_dns320.sh ...
Kicking webserver lighttpd ...
Stopping lighttpd-angel
* /ffp/start/lighttpd.sh ...
Starting lighttpd-angel
* /ffp/start/inetd.sh inactive
*  OK

Merci a vous ! big_smile

Offline

 

#71 2011-01-12 01:13:09

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

@mindswipe : test this : ps aux | grep light

If it works you've got this :
4309 root     /ffp/sbin/lighttpd-angel -D -f /ffp/etc/lighttpd.conf
4310 root     /ffp/sbin/lighttpd -D -f /ffp/etc/lighttpd.conf
4313 root     grep light

if it doesn't work : it loaded the standard one :
4196 root     /usr/sbin/lighttpd-angel -D -m /usr/local/lib -f /etc/lighttpd/lighttpd.conf
4197 root     /usr/sbin/lighttpd -D -m /usr/local/lib -f /etc/lighttpd/lighttpd.conf
4232 root     grep light


Then there is a problem in the lighttpd.conf file...

Last edited by djbase (2011-01-12 01:13:46)

Offline

 

#72 2011-01-12 01:13:24

DeLaCroix
Member
Registered: 2007-08-18
Posts: 91
Website

Re: DNS-320 and fun_plug

Please drop the output of "ps -ef|grep light" here? By the way, you can deactivate kickwebs.sh (chmod a-x /ffp/start/kickwebs.sh) although it won't interfere with the "new" lighttpd if left activated

Offline

 

#73 2011-01-12 12:36:25

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

@delacroix : did you try your guide to boot ffp from usb on the dns-320 so the harddisks can go in standby ?

http://wolf-u.li/1318/fun_plug-05-auf-d … xistingffp

Offline

 

#74 2011-01-12 18:25:14

midsnipe
Member
Registered: 2010-12-22
Posts: 9

Re: DNS-320 and fun_plug

hi

always the same probleme sad

I don't have a good result with "ps -ef|grep light"
look:
3842 root / usr / sbin / lighttpd-angel-D-m / usr / local / lib-f / etc / lighttpd / li ghttpd.conf
3843 root / usr / sbin / lighttpd-D-m / usr / local / lib-f / etc / lighttpd / lighttpd. conf
8543 root grep light

i desactivate kickweb.sh
**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Wed Jan 12 17:09:19 CET 2011
ln -snf /mnt/HD/HD_a2/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/rc ...
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh inactive
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh inactive
* /ffp/start/sshd.sh ...
Starting /ffp/sbin/sshd
* /ffp/start/rsyncd.sh inactive
* /ffp/start/mediatomb.sh inactive
* /ffp/start/kickwebs.sh inactive
* /ffp/start/kickwebs_dns320.sh ...
Kicking webserver lighttpd ...
Stopping lighttpd-angel
* /ffp/start/lighttpd.sh ...
Starting lighttpd-angel
* /ffp/start/inetd.sh inactive
*  OK

what can i do please ?

Offline

 

#75 2011-01-12 18:49:57

djbase
Member
Registered: 2011-01-05
Posts: 30

Re: DNS-320 and fun_plug

@mindswipe there is a problem in the lighttpd.conf u are using

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB