Auto-Refresh is maddening!

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> General Questions
Author Message
SwervingLemon
DD-WRT Novice


Joined: 17 Nov 2019
Posts: 4

PostPosted: Sun Nov 17, 2019 5:22    Post subject: Auto-Refresh is maddening! Reply with quote
Who implemented the auto-refresh on the LAN status page? Its asinine and annoying.

1. What is the logic behind the sort-order? It's not by hostname, IP or MAC. It doesn't seem like it's by time, either.

2. The button at the bottom: "Auto Refresh is ON" That's not helpful. Why isn't a toggle? I know it's on, because every time I sort by IP, MAC or Hostname, it changes back to what appears to be completely random sort in about two seconds.

Seriously, either let me define the sort order or at least let me turn auto-refresh off on the same page. I just spent an hour assigning static IP's to stuff and I have to save the data to a spreadsheet if I want to see it sorted by IP for more than two seconds. Yuck.

Yeah, I posted this in general. While I feel it's a valid complaint and maybe belongs in feature requests or something, I gotta vent. I've rarely been this frustrated by senseless design. At least make the default sort-order by IP or something else meaningful.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sun Nov 17, 2019 9:16    Post subject: Re: Auto-Refresh is maddening! Reply with quote
SwervingLemon wrote:
Who implemented the auto-refresh on the LAN status page? Its asinine and annoying.

1. What is the logic behind the sort-order? It's not by hostname, IP or MAC. It doesn't seem like it's by time, either.

2. The button at the bottom: "Auto Refresh is ON" That's not helpful. Why isn't a toggle? I know it's on, because every time I sort by IP, MAC or Hostname, it changes back to what appears to be completely random sort in about two seconds.

Seriously, either let me define the sort order or at least let me turn auto-refresh off on the same page. I just spent an hour assigning static IP's to stuff and I have to save the data to a spreadsheet if I want to see it sorted by IP for more than two seconds. Yuck.

Yeah, I posted this in general. While I feel it's a valid complaint and maybe belongs in feature requests or something, I gotta vent. I've rarely been this frustrated by senseless design. At least make the default sort-order by IP or something else meaningful.


Welcome to the forum Smile

Regrettably your first post while that could have been asking for a better way to deal with your problem.
(Thanks @jxm for that solution, did not know that)

The GUI is not ideal/intended to deal with large lists of static leases.

I have my leases in a text file and just copy and paste them in the Additional DNSMasq Options field like this:
Code:
dhcp-host=XX:YY:ZZ:AA:BB:CC,PC-Download,192.168.2.89,1440m
dhcp-host=XX:YY:ZZ:AA:BB:CC,R6400v2,192.168.2.2,1440m


Another method is to manipulate the nvram variable which stores the leases directly.

Below some pointers which might help to get the best out of DDWRT and out of the forum:
1. Research your router, start with the supported devices wiki:
https://wiki.dd-wrt.com/wiki/index.php/Supported_Devices .
2. In the supported devices wiki you can see if your router is supported and what architecture your router has and if you are lucky also an install guide/wiki.
3. Post in the right forum, from the former step you can see if your router is Broadcom, Qualcomm/Atheros, Marvell or other, use that forum to post router specific questions, for networking questions post in the Advanced Networking forum and for other things in the General Questions forum.
4. When posting always state router model, build number and when applicable the Kernel version.
Describe your problem and how you think it can be solved.
Give as much detail as you can also provide your network setup if applicable.
For your Network setup, state what wiki you have used: https://wiki.dd-wrt.com/wiki/index.php/Linking_Routers
5. When posting pictures make sure the maximum width is not more than 600 pixels.
6. Do not hijack a thread, meaning do not post your own problem in someone else's thread. Just start your own thread.
7. If your post is answered and your problem solved, mark your thread with [SOLVED] (the header of your first post).
8. Do NOT use the router database, builds can be found at:
https://dd-wrt.com/support/other-downloads/?path=betas%2F2019%2F
All builds are beta including those from the router database.
9. Before uploading a new build to your router, research the build by looking in the build threads.
This is an example of a build thread for build 41328 for Broadcom routers:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321699&highlight=41328
Search build threads with the search function and search on build number.
10. Use the build threads from the former step to report success or problems.
11. For older Broadcom routers (Linksys WRT54 and E series) read the peacock thread although some of it is outdated: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=51486
Builds can be found in the Broadcom directory for Linux kernel 2.4, in Broadcom_K26 for Linux K2.6 and in Broadcom_K3X for Linux K3.X.
12. If you are sure you have discovered a bug, after asking and querying the forum, you can report a real bug in the bug tracker: https://svn.dd-wrt.com/
This is also the place where the commits/changes to the source are administrated.
13. Recommended reading:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=54845
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=54959
14. If you are happy with DDWRT and want it to live on then donate:
https://dd-wrt.com/donations/

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Nov 17, 2019 11:09    Post subject: Reply with quote
You may want to do a little deep digging into stock firmware for your device before you make such an uneducated ignorant rant. But anyway.
_________________
"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
SwervingLemon
DD-WRT Novice


Joined: 17 Nov 2019
Posts: 4

PostPosted: Sun Nov 17, 2019 21:34    Post subject: Reply with quote
kernel-panic69 wrote:
You may want to do a little deep digging into stock firmware for your device before you make such an uneducated ignorant rant. But anyway.


Say what you will. All of my points are valid.

The auto-refresh can't be turned off from the page that you're trying to view. You have to dive into another section entirely.

It won't sticky a selected sort-order so that the auto-sort does something useful.

The sort order it's picked doesn't appear to relate to any of the displayed fields.

It is asinine and annoying.
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Nov 17, 2019 22:21    Post subject: Reply with quote
My point was that auto-refresh is not specific to this firmware or custom firmware in general. Yes, the UI is a little .... painful. I wasn't disagreeing with you completely Wink
_________________
"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
SwervingLemon
DD-WRT Novice


Joined: 17 Nov 2019
Posts: 4

PostPosted: Sun Nov 17, 2019 22:30    Post subject: Re: Auto-Refresh is maddening! Reply with quote
egc wrote:


Welcome to the forum Smile

Regrettably your first post while that could have been asking for a better way to deal with your problem.
(Thanks @jxm for that solution, did not know that)


Hey! I appreciate the welcome message and, while my account is new here... I am not. I've been searching for solutions to this issue (which was not addressed) for quite some time.

@jxm - Thanks but - re-read what I posted. You re-stated exactly what I describe as the problem. The sort works fine... until auto-refresh discards the sort criteria on the refresh.

You either get auto-refresh or sorted columns. Not both.

I have had DD-WRT on about twenty routers between work and home over the years. It's not a model-specific or version-specific issue (except inasmuch as some early versions of DD-WRT didn't have either the column sort at all or didn't auto-refresh or both), which makes it a bad idea to post it in only a model-or-version-specific subcat as the issue is basically endemic to almost all modern builds of DD-WRT.

The problem is exactly as described - the auto-refresh is annoying because the columns don't have a default sortorder or their sort criteria is bogus. You have to leave the section and come back to turn auto-refresh off, and it won't sticky a sortorder so even if you're manually refreshing, it ditches the sort.

I know I could write a list and copy it into the DNSMASQ options, and thank you for suggesting that. It would have helped in some other instances...

Unfortunately, that doesn't address the issue that the auto-refresh discards the selected sortorder and has a default sort criteria that is apparently fueled by a RNG, and has been for years across nearly every build.

So... where would YOU post a multi-model, multi-version persistent annoyance that you just want to vent about, well aware you'll get misinterpretations of the problem (jxm), suggestions to "do foo, not bar" (yours) and silly, pointless insults (kernel-panic69) by people who assume you don't understand your own problem?

I hate to say it, but you three have collectively illustrated every suport-forum stereotype. At least two of you were somewhat polite...

I'll fix it myself. Thanks for letting me rant. Very Happy
SwervingLemon
DD-WRT Novice


Joined: 17 Nov 2019
Posts: 4

