Hi,
Partitions feature is nice and I would like to use it for deploying new configuration. New Dummy rules in 6.30 caused lots of trouble, so I am looking for a way to safely reconfigure a router at a remote location.
The manual is quite inspecific for this feature: http://wiki.mikrotik.com/wiki/Manual:Partitions
If a partition should fail for some reason (failed upgrade, problematic configuration introduced, software problem), the next partition will boot instead.
What is problematic configuration and how is it determined?
Take this config script init-error.rsc:
/system identity set name="before"
:foreach item in=[ /interface wireless security-profiles find ] do { /interface wireless security-profiles remove $item }
/system identity set name="after"
With an import this fails because I´m trying to delete the default security profile:
/import init-error.rsc
not enough permissions (9)
So I tried to take this error as an “problematic configuration”
/system reset-configuration keep-users=yes no-defaults=yes skip-backup=yes run-after-reset=init-error.rsc
and hope it would boot the other partition. But it keeps booting the current partition (seen by serial connection):
MikroTik 6.30
before Login:
The question is: Is there a way to trigger the reboot with the next partition?
Perhaps the other possibility would be a Meta Router, but partitions seemed smooth.
Edit: MetaRouter is no option because I need access to the USB disk from within the MetaRouter and this currently no supoorted.