Hi there,
I tried to update of my router os to 7.21.4 which currently has 7 version - Model of the routerRB912R-2nD mipsb
let me know if you can help
Thanks
Hi there,
I tried to update of my router os to 7.21.4 which currently has 7 version - Model of the routerRB912R-2nD mipsb
let me know if you can help
Thanks
It usually helps if you follow the "what I did"; "what I expected"; "what happened instead" including any possible observation or diagnostic way of asking questions.
Anyway, this is how you do it correctly:
Hi Luker,
Thanks man. tried and it worked.
It shows current firmware version is 7.19.6 ?
But ROS version is 7.21.4 ?
Firmware is not the same as ROS, keep that in mind.
Confusing question ...
Is there an error message being shown ?
What version or ROS are you actually trying to go back to ?
So once i upgraded that to any 7.21 or 7.20 , its not allowing to downgrade them below 6.49.8 eventhough its factory firmware is 3.41
/system/device-mode/update install-any-version=yes
once i run this command to change the allowed version
i get this
update: turn off power or reboot by pressing reset or mode button in 4m23s to
and i can only access this router remotely
That's the whole point of device-mode settings as it has been implemented.
You need to physically push a button or power-cycle the device.
Why would you want to go back to below 6.49.8 ?
we are doing some os and firmware update automation project for our company since they manage a lot of routers
just to do some testings using the automation script
I see.
Latest device-mode changes made that quite a challenge for automating this.
There have been already quite some comments about it here on the forum.
There is a bit of confusion here.
First, the "firmware" aka RouterBoot and the RouterOS versions are not the same, and they shouldn't be confused. The first is essentially the bootloader/BIOS, the latter is the main operating system. For some time now, Mikrotik has decided to unify the version numbering for them (so essentially they issue a new version of the bootloader with every version of RouterOS, even if there is no change in it.) But the two are totally separate.
There are two types of restrictions for what version can be installed (downgraded to). The first is the one one you find in system->resources as "minimum version". This indicates hardware compatibility, i.e. OS versions lower than this don't contain the necessary drivers to run successfully.
The second id the device mode. By default, device mode doesn't preclude you from downgrading. It only prevents you from downgrading below a specific version. This can be found in /system device-mode print
The goal of the device mode feature is to prevent an attacker that has gained remote access to the router (essentially: botnet) from doing unlimited harm. If an attacker could - at will - downgrade the OS version arbitrarily, that would defeat many of these protections, so device mode prevents downgrades below a certain version - presumably the last where a significant enough vulnerability was found.
Of all the device mode features (that are very controversial in the eyes of many on this forum), actually this is the one I wouldn't disable. This does not prevent you from testing (or executing) remote up/downgrades, it just has to happen between recent enough versions.