hack-gpon / hack-gpon.github.io

https://hack-gpon.org/
MIT License
149 stars 81 forks source link

Go back to image 0 #328

Closed benbgg closed 5 months ago

benbgg commented 5 months ago

Hi. I've tried booting Huawei modified image 5-1. It does not work (I still see inbound PADO on VLAN 1421)

I tried to reverse the procedure to boot from image 0 by doing: fw_setenv committed_image 0 fw_setenv image0_is_valid 0 reboot But when I reboot, my /proc/mtd says that /dev/mtd2 has image0 - I have booted Image1 (credentials are still root/admin123

Any suggestions?

THanks

benbgg commented 5 months ago

Figured it! Should be: fw_setenv image0_is_valid 1

benbgg commented 5 months ago

As above