PostPosted: Sun Nov 17, 2019 22:34    Post subject: Reply with quote
kernel-panic69 wrote:
My point was that auto-refresh is not specific to this firmware or custom firmware in general. Yes, the UI is a little .... painful. I wasn't disagreeing with you completely Wink


Maybe I have some exceptionally bad luck.

It's been the same on every device I've installed it on in the last five years. Am I unwittingly getting devices that all use the same UI in their build by coincidence?
kernel-panic69
DD-WRT Guru


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

PostPosted: Mon Nov 18, 2019 2:27    Post subject: Reply with quote
Perhaps, perhaps not. What I can suggest is feel free to download the 20+ GB of source code for this firmware, set up your development environment, and have a crack at fixing things. Then there's the whole, "Gee, were these support or feature requests ever taken care of, or are these tickets going to stay open until Armageddon?".... kinda the fun of having a single developer with very few folks being helpful. I kinda gave up because I don't have a clue and because you can submit a problem until you're blue in the face and it might get fixed, or it might not. Sorry if my being a little jaded comes off as being rude... but, there is, in fact, an auto-refresh in plenty of stock firmwares out there. They may be a little cleaner, maybe not, who knows. I would actually have to visually look at which page you have issues with specifically and see, but I honestly don't think other firmwares out there behave the way you expect, perhaps. If they do, it would be nice to clean the issue up.... I mean, besides the non-W3C or non-WSYWIG compliance and such. My apologies if I seem rude, but you're preaching to the choir, as am I, so it is what it is.
_________________
"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
nutte
DD-WRT Novice


Joined: 18 Mar 2012
Posts: 31

PostPosted: Thu Jan 28, 2021 6:01    Post subject: Reply with quote
I didn't see a proper response to this. Sorry if I missed it, and I know this is old, but I agree that it can be really annoying so wanted to make sure that anyone who searches for an answer can find an easy-to-follow solution:

a) Go to Administration->Management.
b) Enter 0 in "Auto-Refresh (in seconds)"

and click Save/Apply, and the UI should not refresh any more.
kernel-panic69
DD-WRT Guru


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

PostPosted: Thu Jan 28, 2021 7:14    Post subject: Reply with quote
Thanks for reviving this one, oh boy. It's mainly a browser-side problem, I'm thinking. I personally use FF ESR or Pale Moon standalone separate from my internet browsing and have had very little issue. You can tune the auto-refresh frequency to your liking, though.
_________________
"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
[Syntax]
DD-WRT Novice


Joined: 10 Aug 2021
Posts: 1

PostPosted: Tue Aug 10, 2021 18:41    Post subject: Reply with quote
First off, thanks nutte, for the response with an actual answer/solution.

I signed up on the forum just to thank you for the answer, seeing as how everyone else just criticized the OP, for where he posted it, and for criticizing the design which frustrated the crap out of me as well. Instead of someone posting a solution.

I was wondering where the setting was as well, admittedly I didnt do a lot of digging because it seemed it should have been apparent, or easily locatable.

Side note: max setting for refresh is 99 seconds.. guess its better than nothing.. would be nice if it held a particular sort order instead.
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Aug 10, 2021 19:35    Post subject: Reply with quote
This thread started with a rant with no look into how to fix the "issue", or rather no "fix" submitted to the lead developer in the wake of it. The default sort order will now be considered a known quirk until someone takes the time to actually address the "issue" or submit their "fix". I'm fairly certain that the default sort goes by how the information is stored in nvram or ram aside from the RNG factor. SO if you really want a "neat" sort order, then take the time to either 1) create and submit a patch to fix things; or 2) enter the data in order you wish it to be permanently displayed and see if that works for you. Gotta love folks who come here, stir the pot, and then disappear without submitting their "fix" to the problem (at least I don't recall any commits for this?). I think I will actually take the time and send this up the food chain to see what kind of response I get.

P.S. I just noticed @jxm's posts are gone and I can't seem to pull *any* of his posts up from the forum. Perhaps this is due to that wonderful debacle from the Black Hole incident Embarassed Well, ain't that some 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
Display posts from previous:    Page 1 of 1
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> General Questions 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