Factory reset – locked me out
Home › Forums › Conduit: AEP Model › Factory reset – locked me out
Tagged: factory reset default passwords
- This topic has 10 replies, 3 voices, and was last updated 5 years, 1 month ago by
Ben Ward.
-
AuthorPosts
-
February 5, 2020 at 5:33 pm #30227
Lucian Corduneanu
ParticipantHi guys,
I recently upgraded to 5.1.2 from web UI. I performed a factory reset (first from web UI, then from button, holding more than 30 sec).
Now I’m locked out of the system. It seems like the default credentials are not working anymore. I tried:
- admin / admin
- admin / root
- root / admin
- mtadm / root
- mtcdt / root
Please help!
_ _____ ____ / \ | ____| | _ \ / _ \ | _| | |_) | / ___ \ _ | |___ _ | __/_ /_/ \_\(_)|_____|(_)|_| (_) MultiTech Systems Application Enablement Platform with mLinux GNU/Linux mLinux 5.1.6 mtcdt /dev/ttyGS0 Version: 5.1.2 Date: 2019-12-03T11:22:53 mtcdt login:
EDIT> I’m trying to connect via USB debug cable. Seems like the network interfaces are not well configured, and I don’t have access to web UI.
-
This topic was modified 5 years, 2 months ago by
Lucian Corduneanu.
February 5, 2020 at 5:42 pm #30229Lucian Corduneanu
ParticipantI read the following pages:
Hmm, this is interesting.
A Hard Reset (or Factory Default) will force 5.0.1 firmware into Commissioning
Mode to create a new Administrative Username and Password.Eliminate Default Username and Password. User prompted to set up a Username and secure Password upon Factory Default/Hard Reset, Commissioning Mode.
How to create a user in Commissioning mode please?
-
This reply was modified 5 years, 2 months ago by
Lucian Corduneanu.
February 5, 2020 at 6:05 pm #30231Lucian Corduneanu
ParticipantAlright. I figured it out.
There is no user at first, only through Web UI, you can create one.
I properly connected and configured the network interfaces so that the default 192.168.2.1 – address of the Conduit AEP is used, only after that I was able to first create the user, then login.
February 6, 2020 at 11:25 am #30233Jason Reiss
KeymasterThanks for the topic and follow-up.
February 6, 2020 at 12:44 pm #30234Lucian Corduneanu
ParticipantWell, it remains one question though:
How can I have ssh access with root privileges?
Seems like the users I created through the commissioning mode, is not among sudoers.
Any help is appreciated. Thanks 🙂
February 6, 2020 at 12:53 pm #30235Jason Reiss
KeymasterThe user created through commissioning mode should be able to elevate to sudo.
Try after login through ssh.
$ sudo -s
February 6, 2020 at 1:02 pm #30236Lucian Corduneanu
ParticipantWell, I tried many things.
admin@mtcdt:~$ sudo -s Password: admin is not in the sudoers file. This incident will be reported.
However, I think it’s worth mentioning, right before the first factory reset I edited with
sudo visudo
and maybe I messed up something there, in my attempt to gain root access.Isn’t the factory reset, fixing this as well?
If not, is there a way for me to gain root access somehow from Web UI?Thank you.
February 6, 2020 at 1:17 pm #30237Lucian Corduneanu
ParticipantDamn it, yeah it could be that this is the case.
I remember I commented out a line and enable another. Don’t know which, but I think I enabled the:# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALLFebruary 6, 2020 at 3:00 pm #30239Jason Reiss
KeymasterYou will need to do the firmware upgrade with 5.1.2 to restore the suders file. Factory reset only affects the config partition.
February 6, 2020 at 3:24 pm #30240Lucian Corduneanu
ParticipantExcellent! Thank you.
That was enough to restore it. I now have root access with
sudo -s
.March 6, 2020 at 9:30 am #30412Ben Ward
ParticipantThere is no user at first, only through Web UI, you can create one.
Thanks for spotting this, Lucian. I struggled to diagnose this because the factory reset AEP took on my router’s IP address (192.168.2.1) so http didn’t work. Resorting to USB debugging I then struggled to find any username/password combination that worked, so thought I’d lost my mind. Thanks for saving the AEP from the bin.
Also worth mentioning to save 20 minutes of messing about. The PATH is pretty useless, and ifconfig is here:
/sbin/ifconfig
Ben
-
This reply was modified 5 years, 1 month ago by
Ben Ward. Reason: messing about finding your IP address
-
AuthorPosts
- You must be logged in to reply to this topic.