Posted: Fri Dec 24, 2021 20:12 Post subject: [SOLVED] Lost Web Interface - What Now?
I put bld r47900 on a Netgear R6700v3, from stock Netgear FW V220.127.116.11_10.0.80
Linux 4.4.294 #4763 SMP Mon Dec 20 05:24:28 +07 2021 armv7l
It's set up very similar to the very old DD-WRT router it replaced, AP/Gateway, wifi, but this router adds USB so plus Samba and DLNA. It has web gui access enabled, including over wifi. It was first deployed yesterday. I accessed the web gui several times yesterday.
Today, could not access the web GUI. Tried different browsers and different systems. It is still routering, still providing wifi, samba and DLNA are still working. It responds to a ping on its IP, and can telnet to it.
[Time Lapse] Power cycling it, I have web GUI access back.
At this point I'm a bit lost. What to do next? Is there some setting I should look at? Or some way to determine what is happening?
One thing I forgot to do when putting DD-WRT on it, is not using the CLI to do an nvram erase. Is that relevant? If so and I do it now, do I have to reconfigure the entire router again or can I save a config backup, clear it, and reload the config backup?
Last edited by mono on Wed Jan 05, 2022 17:14; edited 1 time in total
Thanks for your replies. So is clearing NVRAM what you would do next or is there something else I should be looking at first?
It just seems strange that the web gui did work, including after a power cycle and reboot(s), then a ~dozen hours later it's stopped working with no config changes ("that I can recall") made since last GUI access. It was wired not wifi (didn't try wifi) access that I noticed failing, also wired to samba still worked.
if you can telnet into it... look for the http processes using ps.. if they have died... just restart with:
httpd -n -p 80
if this command fails or httpd dies again just reboot.. but look at logs if you can to see if there is any reason
This is possibly beyond my skill level. I don't know what "using ps" is or how to ID the http processes, nor how to tell if they have died. Once I get a telnet prompt after login, would just typing httpd -n -p 80 do the trick?
I will be rebooting and considering swapping old router back into service for the time being. Logs, I have to enable it making them right? Then how to see them? Is there any penalty leaving it logging a long time if it takes longer?
I will research the answers to these questions myself but it is a bit of a learning curve mountain to climb, looks like I need to put the old router back into service if nobody knows more about what would make the GUI process die.
My old router, its IP Filter setting had Max Ports 4096. This router, Max Ports is 32768. Old router was used for P2P, and I had P2P running last night, would the higher max ports value potentially be an issue? The TCP and UDP timeouts were the same on both old and new router.
I'm sure it's not a browser extension, been using this browser setup for ages with the old DD-WRT router and when the web GUI wouldn't load, after power cycling the router, simply clicking refresh yet another time in the browser make it load.
I've started making screenshots of the setup in case NVRAM needs cleared, but want to give it a try with adjusted lower values for Max Ports, and for TCP/UDP timeouts even lower than the defaults that worked fine on the ancient router that was running DD-WRT v24-sp2
I'll have to look into that tcp recycle/reuse setting, have no idea what it is, or is it possibly not even present in the GUI for r47900 on an R6700 and only a command line variable parameter?
Thanks. I never would have touched a single setting on that config page if someone didn't tell me to, way above my pay grade.
I set those... well recycle was already 0 but changed reuse from 1 to 0, saved, rebooted and both now still 0.
I didn't have any performance gripes with my old router (as far as applies to being limited to 4096 connections I mean) so may wait and see if the web GUI fails to load again, then put it back to the 32K default and wait and see.
Dec 25 14:53:47 R6700 auth.info login: root login on 'pts/0'
I logged in as shown on the log line above, then (not knowing what to do) issued telnet command httpd -n -p 80 and at the prompt it listed httpd server started, then can't bind to any address.
Cron is enabled.
I have never tried to access it wirelessly, always wired, but wireless is not disabled either, manually enabled it for both radios, IIRC.
There is no phone tethering, WAN is only straight to a cable modem. Not sure what sharing USB via IP is, I have a USB flash drive mounted, being shared through Samba and DLNA, nothing more.
There isn't anything advanced I'm trying to do with this router. Almost everything not mentioned has been left at the defaults. It's just a gateway/AP for a bunch of wifi clients (maybe dozen or so, I lost track) and besides the cable modem, single port connection to a GbE switch for the wired network.
Joined: 08 May 2018 Posts: 13292 Location: Texas, USA
Posted: Sat Dec 25, 2021 22:32 Post subject:
Because it probably never died. What exactly is meant by losing webUI access needs to be determined. I do not use the same browser for DD-WRT router access as I do for the rest of my internet surfing and I use private browsing mode, cache cleared, no add-ons or extensions, no saving of passwords, nada and I am not having issue on current releases on any devices. So, I honestly do not know what exactly is the problem here, but if it can't bind to an address, that may mean that httpd never died (ps | grep http would've shown if it had died or not). The httpd process is one of the few that will only run in one instance and one instance only, if I am not mistaken. This is very curious because in the past hour I have opened and closed a browser to access 3 different DD-WRT webUIs without a hitch. _________________ "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... At some point, people just get plain tired of this place. Because they are tired of bottom-feeders and the same old hat.
Linux User #377467 counter.li.org / linuxcounter.net
When I lost web gui access, I did a PS | grep http and it showed:
2078 root httpd -n -p 80
3083 root grep http
Lose Web GUI access means when I type the IP into the browser URL field, or use a shortcut, browser just shows "Connecting..." and never shows any sign of a connection, eventually times out, same as if I had input a lan IP that doesn't exist. At that point I can still ping the IP or telnet into it.
I can click refresh over and over, and the web GUI never loads, until I power cycle (or last time, used telnet reboot command) the router, then just clicking refresh one more time, brings up the web GUI immediately.
Same system and browser, 5 hours later today doing exact same thing, web gui won't load until telnet reboot command, then loads fine.
I have tried a different browser on same system, and a different system. All methods tried, work fine for my other DD-WRT routers and other devices.
Looking through what I wrote below, I did have USB over IP enabled, not sure if it appeared as enabled when I enabled USB support for Samba or if I manually enabled it. In either case, I disabled USB over IP, saved/rebooted, and Samba still works. Maybe that's it, would be nice!
I'll list what I see changed from the r47900 defaults. I hope this formats well...
Setup Tab /Basic Setup:
Router Name: R6700
Time Zone: New York
Set two IPs as static leases with no lease expiration input
System Log enabled
Core USB Support Enabled
USB Storage Support Enabled
USB OVER IP was enabled, either it auto-enabled or I did it manually thinking it was needed for Samba or DLNA
I have now disabled USB over IP. After reboot, Samba still works
Automatic Drive Mount Enabled
Use SES Button to remove drives enabled
Further down on Services/USB tab just shows it recognizes the EXT2 formatted USB flash drive assigned to sda1
Server String R6700
Set file sharing for mnt/sd1, name R6700, public, read/write access
Set users admin/pw, Access Shares R6700, and Samba checkmarked
Enable Subtitles enabled
MiniDLNA Share set to /mnt/sd1, audio, video, images