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 2010-01-15 05:22:57

MagicCripple
Member
Registered: 2010-01-15
Posts: 5

Lighttp on port 80 (and web admin on 81)

I have been trying to get lighttp running on port 80 (I have a DNS-321 by the way, if that makes any difference). I keep getting this error in my ffp.log file, and dont know how to fix it

ERROR: lighttpd not found or not executable

When I try a   ls -l   it comes up with

-rwxr-xr-x    1 root     root         1802 Jan 14 22:28 lighttpd.sh
-rwxr-xr-x    1 root     root         1435 Jan 14 22:28 admwebs.sh


and I can actually see the files in /ffp/start/, so I have no idea what I'm doing wrong. I created the files in Notepad++ and saved then as type "Unix script file (.sh)"


Any ideas/suggestions?? Thanks in advance for any help you can provide

Last edited by MagicCripple (2010-01-15 05:24:11)

Offline

 

#2 2010-01-15 09:27:35

wortelsoft
Member
From: Netherlands
Registered: 2009-06-08
Posts: 52

Re: Lighttp on port 80 (and web admin on 81)

And what is inside lighttpd.sh?
The script which should start lighttpd is running.
Also did you install lighttpd?

Offline

 

#3 2010-01-15 09:41:26

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

Re: Lighttp on port 80 (and web admin on 81)

MagicCripple wrote:

ERROR: lighttpd not found or not executable

You can't have this message in an ffp.log file.
ffp.log only exists in version 0.5, while the message exists only in 0.3.

Offline

 

#4 2010-01-15 23:27:55

MagicCripple
Member
Registered: 2010-01-15
Posts: 5

Re: Lighttp on port 80 (and web admin on 81)

Wortelsoft, as I understood I was to use the 2 scripts in the link below, so I copied the entire script and pasted it exactly as it is into /ffp/start/lighttpd.sh

http://dns323.kood.org/howto:lighttpd_p … r_lighttpd

Offline

 

#5 2010-01-16 17:49:43

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

Re: Lighttp on port 80 (and web admin on 81)

No, better look at
http://dns323.kood.org/howto:ffp#lighttpd_web_server
and read the "port 80" part.

The howto you've been using explicitly says: For fun-plug v0.5 click here and look for Port 80 for fun-plug versions 0.3 & 0.4 see below…

Offline

 

#6 2010-01-17 07:45:34

MagicCripple
Member
Registered: 2010-01-15
Posts: 5

Re: Lighttp on port 80 (and web admin on 81)

Thanks fonz,
I must have been reading that wrong, I was indeed following the wrong section on the howto. I got it working now correctly. Thanks for pointing that out to me.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB