GL-MT6000 - Admin Panel Password not working

Hi all,

I have had my GL-MT6000 setup for around 3 weeks now and was able to access the Admin Panel with no issue. After a reboot today I can no longer access the Admin Panel. But I can access with the same password on /cgi-bin/luci/admin/status/overview. I can also SSH into the router with the same password as before, any way to reset the Admin Panel password after SSH into the router so that I don't have to factory reset?

While connected via SSH run the command passwd

Not sure if it will help, but I think so.

I did run passwd and changed the password but it still doesn't let me into the Admin Panel. Do I need to restart the router after running passwd?

Tbh I am not sure if this works at all because I am unaware what the GUI uses for comparing the password.

Maybe @bruce can help.

I just tried restarting after running passwd and it doesn't work. Hopefully they can help

passwd can do change the password for the root, which can login of the GL GUI/Luci/SSH.

What error in the GL GUI feedback? May I know have you update the (all) plugins, including the nginx?

Hi Bruce,

I get the following error when trying to sign into GL GUI:

I believe all plugins are updated based on what I can see from the Luci GUI

You updated the plugins, right?

This destroys the GL GUI. Please don't upgrade plugins. Never, ever.
Unfortunately, you might need to reset your device now because the GL GUI is broken.

I haven't updated the plugins but there's nothing in the update list. Why does updating the plugins break everything?

Because one of those plugins is the lua compiler - and it breaks everything. :frowning:
So even some opkg upgrade whatever command can break everything.

Okay, that makes sense, any way of backing up the config before doing a factory reset?

May try to update the GL firmware in the Luci if keep current settings, even it's ok if the same version.

1 Like

What do you mean sorry? how do I update the GL firmware?

https://[router-ip]/cgi-bin/luci/admin/system/flash then you can upload a new image.
You can even generate a backup there.

Firmware is downloadable here: GL.iNet download center

2 Likes

This worked, I flashed the firmware from the download and was able to keep the current settings. It let me sign back into the GL GUI with the root password.

Thank you both for your help

1 Like

@admon - hijacking this post and wanted to ask what "destroys the GL GUI" and why is it possible to upgrade plugins if this is known to break it?

i too havent updated plugins but i had the same message as @jordfoz16 where i couldnt access the router log in with password, however could with Luci.

had to factory restore the device and restore my configuration.

just a thought: is it possible to set the reset button on the back of the MT6000 to have certain functionality? rather than hold 10s to reset device, is it possible to have it so that you can hold 5s to reset password as well as hold 10s for reset device?

regards,
Andy

You need to understand the OpenWrt is a real operating system running a few processes to act like a router. If you upgrade some parts (or install plugins that overwrites stuff) it could break the main functionality.

The GL GUI is just some more or less fancy website, not a real application itself. This complex ecosystem provided the known feature-sets of the GL devices.

If you upgrade packages, they can remove functionalities needed - which can cause issues. Same for upgrades in lua which is used as the main programming language on the device spoken for GL components.


Because OpenWrt (and GL) is about freedom.
Freedom of break things is included as well :wink: