Thanks for the fast answare.
I realised that i have to install Luci but now i cannot boot anymore from the paartition where i flashed openwrt its boot only in the original firmware.
I will check the links that you send me, but how to reach working openwrt partition?
update: the seccond link i used for the procedure but there no information about "LuCI"
The first link prompt me to use image with preinstald "LuCI" or i can install it from the command line.
if i reach the moment to boot from the openwrt partition i can do it with SSH but how to swich to the other partition?
Can you point me which image contain "LuCI" for my model?
Hi The problem is that now i cannot anymor turn to the other partititon. I Flashed again openwrt from the stock firmware but after the restart it turn dayrect to the original firmware. I cannot anymore to reach working openwrth partition.
Yes i just tryed. But i will check again.
I think its not working cos' i already booted three times from the working openwrt partition and i didnt seted the zeroing of the counter. So now even if i swich to the other partition there is no valid lynksys boot to zeroe the counter and it turn me back dayrect to the original partition.
I tought if i flash the original partition again to replace the openwrth partition and boot to zeroe the counter, but it doesnt work. I even instald 4 time in a row the originall firmware but the same result.
i dont know how to fix this?!
You need to install OpenWrt on partition A, and add the code in /etc/rc.local. That will erase the bootcounter at each boot. To do so, you must start from Linksys OEM on partition B, and than flash OpenWrt (on A).
So flash Openwrt, from whatever partition Linksys is. If you are running OpenWrt after reboot, than it is on A. Just add thecode.
If you are still booting Linksys, than you are running Linksys on A. Flash Linksys over itself, you will now boot from B. Flash OpenWrt, it will be on A. Add the code.
And what is the program for text edyting in openwrth like "nano" if i need to set or edit some more config?
can i just copy and paste it using ssh connection. I ask cos` i see that is one command but on three lines.
It took me some time to understand myself
To be sure that the bootcounter tweak works, perform several reboot (let's say 4). If you boot OpenWrt at the end than everything works. There is a PR submitted to patch this problem, but it hasn't been validated yet.
Why do you need to install Luci ? Are you using a snapshot ? Just use the stable 22.03.3 that already includes Luci. Apparently you have no WAN connection.