Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.71k stars 252 forks source link

Help reverting back to original firmware on RUTX50 device. #3407

Open QRUXEL opened 1 week ago

QRUXEL commented 1 week ago

Expected Behavior

A guide to help reverting back to Teletonica firmware

Current Behavior

There is a guide for installing the firmware, but it does not say anywhere how to save a firmware backup of your boot config or firmware. I admit I'm not a firmware developer or well educated in Linux systems, but I really need to get the original firmware back ASAP and I don't know what to do and very afraid of bricking the device. When I try flashing the teltonika original firmware from ssh it says that the device "teltonika, rutx50" is not compatible with the image target "teltonika, rutx" Should I force the installation anyway with -F?

Specifications

Teltonika, rutx50

Ysurac commented 1 week ago

I never tried. Maybe something like, but really not sure for the mtd part...:

   $ echo 1 > /proc/boot_info/rootfs/primaryboot
   $ cat /proc/boot_info/getbinary_bootconfig > /tmp/bootconfig.bin
   $ cat /proc/boot_info/getbinary_bootconfig1 > /tmp/bootconfig1.bin
   $ mtd write /tmp/bootconfig.bin /dev/mtd0
   $ mtd write /tmp/bootconfig1.bin /dev/mtd1
QRUXEL commented 1 week ago

Hello Ysurac and thanks for helping,

The first command results in error "can't create /proc/boot_info/rootfs/primaryboot: nonexistent directory"