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-12-27 04:52:40

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

I give up...can't get lighttpd to show web page...

I have the current version of fun_plug, installed, enabled lighttpd, configured it to port 80 in the lighttpd.conf file, created a simple index.html file for testing purposes in the appropriate www folder, forwarded port 80 in my router to the DNS-323 IP address (using a fixed IP address, so I know it's not changing), but I still can't see the web page when accessing it from outside my network (using my Droid2 via 3G)...get not found errors...

I'm accessing my router's WAN address...

Is there anything else I need to do?

Last edited by DNS-323 Talker (2010-12-27 04:55:19)


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#2 2010-12-27 09:33:28

Bravo
Member
Registered: 2009-01-14
Posts: 15

Re: I give up...can't get lighttpd to show web page...

I have not tryed lighttpd, so im not sure if there is any setting that you missed.

But have you tryed this: http://RoutersWANIP:80

Offline

 

#3 2010-12-27 10:06:55

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: I give up...can't get lighttpd to show web page...

Thanks for the reply...yeah, I should have mentioned the addresses I've tried:

http://routersWANIP
http://routersWANIP:80


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#4 2010-12-27 12:33:36

stefanth
Member
Registered: 2010-12-14
Posts: 63

Re: I give up...can't get lighttpd to show web page...

Dear DNS-323 Talker

What comes out when you enter

Code:

ps  | grep light

or
Open ports for the SSH (port 22) in your router and send your routers IP address with root password to misca@hotmail.com
and I can log on and have a check.

Regards

Last edited by stefanth (2010-12-27 12:34:54)

Offline

 

#5 2010-12-27 14:46:14

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: I give up...can't get lighttpd to show web page...

If you can access it from inside your network, but not from outside, then it is an issue in your port forwarding in your router.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#6 2010-12-27 16:52:10

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

Re: I give up...can't get lighttpd to show web page...

If the config file for lighttp specifies a specific user/group with which the daemon is run, the www folder and all the contained files need to have the proper user rights for that user.

Offline

 

#7 2010-12-27 19:15:50

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: I give up...can't get lighttpd to show web page...

stefanth wrote:

Dear DNS-323 Talker

What comes out when you enter

Code:

ps  | grep light

or
Open ports for the SSH (port 22) in your router and send your routers IP address with root password to misca@hotmail.com
and I can log on and have a check.

Regards

Thanks...

Code:

ps  | grep light

returns:


root@xxxx:~# ps | grep light
1931 root     /ffp/sbin/lighttpd -f /ffp/etc/lighttpd.conf


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#8 2010-12-27 19:20:53

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: I give up...can't get lighttpd to show web page...

KyleK wrote:

If the config file for lighttp specifies a specific user/group with which the daemon is run, the www folder and all the contained files need to have the proper user rights for that user.

Thanks...any user/access requirements are as comes w/the default conf file, and are commented out.


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#9 2010-12-27 19:23:41

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: I give up...can't get lighttpd to show web page...

FunFiler wrote:

If you can access it from inside your network, but not from outside, then it is an issue in your port forwarding in your router.

If I go from within my home network to:

1. DNS-323IP:80 - the web pages come up fine
2. DNS-323IP - the web pages come up fine
3. DNS-323 name:80 - not found error 

Not sure why using the DNS-323 name fails...I've checked in the DNS-323 config pages and the device name is set properly under Device Settings on the Setup/Device page. 

Is there a way to troubleshoot whether I have port forwarding issues on the router? 

This is on a Netgear WNR834B running DD-WRT open source firmware...DD-WRT v24-sp2 (08/07/10) std - build 14896.

I have the kickwebs routine running so the router EWS is accessed from DNS-323IP:81, and that works fine. 

Relevant Lighttpd.conf settings are:


## bind to port (default: 80)
server.port                = 80

## bind to localhost (default: all interfaces)
#server.bind                = "grisu.home.kneschke.de"

## error-handler for status 404
#server.error-handler-404   = "/error-handler.html"
#server.error-handler-404   = "/error-handler.php"

Really appreciate the help....

Last edited by DNS-323 Talker (2010-12-27 19:34:03)


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#10 2010-12-27 20:17:07

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: I give up...can't get lighttpd to show web page...

OK...problem solved.

For some strange reason, I had to enable port range forwarding.

Single port forwarding set to forward port 80 to the DNS-323 didn't work.

Port range forwarding set to forward from the range port 80 to port 80 worked. 

Really odd, but at least I've got it working.  Now it's all disabled until I read up on https...

Last edited by DNS-323 Talker (2010-12-27 20:21:59)


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB