Enabling USB /jffs storage changes httpd to random port

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
tjsynkral
DD-WRT Novice


Joined: 19 Apr 2017
Posts: 6

PostPosted: Wed Apr 19, 2017 1:39    Post subject: Enabling USB /jffs storage changes httpd to random port Reply with quote
This problem is occurring on Router1 (AC66U) from my signature. It happened with build 30949 and I tried upgrading to 31825 and reproduced the problem again.

Prior to enabling USB httpd would launch itself upon reboot with -p 80, afterward httpd would launch as -p 0, or -p with no argument, or something else random that isn't -p 80 or httpd by itself with default port. This means the config webpage is unusable until I SSH in and restart httpd.

I tried to reproduce the issue on my E4200 but it seems to keep the correct port after reboots.

I'm unable to find where DD-WRT launches httpd on startup, so I'm out of ideas on what else to try.

_________________
Modem: SB6121, Comcast Blast 75/10.
Router1: ASUS AC-66U, 31825 giga. 10.0.0.1/8.
Router2: Buffalo WHR-G54S, 30949 mini. 10.200.0.1/24.
AP3: ASUS AC-66U, stock 3.0.0.4.380_4180. 10.0.0.5.
AP4: Linksys E4200, 31825 mega. 10.0.0.2.
Sponsor
tjsynkral
DD-WRT Novice


Joined: 19 Apr 2017
Posts: 6

PostPosted: Fri Apr 21, 2017 18:11    Post subject: Reply with quote
Giving this a bump as it needs some love.
_________________
Modem: SB6121, Comcast Blast 75/10.
Router1: ASUS AC-66U, 31825 giga. 10.0.0.1/8.
Router2: Buffalo WHR-G54S, 30949 mini. 10.200.0.1/24.
AP3: ASUS AC-66U, stock 3.0.0.4.380_4180. 10.0.0.5.
AP4: Linksys E4200, 31825 mega. 10.0.0.2.
tjsynkral
DD-WRT Novice


Joined: 19 Apr 2017
Posts: 6

PostPosted: Wed Apr 26, 2017 15:43    Post subject: Reply with quote
Here's a slight update in case anyone is interested: I made the USB changes to set up bwmon (running as a user page under httpd, no additional http service installed).

Prior to setting up bwmon, I had the info page disabled. This caused problems accessing the bwmon page, so to resolve it I enabled the info page and password protected it.

Since making that change, bwmon works, and reboots so far are bringing httpd up properly with -p 80. I guess there is some bug in DD-WRT caused by mounting USB to /jffs and/or creating a user page in httpd, while the info page is disabled.

_________________
Modem: SB6121, Comcast Blast 75/10.
Router1: ASUS AC-66U, 31825 giga. 10.0.0.1/8.
Router2: Buffalo WHR-G54S, 30949 mini. 10.200.0.1/24.
AP3: ASUS AC-66U, stock 3.0.0.4.380_4180. 10.0.0.5.
AP4: Linksys E4200, 31825 mega. 10.0.0.2.
mwchang
DD-WRT Guru


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

PostPosted: Thu Apr 27, 2017 11:15    Post subject: Reply with quote
tjsynkral wrote:
Since making that change, bwmon works, and reboots so far are bringing httpd up properly with -p 80. I guess there is some bug in DD-WRT caused by mounting USB to /jffs and/or creating a user page in httpd, while the info page is disabled.


Open a ticket to report the bug!

http://www.dd-wrt.com/dd-wrtv2/bugtracker/login_page.php

_________________
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
Display posts from previous:    Page 1 of 1
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