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

#126 2007-11-05 12:21:23

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

Re: Updated fun_plug

Ethereal_Dragon wrote:

When upgrading to the new funplug, do I just leave all of the old stuff where it is, or should i delete all of the old files, and just replace them with the new stuff?

Please see the Upgrade section of the README file.

Offline

 

#127 2007-11-06 01:09:05

gartylad
Member
Registered: 2007-01-15
Posts: 30

Re: Updated fun_plug

Has any got the 'mail' function working in PHP. I'm using Fonz's latest and all else seems to be running fine.

All scripts that use the mail function give the same error - "Fatal error: Call to undefined function mail() in ....."

I'm just trying to get a safe contact/reply form on my website using "phMailer", I have tried a good few other mail scripts and all error the same.

I a PHP noobie, so can someone else check.

Offline

 

#128 2007-11-06 01:26:23

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

Re: Updated fun_plug

gartylad wrote:

All scripts that use the mail function give the same error - "Fatal error: Call to undefined function mail() in ....."

I also dont know much about php, but the manuals says (http://de2.php.net/manual/en/ref.mail.php):

Code:

For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time.

and my build log has:

Code:

checking for sendmail... no

I think that explains it.

And there is no sendmail on the dns323, so I assume it won't work unless you manage to install sendmail, qmail, postfix, nullmailer or whatever, first.

Offline

 

#129 2007-11-06 20:56:49

gartylad
Member
Registered: 2007-01-15
Posts: 30

Re: Updated fun_plug

Maybe not as easy as I was hoping.

Cheers far the quick reply Fonz.

From the PHP manual like it states:
"For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time."
and
"There is no installation needed to use these functions; they are part of the PHP core."

Noob question:
Is the "compile time" when Fonz creates the 'php-5.2.4.tgz' file, or when I install it onto my DNS ??

I will look into sendmail, qmail, postfix and nullmailer to see what I can find out.

Offline

 

#130 2007-11-06 21:53:01

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

Re: Updated fun_plug

gartylad wrote:

Is the "compile time" when Fonz creates the 'php-5.2.4.tgz' file, or when I install it onto my DNS ??

It's when I create the package.

Offline

 

#131 2007-11-12 22:14:29

Ethereal_Dragon
Member
From: USA
Registered: 2007-02-05
Posts: 55

Re: Updated fun_plug

fonz wrote:

Ethereal_Dragon wrote:

When upgrading to the new funplug, do I just leave all of the old stuff where it is, or should i delete all of the old files, and just replace them with the new stuff?

Please see the Upgrade section of the README file.

Ugh, I need to kick myself in the nuts now.... I should have known better, and have no idea what possessed me to even ask a dumbass question like that....

In other news, I got it installed, and all is well. Thanks again Fonz!!!


Gaming Rig: ASUS Z87-PRO (V EDITION), Intel Core i5-4590 Haswell, HyperX FURY 8GB DDR3 1866,
XFX Radeon HD 4870, SILVERSTONE DA700, Samsung 840 500Gig SSD MZ-7TD500BW, 3x WD20EARS 2 TB Green,
ASUS DRW-2014L1T (DVD), LG WH14NS40 (Blu Ray), Dell 2709W, Sony SDM-HS95P, Windows 10 Pro
The NAS Box: D-Link DNS-323, 0.1RC3 Alt-F firmware, 2x 7200.14 ST3000DM001 3TB EXT4 - NO RAID - 6 TB

Offline

 

#132 2007-11-15 19:00:19

WildSioux
Member
Registered: 2007-03-05
Posts: 71

Re: Updated fun_plug

EDIT:  I deleted my post because shortly after, I tried a different sh lighttpd from the root directory and it worked.  Before I had changed directory to the actual /../start/ folder and apparently that wasn't working.

Offline

 

#133 2007-11-16 07:12:21

WildSioux
Member
Registered: 2007-03-05
Posts: 71

Re: Updated fun_plug

fonz wrote:

I've compiled php with gd weeks ago: http://www.inreto.de/dns323/fun-plug/0. … -5.2.3.tgz

fonz, is the php-5.2.4.tgz on your website compiled with gd?  I have updated to this version and the program I am running (PhpGedView) says GD graphic library is not installed.  It also says Freetype Library, and zlib is not installed.  All of these are optional.  But I am unable to upload pictures to this and get a server timeout error.

Surprisingly, when I had php-with_gd-5.2.3.tgz running, it wouldn't even let me install this PhpGedView program.  But with the ...5.2.4.tgz file it works great other than the photo issue.  This of course is with SQLite, another thing I was unable to get running.

Thanks

Offline

 

#134 2007-11-20 23:51:26

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

Re: Updated fun_plug

WildSioux wrote:

fonz, is the php-5.2.4.tgz on your website compiled with gd?

No, there's only the 5.2.3 with gd.

Offline

 

#135 2007-12-04 23:37:02

pwvandeursen
Member
Registered: 2007-07-04
Posts: 112

Re: Updated fun_plug

I have PHP working right now but wanted to try to get vcddb working http://vcddb.konni.com/

Is this possible at all. I get the same issues as, because I cannot get GD working. I have the 5.2.3 installed with GD, but no succes.

I also saw the remark you placed:

fonz wrote:

php with gd probably depends on the libpng and libjpeg packages. Do you have installed those?

An alternative calendar might be phpicalendar (http://phpicalendar.net/) It seems to work (tried it myself some time ago), but it's slow as most php apps on the dns.

But do not know how to do that? anyhelp?

Thanks
Patrick

Offline

 

#136 2007-12-05 21:23:31

snarfy
New member
Registered: 2007-12-05
Posts: 4

Re: Updated fun_plug

fonz, awesome stuff you're pulling off here - keep it up!

I'm up & running w/telnet without a hitch - good instructions.

Quick question regarding post install of funplug: can I delete the the tar file and assume all is well after the next reboot?

thx...

Offline

 

#137 2007-12-08 09:24:04

pwvandeursen
Member
Registered: 2007-07-04
Posts: 112

Re: Updated fun_plug

pwvandeursen wrote:

I have PHP working right now but wanted to try to get vcddb working http://vcddb.konni.com/

Is this possible at all. I get the same issues as, because I cannot get GD working. I have the 5.2.3 installed with GD, but no succes.

Output of the setup file gives me the following:

Procedure      Status      Results
Verify PHP version     Success     Installed v. 5.2.3
bold Verify GD libraries     Failed     No GD libraries installed!
bold Verify SimpleXML module     Failed     SimpleXML NOT enabled
bold Verify MBstring module     Failed     Multibyte String functions NOT enabled
Verify Session support     Success     Sessions enabled
Verify Remote fetch support     Success     Allow_url_fopen is set in php.ini
Verify File upload support     Success     File uploads enabled
Verify Upload folders     Success     All upload folders OK.
Verify Config file     Success     Config file is writeable
Verify Database support     Success    

    * SQLite module loaded


What do I need to do to get these items to work in the 0.3 funplug?

Offline

 

#138 2007-12-08 12:17:37

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

Re: Updated fun_plug

pwvandeursen wrote:

Is this possible at all. I get the same issues as, because I cannot get GD working. I have the 5.2.3 installed with GD, but no succes.

pw, as you might have noticed, I'm personally not very interested in php. I'm not using it myself, nor do I have much experience with it. I think the least painful way for you is to try the Debian chroot approach. You'll get all the libs you want and a working php. Still, I doubt that you will be happy with the response times you get from the DNS323.

Offline

 

#139 2007-12-08 19:23:33

pwvandeursen
Member
Registered: 2007-07-04
Posts: 112

Re: Updated fun_plug

ok clear answer. If it doesn't really work fast enough, i'll try something else.
thanks
Patrick

Offline

 

#140 2007-12-15 22:59:56

dtk
New member
Registered: 2007-12-14
Posts: 3

Re: Updated fun_plug

the file:
funplug-0.4.tar.gz    2007-Nov-20 23:45:07    1.3M    application/x-gzip

at:
http://www.inreto.de/dns323/fun-plug/0.4-test/

is missing the start scrips. only these are in there:
drwxr-xr-x tp/users          0 2007-11-20 16:39:38 start/
-rw-r--r-- tp/users        634 2007-11-20 16:39:38 start/00syslog.sh
-rwxr-xr-x tp/users       1134 2007-11-20 16:39:38 start/00telnetd.sh
-rw-r--r-- tp/users        968 2007-11-20 16:39:38 start/00timezone.sh
-rw-r--r-- tp/users        672 2007-11-20 16:39:38 start/inetd.sh

where's the best place to get the missing ones?

Offline

 

#141 2007-12-15 23:04:22

KRH
Member
From: Denmark
Registered: 2006-10-27
Posts: 219
Website

Re: Updated fun_plug

you have downloadet a file whit the name TEST

try one whit out that in as it normal mean not stabel or other smile


First user to fun_plug the dns-323.

Offline

 

#142 2007-12-16 00:22:40

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Updated fun_plug

dtk wrote:

the file:
funplug-0.4.tar.gz    2007-Nov-20 23:45:07    1.3M    application/x-gzip

at:
http://www.inreto.de/dns323/fun-plug/0.4-test/

is missing the start scrips. only these are in there:
drwxr-xr-x tp/users          0 2007-11-20 16:39:38 start/
-rw-r--r-- tp/users        634 2007-11-20 16:39:38 start/00syslog.sh
-rwxr-xr-x tp/users       1134 2007-11-20 16:39:38 start/00telnetd.sh
-rw-r--r-- tp/users        968 2007-11-20 16:39:38 start/00timezone.sh
-rw-r--r-- tp/users        672 2007-11-20 16:39:38 start/inetd.sh

where's the best place to get the missing ones?

You didn't specify which ones you were missing.
I've installed the 0.4-test release, and everything necessary was in the file.
Additional "plugins" usually come with their own startup script which you simply put in the start folder and chmod to 0755.

Offline

 

#143 2007-12-16 13:44:15

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

Re: Updated fun_plug

dtk wrote:

where's the best place to get the missing ones?

What exactly are you looking for? Addon packages are in the addons/ directory with additional programs (with their own start scripts).

Offline

 

#144 2008-02-29 08:21:46

pakito
New member
Registered: 2008-02-29
Posts: 4

Re: Updated fun_plug

Hello,
I installed funplug 0.5 but can't get it to launch mediatomb.
I tried launching through the telnet command

Code:

sh /mnt/HD_a2/ffp/start/mediatomb.sh start

but I get the message

Code:

/ffp/bin/mediatomb: Not executable"

I made the file mediatomb.sh executable to see if the fun_plug would start it at boot, but the same error is reported in the log (ffp.log)
Strangely enough, there is no /ffp/bin/mediatomb file...

As a beginner in Linux, I'm now lost and feel I may have been too daring to install this experimental version.
1) Is there a way to launch mediatomb from there?
2) How can I safely uninstall fun_plug 0.5 ? What's the command to delete the appropriate files and folders?

For info, I'm running on DNS 323 with fw 1.04.

Thanks
pakito

Last edited by pakito (2008-02-29 08:46:16)

Offline

 

#145 2008-02-29 09:44:56

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

Re: Updated fun_plug

pakito wrote:

Strangely enough, there is no /ffp/bin/mediatomb file...

/ffp/bin/mediatomb is in the mediatomb package (see packages subdirectory on the website). For mediatomb, you need
at least the libiconv, file, sqlite, zlib and expat packages. Download the package files to your dns, then open a telnet connection, cd to the download directory and run "funpkg *.tgz" to install them.

But you're right, it's still a little dangerous to use the 0.5 version. If you want to remove it, open a telnet connection and run

Code:

cd /mnt/HD_a2
rm fun_plug
rm -rf ffp
reboot

Offline

 

#146 2008-02-29 09:45:33

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

Re: Updated fun_plug

fonz wrote:

pakito wrote:

Strangely enough, there is no /ffp/bin/mediatomb file...

/ffp/bin/mediatomb is in the mediatomb package (see packages subdirectory on the website). For mediatomb, you need
at least the libiconv, file, sqlite, zlib and expat packages. Download the package files to your dns, then open a telnet connection, cd to the download directory and run "funpkg *.tgz" to install them.

But you're right, it's still a little dangerous to use the 0.5 version. If you want to remove it, open a telnet connection and run

Code:

cd /mnt/HD_a2
rm fun_plug
rm -rf ffp
reboot

PS: There're two mediatomb packages. I recommend the svn version.
PPS: There's a typo in start/mediatomb.sh, you also need to install the latest ffp-scripts package.

Offline

 

#147 2008-02-29 11:05:37

Nod
Member
Registered: 2008-01-14
Posts: 29

Re: Updated fun_plug

Hi !

thanks again fonz for the work !

Can I use packages in 0.5 with fun_plug 0.4 ?

Offline

 

#148 2008-02-29 11:16:25

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

Re: Updated fun_plug

Nod wrote:

Can I use packages in 0.5 with fun_plug 0.4 ?

Short answer: No.

Longer answer: I haven't tested this, yet, but since the 0.5 funplug comes with its own libc, you can chroot to it. Furthermode, because it's using a different path prefix than the earlier funplugs, you don't really need to chroot to run programs from it smile So, it should be possible to install 0.5 packages without using the fun_plug script or the fun_plug.tar install tarball. Just unpack uclibc plus the libs and programs you'd like to test somewhere, create the /ffp link manually and see how it goes. If you try this, please let us know how it went.

Offline

 

#149 2008-03-01 00:17:21

pakito
New member
Registered: 2008-02-29
Posts: 4

Re: Updated fun_plug

Thanks fonz, and great job!
I saw the packages in the page, and wrongly assumed they were in the tar file.
I reverted to 0.4 for the moment, by fear of messing up something. I'll surely come back to 0.5 later, it looks great.

On a side note, and from a newbie perspective, some graphical interface would be nice to manage the packages. Would greatly limit the screw up potential for newbies who want to tweak their dns. my 2 cents.

cheers

Last edited by pakito (2008-03-01 00:18:06)

Offline

 

#150 2008-03-01 16:57:36

Jimi Bondi
Member
Registered: 2007-09-02
Posts: 9

Re: Updated fun_plug

Hi all,

fonz has written a new fun_plug 0.5. Busybox works very fine. When I start lighttpd then stands there:
/ffp/sbin/lighttpd: can´t load library "libssl.so.0.9.8"   

Does  anyone have an idea?

Jimi Bondi

Last edited by Jimi Bondi (2008-03-01 16:58:31)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB