and soon after i rebooted it fiew times it turned back to the linksys stock firmware.
After i tryed to flash again openwrt but after the restart it turn back dayrecht to linksys firmware.
I tried to flash fiew times the linksys firmware to replace both partitions with the originall and then to flash again openwrth but the result is the same.
Its looking that the counter isnt zeroing after the new flash and it try to boot from the partittion unsucsesfuly and then turn to other partition.
Sorry i for the lame explanation.
Can someon help me to understand what happend and how i can flash openwrth sucsesfuly.
That is a snapshot image. Read the link for instructions how to install Luci, which is not installed by default in snapshots.
The wiki for your device mentions
Warning: If both partitions are overwritten with non-Linksys firmwares, there is no safe method of reverting back to Linksys OEM firmware at time of writing.
So please be aware of this before replacing both partitions.
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.
My rooter is NOT connected to the internet. I connected it troug the other rooter. But it doesent recieve it.
i seted IP dns .. cabel connection, using this info:
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.
10x
The command overwrites the /etc/rc.local file with the data in the quotes. I assumed as you have a fresh install, you won't have anything you want to keep in there!
Now you have Luci, you can also goto
System > startup > local startup
This will achieve the same thing.
To edit text files from the shell you can use vi. If you prefer nano then you can install that using opkg.
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.