New Build - 11/28/2021 - r47692

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2
Author Message
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14222
Location: Texas, USA

PostPosted: Tue Nov 30, 2021 18:00    Post subject: Reply with quote
So, this is about manually starting the lighttpd server, not enabling it through the webUI and configuring from there... which is what we should probably concern ourselves with, perhaps?
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Sponsor
ZenInTexas
DD-WRT Novice


Joined: 11 Aug 2020
Posts: 47

PostPosted: Tue Nov 30, 2021 21:34    Post subject: Reply with quote
kernel-panic69 wrote:
Both guest network wikis need to be edited; not sure what you mean by "defeats the purpose of an unbridged VAP" - what purpose?


Sorry, it is just me grumbling about the level of research & debugging that was required to get guest network(aka VAP) running. My EA2700 with much older dd-wrt revision died. I bought a cheap EA6700 some time ago, and converted it over to DD-WRT with r37xxx and let it sit on a shelf. The EA2700 died suddenly, so I setup the EA6700 as a gateway with AP to avoid having to deal with the complexities of WAP and guest. PostTurkey time was spent learning about "unbridged", and switching over to WAP with a guest network; which is what I was grumbling about.
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1857
Location: Hung Hom, Hong Kong

PostPosted: Thu Dec 02, 2021 12:33    Post subject: Re: DD-WRT BS build 47692 and Asus RT-N18U Reply with quote
mwchang wrote:
And why were there 3 instances of php-cgi after I manually restarted lighttpd? Does the WEBUI also use php-cgi? I definitely wanna cut it to only ONE! Smile

Code:
 7151 root     lighttpd -f /jffs/etc/lighttpd.conf
 7152 root     /usr/bin/php-cgi
 7153 root     /usr/bin/php-cgi
 7154 root     /usr/bin/php-cgi


Found the solution. Just edit the active lighttpd.conf:

Code:
fastcgi.debug       = 0
fastcgi.server = (
".php" =>
( "localhost" =>
   ( "socket" => "/tmp/php-fcgi.sock",
   "bin-path" => "/usr/bin/php-cgi",
   "min-procs" => "1",             # optional - default is 4
   "max-procs" => "1",             # optional - default is 4
   "bin-environment" =>
      (
      "PHP_FCGI_CHILDREN" => "0",
       "PHP_FCGI_MAX_REQUESTS" => "10"
      )
   )
)

Most important changes are "min-procs", "max-procs" and "PHP_FCGI_CHILDREN".


_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw


Last edited by mwchang on Thu Dec 02, 2021 12:47; edited 2 times in total
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1857
Location: Hung Hom, Hong Kong

PostPosted: Thu Dec 02, 2021 12:36    Post subject: Reply with quote
kernel-panic69 wrote:
So, this is about manually starting the lighttpd server, not enabling it through the webUI and configuring from there... which is what we should probably concern ourselves with, perhaps?

The WEBUI should use /tmp/lighttpd.conf. By starting Lighttpd manually while specifying the config file, you can test your config file for errors and... warnings.

I did use the WEBUI, Lighttpd will run but after a few browse hits, it stopped working. I think I need to re-test to confirm this. In the end, I am using my custom config file /jffs/etc/lighttpd.conf.

BTW, those are warnings not errors. Sorry!


_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1857
Location: Hung Hom, Hong Kong

PostPosted: Thu Dec 02, 2021 12:44    Post subject: Reply with quote
ZenInTexas wrote:
Sorry, it is just me grumbling about the level of research & debugging that was required to get guest network(aka VAP) running. My EA2700 with much older dd-wrt revision died. I bought a cheap EA6700 some time ago, and converted it over to DD-WRT with r37xxx and let it sit on a shelf. The EA2700 died suddenly, so I setup the EA6700 as a gateway with AP to avoid having to deal with the complexities of WAP and guest. PostTurkey time was spent learning about "unbridged", and switching over to WAP with a guest network; which is what I was grumbling about.

VAP and Guest Nework of DD-WRT definitely needs some work! They are not as simple as clicking a few buttons in the end.

Patience and tolerance ... Smile


_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14222
Location: Texas, USA

PostPosted: Thu Dec 02, 2021 17:12    Post subject: Reply with quote
mwchang wrote:
ZenInTexas wrote:
Sorry, it is just me grumbling about the level of research & debugging that was required to get guest network(aka VAP) running. My EA2700 with much older dd-wrt revision died. I bought a cheap EA6700 some time ago, and converted it over to DD-WRT with r37xxx and let it sit on a shelf. The EA2700 died suddenly, so I setup the EA6700 as a gateway with AP to avoid having to deal with the complexities of WAP and guest. PostTurkey time was spent learning about "unbridged", and switching over to WAP with a guest network; which is what I was grumbling about.

VAP and Guest Nework of DD-WRT definitely needs some work! They are not as simple as clicking a few buttons in the end.

Patience and tolerance ... Smile

This is a known issue that has been tossed around for some time. I have not reviewed the most recent ticket about it to see if there are any new clues as to what needs to be done. Last I knew, BS was out of ideas of what to do to fix it.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ZenInTexas
DD-WRT Novice


Joined: 11 Aug 2020
Posts: 47

PostPosted: Sat Dec 04, 2021 5:35    Post subject: Reply with quote
kernel-panic69 wrote:
mwchang wrote:
ZenInTexas wrote:
Sorry, it is just me grumbling about the level of research & debugging that was required to get guest network(aka VAP) running. My EA2700 with much older dd-wrt revision died. I bought a cheap EA6700 some time ago, and converted it over to DD-WRT with r37xxx and let it sit on a shelf. The EA2700 died suddenly, so I setup the EA6700 as a gateway with AP to avoid having to deal with the complexities of WAP and guest. PostTurkey time was spent learning about "unbridged", and switching over to WAP with a guest network; which is what I was grumbling about.

VAP and Guest Nework of DD-WRT definitely needs some work! They are not as simple as clicking a few buttons in the end.

Patience and tolerance ... Smile

This is a known issue that has been tossed around for some time. I have not reviewed the most recent ticket about it to see if there are any new clues as to what needs to be done. Last I knew, BS was out of ideas of what to do to fix it.


With this revision, I have an EA6700 that has been working for at least 1 week. It is configured for a single unbridged VAP-wl0.1(2.4) with the EA6700 running a WAP(WAN disabled) the rest of the private network has another DD-WRT gateway which has services for DHCP & DNS. The EA6700 dnsmasq is serving up DHCP address & acting as a DNS for the VAP subnet. The EA6700 has firewall rules to keep the VAP subnet isolated & happy. However, I did not use a vlan in my configuration; if the chip based vlan is more efficient, I might give it a try.
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum