problems with import .rsc files on mAP Lite

Hi all,

I wanted to export the configuration of my mAP lite in a *.rsc and import it after a reset of the device, but it doesn´t work. The device gets in some status it doesn´t work any more and a have to hard reset it via reset button.
What can i check - maybe some errors in configuration file? If this would work to import those *.rsc files, is it then possible to chance some information (like ip address or dhcp range) before importing in a new device? I just wanted to ask - in that case i want to import it to exactly that device 1:1 from that i have exported that file.

The MikroTik RouterOS is 6.44 (latest version atm)

Thanks in advance and have a nice day!

TomBB

Better you use “Backup” for such things.
ROS does a backup when you reset, so you should see that file under “FILES”.

The export function only shows things that are different from default config, which can indeed be an issue
to reinstall a device after reset or migration to new ROS.

If your script is not too long, you just copy it from a text editor (or part of it) and paste it into the Winbox terminal,
you will see where an error occurs and where it fails/get stuck. Often the issue is that names for Wifi i/f have not been correctly assigned.
Like you use MY-WIFI for the master i/f in your rsc file, but after reset the i/f is named wlan1…
then this create lots of issues and router could hang.

Hey

rsc is just a script, so you can execute it line by line, with any modifications you want.
Normally, export & import on same version should just work. If it doesn’t try to pinpoint what fails and open a ticket with support, so they can fix it for the future releases.

I had the same problem, caused by a Certificate for a VPN: it is not exported in the “/ export”, but required for the execution of the script. As the script is not protected from errors, it aborts early in the import process and leaves the machine in unpredictable state.

As I have activated ipv6, when I have a problem like that I usually recover the device by using “ping ff02::1%eth1” from outside, connected to ether1, and then ssh admin@ff08:xxxx:xxxx:xxxx to the neighbor local ip and recovering it from command line. I use the same trick to reset completely configuration, connect and execute the .rsc file line by line to know what is wrong.

Ok, thank you for your replies. I will check line by line or make some “real” backups and import them on my device. Is there some way to manage the configuration of more devices via admin tool? Sorry for that question, i have not really much experience at that mikrotik mAP lite - device..

Best regards,
TomBB