Posted: Sat Jul 22, 2017 14:39 Post subject: Use a script to restart your browser
I'm on Ubuntu and Chrome.
In order to force a logout of dd-wrt web interface I made a script to shutdown Chrome and then restart Chrome. As an added "feature" it logs me out of everything that the browser or service doesn't automatically log me into. But that works for me. I also made a launcher for the script and pinned it to my Launcher bar. Here's my script:
#!/bin/bash
# closes google-chrome to force logout, then restores session.
pkill --oldest chrome
google-chrome --restore-last-session &
This should be easily adapted to Windows and may work directly on OSX.
I know this is an old topic, but there's still no logout button. I wonder if there is a command that could be run from the Commands tab in the dd-wrt web interface that would force a logout somehow.
I am using a double router setup and this does not work for me. It leads me right back to the exact same page without loading anything. Do I need to have one router on a different subnet mask or something?
Joined: 16 Apr 2018 Posts: 107 Location: Milwaukee, WI
Posted: Sat Dec 29, 2018 3:08 Post subject: Re: How to logout from control panel?
modervador wrote:
DHC_DarkShadow wrote:
Would there be any advantage to having a logout? Should it be put on the "enhancement" wish list?
Yes, it would help. After you logout, you can keep all your other your browser windows/tabs open but now you (or anybody else) can't simply browse to the router GUI (by accident or on purpose) without entering the user/passwd.
and hit enter. When it asks for password again, hit cancel. Congratulations, it won't let you in till you provide the correct username/password again. I'd still prefer a logout button on every page, like on email and banking websites.
I use https on my webif. This workaround doesn't seem to work with that. Might you have a suggestion for https logout? _________________ DanRanRocks - Tech Tutorials by Dan Ran
Joined: 16 Apr 2018 Posts: 107 Location: Milwaukee, WI
Posted: Mon Feb 24, 2020 4:56 Post subject:
d0ug wrote:
Exit your browser when you are done?
Not the solution I was hoping for but I guess thats about all I can do. Hopefully they one day implement a logout button. _________________ DanRanRocks - Tech Tutorials by Dan Ran
and hit enter. When it asks for password again, hit cancel. Congratulations, it won't let you in till you provide the correct username/password again.
The feature and topic of logging out of the DD-WRT webUI has been discussed in several other threads, starting with the most recent and going back to the oldest thread in the first page of web search results:
I don't know if this is on the radar for either @BrainSlayer, @the-j0ker, or @egc to implement at some point, but this wouldn't be too difficult to add to the floating locked footer buttons or a link in the common page header. _________________ "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: 08 May 2018 Posts: 14126 Location: Texas, USA
Posted: Wed Oct 05, 2022 15:44 Post subject:
Yep, looks like we're finally getting a working logout function after all these years. Implementation started a while back, apparently, just never finished:
Looking forward to seeing the rest of the bits fall into place. Also, @yoyoma2: That workaround has been around a long time, it isn't my work... but thanks for that! --- Anything to fuel the fire of ire and animosity that is fed by folks' overtly psycho-hypersensitive focus on me is welcomed. People are getting their lips ripped by all of the actual bogus forum accounts. _________________ "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: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Wed Oct 05, 2022 15:56 Post subject:
yoyoma2 wrote:
Thanks for the logout workaround @kernel-panic69. Add one vote for an actual logout button anywhere.
You'll get it soon as I place the button somewhere to call the new function dologout.asp magic from a button somewhere and decide what todo with the old logout.asp. Its obvious its helpful function,if people are averse to closing the browser.
Not in a terrible rush but it will happen sooner than later.
You'll get it soon as I place the button somewhere to call the new function dologout.asp magic from a button somewhere and decide what todo with the old logout.asp.
Terrific! A long standing small annoyance, like the logout button absence, makes the fix very satisfying.
Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Thu Oct 06, 2022 15:35 Post subject:
Its already working but I dont have test build yet to confirm the last changes that also fix the failed CSS loading issues, no server side delays needed anymore finger crossed.
Im a bit behind getting test builds to ensure a minimally bug free experience even if this is technically expected to be buggy here and there.
Im finally with my head above water DD-WRT side on my todo list that took 2 years to clear about 80% of crap, meaning personal circumstances permitting I can start working on flexible layouts and funky stuff like that soon enough.
For now logout wise expect basic probably not ideal accesibility/usablitly wise but somewhat working for elegant styles/inpired themes, legacy shit like brainslayer wikar need to be inline for next round.
Please be a little more patient while the iron kinks removes.
Joined: 08 May 2018 Posts: 14126 Location: Texas, USA
Posted: Thu Oct 06, 2022 18:16 Post subject:
Test builds were up for Northstar devices within ~10 minutes of your post. Flashed r50409 alpha onto my R7000P, and not knowing what I was supposed to look for and where, it wasn't until I tested kromo UI style that I saw where the logout button was and noticed that kromo UI style is somewhat b0rked now. If you click on logout and log out, then log back in, anything you click on will log you out, at least on kromo. I also noticed the sticky footer on pretty much all UI styles is not present on the Services -> Services tab. All my browsers clear cache on exit and that laptop only gets fired up to play with DD-WRT on whatever router is on the bench, so it's not a cache issue - but I reloaded and used cache override for the sake of argument with no changes in behavior.