I work for an ISP, my company use Mikrotik hAP ac2 as router for our customer.
When the password by default was empty we didn’t have any problem, however since they placed different password for all the new router we have different problem.
Sometime the password in the box and the one one the Mikrotik isn’t the same, or when a customer cancel their internet access they don’t always send back the router with the sheet with the default password.
In those case we can’t use the router anymore.
I’m trying to find a solution for those problem. Keeping track of the different default password is too bothersome, so I thought to use netinstall to inject a script taken from another Mikrotik hAP ac2 with the change of password added at the end of the file.
I intend to use netinstall to MAJ the firmware and add a testing config before sending back the router to another customer.
/!\ I am on linux so I use netinstall-cli
To test the solution I took a router I have access to, added 192.168.1.1/24 on the bridge then exported the config. At this stage I just wanted to test to inject the config on the router with netinstall so I didn’t add the change of password.
I tried the following command and it didn’t work :
./netinstall-cli -r -a 192.168.88.1 -s config.rsc routeros-7.16.1-arm.npk
Neither did the next one followed by a reset of the config :
./netinstall-cli -a 192.168.88.1 -s config.rsc routeros-7.16.1-arm.npk
The reset of the Mikrotik is done but the config isn’t injected.
Do you have an idea, for my problem of default password and to inject the config on the Mikrotik using netinstall-cli ?