So what does this mean for upgrades? The deployment tool is great, but it works best in the following scenarios:
Flashfig is a useful and at the same time, very frustrating feature of Routerboards.
So with that in mind – I came up with the following solution
This, when used as the config to be loaded by flashfig, achieves the following:
1. Adds basic config (DHCP on ether1, 192.168.88.1/24 on ether2)
2. On startup, if the version doesn’t match the target version wait for a DHCP lease on ether1 then continue
3. Fetch a file matching the architecture + RouterOS version detailed in the script (6.34.6) from 192.168.88.254
4. Start flashing LED3 on the target router to indicate a download is occurring
5. Reboot when download is finished OR start flashing LED4 to indicate the download failed
6. Upon startup if the version does match the target version, flash LEDs 3-5 to indicate upgrade is complete
7. Remove upgrade scripts
8. Upon next boot – reset LEDs to default and remove final script.
To make this work, you must also have a second MikroTik designated as the deployment router (as noted above) from which all the devices being upgraded can retrieve their files from. I would recommend an RB750/450/hAP and it needs the following basic configuration:
Final notes: make sure to adjust the version, ip address and directory in the script depending on your setup.
Feel free to discuss, ask any questions or make suggestions on the reddit thread for this article here: