Small addition to TOH: Linksys EA7300 v2

Re: https://forum.openwrt.org/t/strange-ethernet-bug-with-mt7621-device/115279/2

To prevent this, add this code to etc/rc.local

/rom/sbin/mtd unlock s_env
/rom/sbin/mtd erase s_env
exit 0

In my default 21.02.1 release, '/etc/rc.local' was not executable. Executable permissions need to be implemented.
chmod +x /etc/rc.local

1 Like

Hi.
I have use this tweak to setup this device a couple of weeks ago. It works fine, despite being quite harsh in principle. I didn't have to use chmod.
EA7300v2 is a newly supported device, so the support is scarse. Probably few people have switched it to OpenWrt. I don't know if another method could be possible, it should involve modifying the bootloader to fix the bootcount issue.

I've not played with this yet. Per the documentation, it should work on this device.

https://docs.openwrt.melmac.net/luci-app-advanced-reboot/

It works, I have already tested it.
But this doesn't solve the boot issue, it just switches voluntarily to the "other" partition containing Linksys firmware.

Weird, even if I put those lines on my EA7300v2 openwrt configuration in /etc/rc.local (after making it executable ofc), I can still revert to stock with 3 failed consecutive boot attempts.
Am I missing something?

OpenWrt must be installed on partition 1. Install luci-app-advanced-reboot to check on which partition OpenWrt is running.

1 Like

Thanks, probably I was missing that part. I'll check.

1 Like