EA7500 v2 startup commands to prevent 3 reboot reversion to oem

I just reinstalled WRT on my EA7500 v2 last night, everything went as planned, but in the instructions there were a couple lines needed to be added to the startup section to rewrite an environmental variable to prevent the router from reverting back to the OEM firmware after 3 reboots (dual partition).

The website has been down all night and I can't find the commands I need to add. Can anyone provide them to me?

Also seeing issues with the AC 5ghz radio (MediaTek MT7615E 802.11ac/n) only working if I choose 40mhz width, I see this is an issue with the current version 23.05.0 possibly? I don't know with the wiki down its really hard to get the information I need. Is there a way I can get a newer version of the firmware for my device somewhere or do I just need to wait for someone to build the next release and add it to the wiki for my device?

Assuming this device works like the EA7300v2, you need to add this to /etc/rc.local

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

many thanks, unfortunately the cached version of the wiki page didn't appear to include that bit and I need to reboot the thing so I was pulling my hair out. much appreciated.

And I just realized I installed the 7300v2 firmware on my 7500v2, which explains why the 7500v2 wiki page didn't have the startup commands, I guess the 7500 doesn't need them.

I couldn't get to sleep last night so I got up at 3am and decided to install openwrt and I picked the worst night possible with the website being down, and now the work day has started so it looks like I'm just going to be using this firmware for awhile.

Sleep deprivation and flashing firmware don't mix kids.

Just to follow up on my own lack of understanding in the event someone ever gets this from a google search or something.

I was able to build a snapshot build using the openwrt firmware selector, choosing the snapshot version in the dropdown, and clicked build.

https://firmware-selector.openwrt.org/

I then uploaded the firmware to my 7500 which had the existing 7300 firmware, click the big scary red button that I knew the versions didn't match, and now I'm up and running on the proper firmware, snapshot build, and my 5ghz radio is running fine on 160mhz width. It even saved all my settings.

Thanks for listening to my TED talk.

Maybe, try to find another doc here.

If this is a first try, consider to install a stable 23.05.2 instead of a snapshot.

1 Like

Thanks, I'll probably revert back to the latest stable build as the 5ghz is still a problem. I saw full bars when I first enabled 160Mhz width, but the next time I went to the page it was showing a ? for the bitrate and no bars just like before. Not a big deal, I'm not doing anything that I need it, all my important stuff is hard wired.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.