Problem with using config backup on other Router same model

Hi everybody,

we tried to use a config backup (from LuCI) of a MT300N-V2 Box and want to use it on an other Box (MT300N-V2). Hardware is the same, firmware, openwrt, kernel all same versions.

If i setup the new box and restore the backup over LuCI, i cant login to GLI UI (ADMIN PANEL) anymore!
If i restore the config on the original hardware, no issue!

But if this Box is defective, i want to use the backup on an other Hardware (same model).

LuCI and SSH is working fine after backup restore, is there a way to reset ONLY the GLI UI password via shell?

passwd is the standard command to change it

Hi Jeff this only changes the root password, but NOT the password of the UI

except LuCI (LuCI usese root password)

So maybe its the only way to paste the hash of the password in glconfig?!

The admin hash is based on a salt which could only be generated on the original router. So you cannot back up the hash and use it on a new router. But there is an workaround of this and I will send you via pm.

@alzhao

We too are experiencing the exact same issue. After configuring the first GL-AR300M to our liking, we created a configuration backup through LuCI, expecting to deploy that configuration to the additional GL-AR300M units. As @pseffect described at the top of this thread, we are unable to login to the GL user interface, though we can log into the LuCI interface.

Would you be so kind as to share the workaround with me as well?

OK. Sent to you via pm

Workaround is testet and works fine! :smiley: