Community discussions

MikroTik App
 
Taomach
just joined
Topic Author
Posts: 4
Joined: Mon Aug 14, 2023 6:33 pm

Downgrade RouterOS below the factory version

Mon Aug 14, 2023 6:39 pm

I have a hAP ac^2 with a factory software version 6.45.9. I need to downgrade it to version 6.45.8 that uses an older bootloader. Is that possible?
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 3096
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Downgrade RouterOS below the factory version

Mon Aug 14, 2023 6:42 pm

Officialy: NO. You can try but there are no promises taht it would work.
 
Taomach
just joined
Topic Author
Posts: 4
Joined: Mon Aug 14, 2023 6:33 pm

Re: Downgrade RouterOS below the factory version

Tue Aug 15, 2023 11:42 am

Officialy: NO. You can try but there are no promises taht it would work.
Okay, but how do I try? Netinstall didn't work for me.
 
User avatar
tangent
Forum Guru
Forum Guru
Posts: 1674
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Downgrade RouterOS below the factory version

Tue Aug 15, 2023 11:57 am

There are lots of reasons why netinstall might fail.

My preferred method might look more complicated on its face, but I think it's more inherently reliable and, in the end, simpler.

I'm not telling you it will work for this particular case, but at least if it fails, you get a text log of what it tried and where in the process it failed. GUIs hide things.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13202
Joined: Thu Mar 03, 2016 10:23 pm

Re: Downgrade RouterOS below the factory version

Tue Aug 15, 2023 12:26 pm

Officialy: NO.

AFAIK all official install modes (native inside running ROS, Netinstall) will check the "factory-software" (and "factory-firmware") and will refuse to install software (and routerboot firmware) of lower version.

There are other, more "hacker way" possibilities to install older firmware, but are also highly prone to errors ... and in this case, you may loose ROS license and/or brick device for good. These include using 3rd party hardware and software.

I wonder why you want to run so an ancient ROS version (6.45.8) on your hAP ac2? Hacking disappropriated device (to put it mildly) is one use case that comes to my mind.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6932
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Downgrade RouterOS below the factory version

Tue Aug 15, 2023 12:41 pm

I wonder why you want to run so an ancient ROS version (6.45.8) on your hAP ac2?
First question I asked myself too ...
 
Taomach
just joined
Topic Author
Posts: 4
Joined: Mon Aug 14, 2023 6:33 pm

Re: Downgrade RouterOS below the factory version

Tue Aug 15, 2023 1:04 pm

I wonder why you want to run so an ancient ROS version (6.45.8) on your hAP ac2? Hacking disappropriated device (to put it mildly) is one use case that comes to my mind.
Because later bootloaders are not supported by OpenWRT, which I want to install on my device. I specifically chose this model because it was listed as fully supported by the latest OpenWRT.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13202
Joined: Thu Mar 03, 2016 10:23 pm

Re: Downgrade RouterOS below the factory version

Tue Aug 15, 2023 1:31 pm

... OpenWRT, which I want to install on my device.

Fair enough. But as I wrote, I'm affraid you can't force to install routerboot with version lower than factory default using official Mikrotik methods.

I wonder, though, where does the information about routerboot version up to and including 6.45.8 come from? Official OpenWRT page warns against routerboot v7, not the earlier ones?

[edit] OK, I found the page saying routerboot 6.46 or newer isn't OK ... but that would mean that 6.45.9 should be fine?
Last edited by mkx on Tue Aug 15, 2023 1:44 pm, edited 1 time in total.
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 3096
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Downgrade RouterOS below the factory version

Tue Aug 15, 2023 1:41 pm

...Because later bootloaders are not supported by OpenWRT, which I want to install on my device. I specifically chose this model because it was listed as fully supported by the latest OpenWRT.
Have impression that you are on wrong forum :) BTW ... what means "fully supported"?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13202
Joined: Thu Mar 03, 2016 10:23 pm

Re: Downgrade RouterOS below the factory version

Tue Aug 15, 2023 1:46 pm

Have impression that you are on wrong forum :)
The problem is that OpenWRT sites don't deal with problems like @OP has, they simply state "boot ROS and downgrade routerboot" without any details or warnings.
 
Taomach
just joined
Topic Author
Posts: 4
Joined: Mon Aug 14, 2023 6:33 pm

Re: Downgrade RouterOS below the factory version

Tue Aug 15, 2023 3:12 pm

I wonder, though, where does the information about routerboot version up to and including 6.45.8 come from? Official OpenWRT page warns against routerboot v7, not the earlier ones?

[edit] OK, I found the page saying routerboot 6.46 or newer isn't OK ... but that would mean that 6.45.9 should be fine?
Here it says thay I need 6.45.8 or earlier.(
 
VeeDub
just joined
Posts: 10
Joined: Fri Jun 02, 2017 4:11 pm

Re: Downgrade RouterOS below the factory version

Wed Aug 16, 2023 10:05 am

Hello,

I've come across this thread in a search for a solution to my issue.

I've recently purchased an RB4011iGS+ which has come with v7 rather than v6, like all my previous 4011's.

I have a script that appears to be incompatible with v7.

I've not used v7 and not really a fan either as over the last couple of years I have seen lots of people experiencing issues - which I could well do without.

Some of the earlier posts, mentioned that there aren't any official ways, can you share some links on unofficial resources that I could review?

I'm annoyed that there was no indication that v7 is now being pre-loaded, and I'd like to consider downgrade options before I think about trying to understand what is going to be involved if I decide to try and convert the script.

Thanks

VW
 
User avatar
tangent
Forum Guru
Forum Guru
Posts: 1674
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Downgrade RouterOS below the factory version

Wed Aug 16, 2023 11:02 am

Give up. Convert the script.
 
VeeDub
just joined
Posts: 10
Joined: Fri Jun 02, 2017 4:11 pm

Re: Downgrade RouterOS below the factory version

Wed Aug 16, 2023 1:19 pm

Give up. Convert the script.
Hello tangent,

The router supports v6, I have the exact same model running v6. Would that not mean that converting to v6 ought to be possible, if not fairly straight-forward?

But assuming that you're suggestion is the best option (which I'm not convinced that it is); is there documentation that describes the differences between scripting in v6 and v7?

For example the following code generates an error when I try to import the script
:set pong [/ping $addr routing-table=$tableName count=$count]
The option
routing-table
doesn't appear to exist for the ping command in v7
 
User avatar
tangent
Forum Guru
Forum Guru
Posts: 1674
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Downgrade RouterOS below the factory version

Wed Aug 16, 2023 2:14 pm

The router supports v6. I have the exact same model running v6.

I believe that there is a given router design called by the name "RB4011" that supports v6, but I do not believe that every "RB4011" shipped by MikroTik supports v6. Until you have opened both up and compared that they have the exact same chips inside, you cannot say they are "the exact same."

Two cars sit side-by-side in the parking lot, both called a "Camaro". Are they "the exact same?" Well, they're both red, and they both have four tires, a steering wheel, and run on gasoline. Trick is, one was made in 1973 and the other in 2023. They probably don't take the same spark plugs.

Would that not mean that converting to v6 ought to be possible, if not fairly straight-forward?

My information comes from MikroTik, confirmed here in the forums by MikroTik employees every few months; do a search. As far as I can tell, your source is wishes and hopes.

is there documentation that describes the differences between scripting in v6 and v7?

There is, but it's thin to the point of near-nonexistence. It is, alas, not the feature-by-feature conversion guide one should expect given a major breaking release.

(I say this as the author of documentation of that type, for my own work products.)

Worse, the current v7 /ping docs claim the routing-table option exists, but local testing shows that it does not.

You have grounds to report a bug.
 
VeeDub
just joined
Posts: 10
Joined: Fri Jun 02, 2017 4:11 pm

Re: Downgrade RouterOS below the factory version

Wed Aug 16, 2023 2:28 pm

Hello tangent,

Thanks for sharing the link and info re the script commands. That is helpful.

This update is a PITA.

I'm going to take this up with the reseller.

Regards,
VW
 
User avatar
tangent
Forum Guru
Forum Guru
Posts: 1674
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Downgrade RouterOS below the factory version

Wed Aug 16, 2023 2:32 pm

I'm going to take this up with the reseller.

They're unlikely to be able to produce v6-era RB4011s for you on demand, and if they can do it at all, they won't be able to do it indefinitely into the future. Unless you're leaving MikroTik entirely, a far more productive solution is to take the product as you find it and make it work.

Reporting the missing feature to MikroTik has a real chance of getting you the feature you want.
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1352
Joined: Mon Sep 23, 2019 1:04 pm

Re: Downgrade RouterOS below the factory version

Wed Aug 16, 2023 11:14 pm

I wonder why you want to run so an ancient ROS version (6.45.8) on your hAP ac2? Hacking disappropriated device (to put it mildly) is one use case that comes to my mind.
Because later bootloaders are not supported by OpenWRT, which I want to install on my device. I specifically chose this model because it was listed as fully supported by the latest OpenWRT.
Weird, I think I've updated my hEX to the latest v6 (.49 something) and OpenWrt runs fine with it.
Surely with v7 not so much.
Wish MikroTik was more open source friendly.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4490
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: Downgrade RouterOS below the factory version

Thu Aug 17, 2023 12:23 am

I can see both sides on OpenWRT. Mikrotik could make bootloader more friendly to OpenWRT ... but then it becomes a cycle: if the next driver doesn't work/has issue...what to they do? e.g. say you got OpenWRT installed, then next Wi-Fi doesn't work on some MT platform. Is that the best place for "tough luck bro we don't support OpenWRT"...AFTER it's installed ;).
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1352
Joined: Mon Sep 23, 2019 1:04 pm

Re: Downgrade RouterOS below the factory version

Thu Aug 17, 2023 2:19 am

You lost me right after "..it becomes a cycle:" .
Care to be more specific about that?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10560
Joined: Mon Jun 08, 2015 12:09 pm

Re: Downgrade RouterOS below the factory version

Thu Aug 17, 2023 12:17 pm

I think there is no support AT ALL for running OpenWRT on MikroTik hardware, and it is even discouraged by making changes to e.g. bootloaders.
And I think that is not so unreasonable, I see it more like "when you want RouterOS you have to buy our hardware" than the other way around. When you want to run OpenWRT, why bother with MikroTik hardware at all??
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1352
Joined: Mon Sep 23, 2019 1:04 pm

Re: Downgrade RouterOS below the factory version

Thu Aug 17, 2023 12:19 pm

Because they have some good hardware at a decent price.
Though, crippled by the customized bootloader.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13202
Joined: Thu Mar 03, 2016 10:23 pm

Re: Downgrade RouterOS below the factory version

Thu Aug 17, 2023 12:26 pm

Though, crippled by the customized bootloader.

It's not crippled ... it's custom bootloader, run on custom hardware, to load custom OS ... so perfect (and legitimate) combination. And I don't see why should vendor of such (a complete package) bother about some 3rd party projects ... One thing would be if MT actually tried to break OpenWRT on their hardware. But in this case that's not it, MT had to do some changes in bootloader so that ROS v7 could boot. If that breaks unrelated projects ... too bad for them.
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1352
Joined: Mon Sep 23, 2019 1:04 pm

Re: Downgrade RouterOS below the factory version

Thu Aug 17, 2023 12:37 pm

Well one thing, they ported yaffs to kernel 5.6.whatever, which is a total waste of time maintaining in future kernel updates.
And you wonder why they stick with the same version for eternity.
But hey, they have time for doing stupid things for no reason! :D
 
pe1chl
Forum Guru
Forum Guru
Posts: 10560
Joined: Mon Jun 08, 2015 12:09 pm

Re: Downgrade RouterOS below the factory version

Thu Aug 17, 2023 12:57 pm

Because they have some good hardware at a decent price.
On the other hand, you see the RouterOS fans complain about the MikroTik hardware, telling the Chinese have so much more attractive hardware on Aliexpress, and then they attempt to run RouterOS on that. And start whining about missing drivers.
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1352
Joined: Mon Sep 23, 2019 1:04 pm

Re: Downgrade RouterOS below the factory version

Thu Aug 17, 2023 1:05 pm

You can't please everyone.