Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi there,
just a stupid question, but why don't you chroot and install a lighttpd /w php?
That's what I'm running since weeks, no problem yet...
When there is a available native release for the DNS, you can just move there...
Greetings
Offline
Raven wrote:
Hi there,
just a stupid question, but why don't you chroot and install a lighttpd /w php?
That's what I'm running since weeks, no problem yet...
When there is a available native release for the DNS, you can just move there...
Greetings
I am still a little new to this stuff. But that is what I believe I was trying to do. I downloaded the php zip package from php.net and copied the files to the lighttpd folder /bin (can't remember now, at work). Modded the lighttpd.conf file and tried to start it up but no dice. I don't think I modded the lighttpd.conf file correctly.
Offline
This is mostly beyond me, but can I insert my requisite dumb question?
If we have php working, would that mean that we could run phpbb off the DNS-323? I presume not 'cause it would need mysql as well?
Please, don't roll your eyes at me, I know I'm a noob...
Last edited by DNS-323 Talker (2007-06-13 07:36:23)
Offline
http://www.inreto.de/dns323/fun-plug/old/php-cgi
No features inside. Not even phpicalendar will run.
PS: Save it to fun_plug.d/bin/.
Last edited by fonz (2007-06-13 10:40:44)
Offline
WildSioux wrote:
I am still a little new to this stuff. But that is what I believe I was trying to do.
Did you get Debian Etch before?
Offline
Raven wrote:
WildSioux wrote:
I am still a little new to this stuff. But that is what I believe I was trying to do.
Did you get Debian Etch before?
Nope...right now I just have a fun_plug with lighttpd running.
Offline
fonz wrote:
http://www.inreto.de/dns323/fun-plug/old/php-cgi
No features inside. Not even phpicalendar will run.
PS: Save it to fun_plug.d/bin/.
Hmm,
Do you know if your php file would make the php components in this run?
http://www.bananalbum.com/
direct download without having a window popup.
On this banana album website, there is a php download. But why would I need to download that one if I already have php installed and running (assuming I can get it to work)?
Or this?
http://www.fotoplayer.com/index.html
Mainly the guest book, guest book status, RSS Feeder, shopping cart, and album search.
Offline
WildSioux wrote:
Nope...right now I just have a fun_plug with lighttpd running.
then download Etch (see wiki) and install lighttpd /w php there, easiest way...
Offline
WildSioux wrote:
Hmm,
Do you know if your php file would make the php components in this run?
http://www.bananalbum.com/
direct download without having a window popup.
On this banana album website, there is a php download. But why would I need to download that one if I already have php installed and running (assuming I can get it to work)?
Or this?
http://www.fotoplayer.com/index.html
Mainly the guest book, guest book status, RSS Feeder, shopping cart, and album search.
Hi!
I got the php download in bananalbum to work in jalbum with Fonz link (http://www.inreto.de/dns323/fun-plug/old/php-cgi) and his lighttpd.conf example.
Thanks all for the help !!
Offline
xlab wrote:
Hi!
I got the php download in bananalbum to work in jalbum with Fonz link (http://www.inreto.de/dns323/fun-plug/old/php-cgi) and his lighttpd.conf example.
Thanks all for the help !!
Awesome...when (if) I ever get a day off here at work I will install this. Thanks!
Offline
WildSioux wrote:
xlab wrote:
Hi!
I got the php download in bananalbum to work in jalbum with Fonz link (http://www.inreto.de/dns323/fun-plug/old/php-cgi) and his lighttpd.conf example.
Thanks all for the help !!Awesome...when (if) I ever get a day off here at work I will install this. Thanks!
I was finally able to get PHP installed and working on my machine by using the link from Fonz. This came at a cost though...accidentally deleting half the hard drive causing me to lose 60% of my files when I couldn't copy the php-cgi file to the /bin directory. I had worked a 12 hour overnight shift so I was tired and just wanted to get this working. I tried to CHMOD it but nothing worked. So I decided to just delete the fun_plug folder and start new. Oooops, "rm -R /mnt" is not good. I knew what I did when I hit the enter key so I closed out of it stopping the proccess. But still lost 60% of my files. I had most of the stuff backed up which was 3 months ago. But I wanted to see if I could get this stuff back (I knew unlikely). So $270 and a week later, a local business startup specializing in file recovery was able to get most of the data (pictures, word documents, you know all the important shit, etc...) back although without the original names and directory structure. So I am still going through them to see what files I have and which ones I need to keep and rename. Arrrrgggghhh...
Moral of the story, I will now backup my stuff regularly (and not work on this when I am tired since I am still new to linux). I do have PHP now though LOL. And the direct download in JAlbum works. Haven't had a chance to try the other stuff like guestbook and ordering. But I imagine it will work.
Offline
Wow...sorry to hear about the trouble and expense. Hard lesson to (re)learn, isn't it? Glad you have a somewhat happy ending...or maybe a not totally sad ending is a better way to put it.
Offline
DNS-323 Talker wrote:
If we have php working, would that mean that we could run phpbb off the DNS-323? I presume not 'cause it would need mysql as well?
It seems phpbb can use sqlite as backend. I'll see if I can enable that.
Offline
Fonz, you have done a very good job with this and I am really looking forward to seeing what comes of it here.
Talker, it's possible to run sql on your local machine rather than the DNS-323... sql queries can be quite taxing and I'm not sure the DNS-323 would be able to handle a heavy load of those. It would still be useful if your computer isn't on all the time and you aren't expecting much traffic I suppose!
Offline
Nathan1_ wrote:
Fonz, you have done a very good job with this and I am really looking forward to seeing what comes of it here.
Talker, it's possible to run sql on your local machine rather than the DNS-323... sql queries can be quite taxing and I'm not sure the DNS-323 would be able to handle a heavy load of those. It would still be useful if your computer isn't on all the time and you aren't expecting much traffic I suppose!
phpBB with sqlite seems to work OK - of course, it won't be fast enough to handle more than a few users. However, some php features require additional libs that need to be added to the funplug. See http://dns323.kood.org/forum/t746-light … -plug.html for the link to my current testing version.
Offline
Actually, since we're making requests... could I ask for Ruby?
Offline
Nathan1_ wrote:
Actually, since we're making requests... could I ask for Ruby?
Compiled against testing-funplug: http://www.inreto.de/dns323/fun-plug/testing/
After booting the testing-funplug, copy the ruby archive to the dns, then telnet:
cd / tar xzvf /path/to/ruby-1.8.6.tgz
Have fun.
Offline
Eeeeeeeeeeeeeeeeee!
*claps to himself stupidly*
Thank you.
I am having some trouble getting lighttpd working here with your testing-funplug honestly... I thought I'd get it before you got Ruby compiled but I didn't. I had lighttpd working before with an old funplug, I moved everything into a new "backup" directory then installed using your instructions, I renamed lighttpd.conf-with-php-sample to lighttpd.conf then started lighttpd successfully on your default port 8080. It says in my logs:
* Running /mnt/HD_a2/fun_plug.d/start/lighttpd.sh...
Starting lighttpd...
I've got some files and things in /mnt/HD_a2/www/pages but when I go to http://<my dns-323 ip>:8080/index.html it says "Unable to connect" any suggestions?
Last edited by Nathan1_ (2007-07-15 15:30:41)
Offline
Nathan1_ wrote:
I renamed lighttpd.conf-with-php-sample to lighttpd.conf then started lighttpd successfully on your default port 8080.
If it starts, you shouldn't get the error. All I do after a fresh install is:
cd /mnt/HD_a2/fun_plug.d/etc/ cp lighttpd.conf-with-php-sample lighttpd.conf sh ../start/lighttpd.sh
lighttpd should work then...
If it's not, check "netstat -tln" (to see active ports), check "ps" to see if lighttpd and php-cgi are running, etc. etc.
Offline
I just started with a fresh install still but am still having the same problem, after reboot:
/ # cd /mnt/HD_a2/fun_plug.d/etc/ /mnt/HD_a2/fun_plug.d/etc # cp lighttpd.conf-with-php-sample lighttpd.conf /mnt/HD_a2/fun_plug.d/etc # sh ../start/lighttpd.sh Starting lighttpd... /mnt/HD_a2/fun_plug.d/etc # netstat -tln Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN /mnt/HD_a2/fun_plug.d/etc # ps PID USER COMMAND 1 root init 2 root [ksoftirqd/0] 3 root [events/0] 4 root [khelper] 5 root [kthread] 11 root [kblockd/0] 14 root [khubd] 50 root [pdflush] 51 root [pdflush] 53 root [aio/0] 52 root [kswapd0] 190 root [scsi_eh_0] 191 root [scsi_eh_1] 192 root [scsi_eh_2] 193 root [scsi_eh_3] 201 root [mtdblockd] 216 root [kcryptd/0] 217 root [kmirrord/0] 245 root [loop0] 893 root atd 896 root smbd -D 898 root nmbd -D 925 root crond 986 root [md0_raid1] 1064 root chkbutton 1080 root /web/webs 1086 root fancontrol 1113 root op_server 3 3 3 1116 root -sh 1205 root /mnt/HD_a2/fun_plug.d/bin/telnetd -l /mnt/HD_a2/fun_plug.d/bin/s 1211 root /mnt/HD_a2/fun_plug.d/bin/sh 1229 root ps
I'm sorry, I have to be doing something wrong but I'm following your instructions exactly. I don't know what I'm doing wrong.
Last edited by Nathan1_ (2007-07-15 15:53:15)
Offline
Nathan1_ wrote:
I'm sorry, I have to be doing something wrong but I'm following your instructions exactly. I don't know what I'm doing wrong.
Are you sure, you're using the new fun_plug script? Please show ouput of:
set
Offline
Sure, thank you for looking at this for me.
/mnt/HD_a2/fun_plug.d/etc # set BINDIR='/mnt/HD_a2/fun_plug.d/bin' ETCDIR='/mnt/HD_a2/fun_plug.d/etc' FUNPLUGDIR='/mnt/HD_a2/fun_plug.d' HOME='/' IFS=' ' LD_LIBRARY_PATH='/mnt/HD_a2/fun_plug.d/bin/lib' LIBDIR='/mnt/HD_a2/fun_plug.d/bin/lib' LOGDIR='/mnt/HD_a2/fun_plug.d/log' LOGFILE='/mnt/HD_a2/fun_plug.d/log/fun_plug.log' OLDPWD='/' PATH='/mnt/HD_a2/fun_plug.d/bin:/usr/bin:/bin:/usr/sbin:/sbin' PPID='1205' PS1='\w \$ ' PS2='> ' PS4='+ ' PWD='/mnt/HD_a2/fun_plug.d/etc' SHELL='/bin/sh' TERM='vt102' USER='root' VOL1='/mnt/HD_a2' VOL2='/mnt/HD_b2' _='LISTEN'
It seems to be the correct fun_plug script, when I "chmod a+x" the lighttpd startup script and reboot my log is updated so it says it's started running the lighttpd server.
Edit: My firmware version is: 1.03
Last edited by Nathan1_ (2007-07-15 16:06:12)
Offline
No, the directory "logs" was never created!
I had to create the "www" and "pages" directories myself manually, is there anywhere else I might check a log file on this?
Last edited by Nathan1_ (2007-07-15 16:37:45)
Offline
Nathan1_ wrote:
No, the directory "logs" was never created!
I had to create the "www" and "pages" directories myself manually, is there anywhere else I might check a log file on this?
No, you should have created the logs directory together with pages/.
Try this one:
cd /mnt/HD_a2/fun_plug.d/etc lighttpd -f lighttpd.conf -D
This will start lighttpd manually and should print any errors directly (no log file).
If it doesn't exit immediately, it's running (press Ctrl-C to stop it)
Offline