Netinstall and default password

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 ?

You gave the customer GOD access to the router? Why would you do that?

Should just be part of your inventory management.

First thing I do with every new device:

Take picture from sticker with passwd, let OCR do its thing and put the info away so I can find it back.
Then I add my own user and remove admin.
And then we start …

kirasakuya:
If you have a lot of devices, your distributor should be able to provide you a txt file with mac address and passwd.

Change the name :

Send the initial config file. routerOS expects filename to be autorun.scr.