Posted: Fri Nov 29, 2019 7:59 Post subject: Linksys WRT32X - cant login after certain time of use
Hello,
my Linksys WRT32X uses DD-WRT v3.0-r41517 std (11/11/19) now and i have tried few previous builds but i have very strange problem with all of them. Once i log in to the router, after certain use of time i can't login anymore , it just doesnt let me in, it is not opening the login page at all .. nor form the local ip, nor from the external ip. Anybody can tell me what can cause that ? I even tried hard reset but it still happens.
When this happens i still have internet on the cable and wireless, but cant login to the router anymore.
Joined: 04 Aug 2018 Posts: 1447 Location: Appalachian mountains, USA
Posted: Fri Nov 29, 2019 13:55 Post subject:
Recent builds for the Marvell/WRT router series have had many reports in the new-build threads (look for the words "New build" in the thread subject lines in Marvell forum https://forum.dd-wrt.com/phpBB2/viewforum.php?f=58) of the GUI -- what you are logging into -- freezing up after a few hours. A fair number of us who can't afford to be explorers suffering beta-test problems are still on build 40009 from June to avoid this and other issues.
In case you are new to dd-wrt...
Never install a build without consulting its new-build thread, as most builds have issues, and occasionally the problems are so severe that they may brick your router, even an "unbrickable" WRT router.
Never take the router database seriously. Assume its obsolete and effectively deprecated.
Be very familiar with the contents of the Cliff Notes sticky post near the top of the Marvell forum. That's your basic how-to document on getting dd-wrt up on these WRT routers. _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.
Joined: 04 Aug 2018 Posts: 1447 Location: Appalachian mountains, USA
Posted: Sat Nov 30, 2019 14:30 Post subject:
zhelev81 wrote:
do i have to do this anytime i get the blocked access ?
Yes _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.
Joined: 04 Aug 2018 Posts: 1447 Location: Appalachian mountains, USA
Posted: Sat Nov 30, 2019 20:55 Post subject:
If Magic Command is the CLI command you've determined is good for restarting httpd, maybe one of the great suggestions above or (you'd have to try this to see) killall -HUP httpd, you might first try this command in the CLI:
while sleep 60; doMagic Command; done &
That will issue your magic command every sixty seconds. Do [b]kill %1 in the CLI to discontinue the test. If it seems to do what you want, you could put it in the Startup Commands in GUI>Administration>Commands. If even the preliminary test makes you nervous, first try the same line but with echo 'It works!' in place of Magic Command.
Of course you could do it as a cron job also, but that's more work and testing, and I always favor being lazy. _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.
Joined: 08 May 2018 Posts: 14223 Location: Texas, USA
Posted: Sat Nov 30, 2019 21:50 Post subject:
I'm gonna smack my head against the wall if this is in any way related to the linux_timer issue that BS is working on fixing for Broadcom. Waiting on the next alpha to test it.
Now, as there has been ongoing discussion elsewhere regarding similar issues, WHAT BROWSER ARE YOU USING?
The following are confirmed to work pretty much 100% of the time: Edge, Internet Explorer, FF ESR, Waterfox Classic, Pale Moon, SeaMonkey, Opera, and Safari. I have a feeling this is due to fixing something for Vivaldi ... at least I think that was this firmware project and not another one. But anyhow, those are the browsers I know work. Chrome and Chromium are sh*t because of the webUI supporting old browsers and other questionable sh*t. _________________ "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
Joined: 04 Aug 2018 Posts: 1447 Location: Appalachian mountains, USA
Posted: Sat Nov 30, 2019 22:50 Post subject:
I should add that you should be a little careful and experiment carefully to do your best to ensure that you won't cause trouble for yourself when your little httpd-restart daemon kicks httpd into starting over while you are in the middle of something important, like a save or apply or backup or restore or upgrade.
Does anyone know of a way for a script to detect when it is hung? That's really the only perfectly safe time to restart it.
Also, it's good to know how to shut the thing down later if it misbehaves or you just want to test something:
Code:
{ ( while sleep 60; do echo 'It works!'; done ) &
echo 'do '"'kill $!'"' in CLI to shut down restarter' \
| logger -t "httpd restarter"; }
Obviously once you test it like this, replace echo 'It works!' with the appropriate command (or commands separated by semicolons) to restart httpd. The point of this version is that it places an entry in the system log telling you precisely what to type to the CLI to shut down the restarter loop. _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.
Joined: 04 Aug 2018 Posts: 1447 Location: Appalachian mountains, USA
Posted: Sun Dec 01, 2019 14:47 Post subject:
ellick wrote:
*/60 * * * * root restart httpd
Thanks for that, ellick. I guess it's obvious I'm not a cron user. I've seen so many people in the forums creating scripts in Startup using echo (a horrible way to do it for more than one line), marking them executable, then running them in cron as single-word commands that I never realized multi-word commands were possible!
In addition to being easier, cron has the advantage of making the time of the restart predictable. If you know it will occur on the hour, you can avoid being in the middle of consequential GUI actions at those moments. _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.
You're welcome but I have to thank google. I'm not a cron user either. Once I realized httpd is what was hanging and causing the GUi to stop responding, I started searching for a way to automate it.
I finally found a link that showed how to run some other command every hour. I just changed the command they were using for the "restart httpd". I tested it and it seemed to work fine.
One takeaway from using that command was i still lost GUI access sometimes in the mornings. Since that command restarts httpd every hour, that means this is something that happens quickly. So, it's not likely something building up like an overloaded memory buffer. I think something in particular must be triggering it.
Joined: 04 Aug 2018 Posts: 1447 Location: Appalachian mountains, USA
Posted: Sun Dec 01, 2019 17:23 Post subject:
ellick wrote:
One takeaway from using that command was i still lost GUI access sometimes in the mornings. Since that command restarts httpd every hour, that means this is something that happens quickly. So, it's not likely something building up like an overloaded memory buffer. I think something in particular must be triggering it.
That observation seems important enough to be worth editing your ticket. BS seemed to really need hard info that yields insight. This is such an item. _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.
I just added to my ticket. I just wish more people would at least say they see it happening to them. I got the impression BS closed it originally because I was the only one talking about it. He just figured it wasn't an issue.
Since then a few others have added to it but not many. That's why I've said i'm not expecting to see it fixed except by accident.