Ctera c200 firmware

I have a ctera c200 v1, I replaced the original firmware with openwrt, now I want to go back to the original firmware, I have it here but I can't go back. how do i do

See the git commit:

Back to stock:
  - OpenWrt rootfs partition use unused space after stock firmware.
  - Full revert is possible.
  - Login via ssh and run:

 ## ctera_c200-v2_back_to_factory start ##
 . /lib/functions.sh
 part=$(find_mtd_part "active_bank")
 active_bank=$(strings "$part" | grep bank)
 if [ "$active_bank" = "bank1" ]; then
  echo "bank2" > /tmp/change_bank
 else
  echo "bank1" > /tmp/change_bank
 fi
 mtd write /tmp/change_bank active_bank
 reboot
 ## ctera_c200-v2_back_to_factory end ##

My ctera c200 is v1, what would it be like for v1?
I copy and paste these commands into ssh and then what do I do?

Whoops... sorry, I linked the wrong commit. Here's the right one:

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=3843c641d83b621e07f03753a5617ab27e55e262

Back to stock:
  - OpenWrt rootfs partition use unused space after stock firmware.
  - Full revert is possible.
  - Login via ssh and run: ctera_c200-v1_back_to_factory
1 Like

It worked, I can't thank you enough, I've been trying to reverse this situation for days. Thank you very much, God bless you.

You're welcome.

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks! :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.