Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:linksys:ea7300_v2 [2023/07/21 19:19] – [Installation] badulesiatoh:linksys:ea7300_v2 [2024/09/04 17:17] – [Upgrading OpenWrt] better description badulesia
Line 1: Line 1:
 ====== Linksys EA7300 v2====== ====== Linksys EA7300 v2======
  
-Gigabit Ethernet switch based device, USB 3.0 port, 2.4GHz and 5GHz WiFi support.  The three antennas cannot be removed.  Dual-firmware support allows to switch back to the stock firmware.+Gigabit Ethernet switch based device, USB 3.0 port, 2.4GHz and 5GHz WiFi-5 support.  Four total antennas, one internal, with three external. The three antennas are fixed and cannot be removed.  Dual-firmware support allows you to switch back to the stock firmware.
  
  
Line 8: Line 8:
 /*****/ /*****/
  
-{{media:linksys:xyfwntt.png|Lynksys EA7300}}+{{media:linksys:xyfwntt.png|Linksys EA7300}}
  
  
 ===== Supported Versions ===== ===== Supported Versions =====
----- datatable ---- +<!-- ToH: { 
-cols    BrandModelVersionsSupported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, Device Techdata_pageid +  "source""json", 
-headers BrandModel, Version, Current Release, OEM Info, Forum Search, Technical Data +  "dom": "t", 
-align   c,c,c,c,c,c,c +  "paging": false
-filter  : Brand=Linksys +  "rotate"true
-filter  Model=EA7300 +  "shownColumns"["brand""model""version""supportedcurrentrel""oemdevicehomepageurl""forumsearch", "deviceid"]
-filter  Versions~v2 +  "filterColumns"{"brand": "^Linksys$", "model""^EA7300$", "version""^v2$"} 
-----+-->
  
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsCPUCPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_ +  "source""json", 
-header  : ModelVersion,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB +  "dom": "t", 
-align   c,c,c,c,c,c,c,c,c,c,c,c,c +  "paging": false
-filter  : Brand=Linksys +  "rotate"true
-filter  Model=EA7300 +  "shownColumns"["model""version""cpu""cpumhz""flashmb""rammb""wlanhardware""wlan24ghz""wlan50ghz""ethernet100mports""ethernet1gports""modem", "usbports"]
-filter  Versions~v2 +  "filterColumns"{"brand": "^Linksys$", "model""^EA7300$", "version""^v2$"} 
-----+-->
  
  
 ===== Installation ===== ===== Installation =====
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsSupported Current RelFirmware OpenWrt Install URL_urlFirmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url +  "source""json", 
-headers ModelVersionCurrent ReleaseFirmware OpenWrt InstallFirmware OpenWrt UpgradeFirmware OEM Stock +  "dom": "t", 
-align   : c,c,c +  "paging": false, 
-filter  : Brand=Linksys +  "rotate": true
-filter  Model=EA7300 +  "shownColumns"["model""version""supportedcurrentrel""firmwareopenwrtinstallurl""firmwareopenwrtupgradeurl""firmwareoemstockurl"]
-filter  Versions~v2 +  "filterColumns"{"brand": "^Linksys$", "model""^EA7300$", "version""^v2$"} 
-----+-->
  
-This device has dual partition layout (A/B)One partition is set as active and boots. If boot fails three times, than the "other" partition is set as active and booted, assuming it is still safe. A bootcounter (stored in the partiton ''S_ENV''is used for this purposeThe bootcounter has a flaw that prevents direct install of OpenWrtIn order to work, OpenWrt must be flashed from Linksys OEM in partition B using a factory imageOpenWrt will be installed on partition A.+<WRAP center round alert 60%> 
 +Some devices are reported to have difficulty to install OpenWrt. It seems to be related to bad block wrongly detectedIt is unclear about which devices are involved in this bug. A workaround exists but is not already commitedPlease found info here : [[https://forum.openwrt.org/t/is-ea7300-v2-no-longer-supported/166376/22]]. 
 +</WRAP>
  
-From Linksys OEM, flash OpenWrt and wait for reboot (take care of the browser cache, use private session). +This device has a dual partition layout (1/2). One partition is set as active and boots. If boot fails three times, than the "other" partition is set as active and booted, assuming it is still safe. bootcounter (stored in the partiton ''S_ENV'') is used for this purposeThe bootcounter has a flaw that prevents direct install of OpenWrt. In order to work, OpenWrt must be flashed on partition 1 using a factory imagefrom a Linksys OEM in partition 2Than a tweak must be applied in order to erase the partition ''S_ENV'' after each boot and prevent a switch to partition 2.
-  * If it's still return to Linksys OEM, than you are on partition A. You have attempted to flash OpenWrt on partition Bit doesn't work. Flash Linksys OEM, it will now boot from partition BFlash again OpenWrt, it will be on partition A. +
-  * if you have OpenWrt than it's installed on partition A.+
  
-You will be able to boot OpenWrt three times from partition Auntil the bootcounter flaw set back partition B as bootable (with Linksys GUI)To prevent thisadd this code to ''etc/rc.local''+First you need to know on which partition Linksys OEM boots. 
 +Log into the router (user: adminpassword:admin) and go to this page : [[http://192.168.1.1/sysinfo.cgi]] 
 +This page will display technical informations :  
 + 
 +<code> 
 +7/31/24, 7:59 AM 
 +192.168.1.1/sysinfo.cgi 
 +page generated on Thu Oct 11 06:25:46 UTC 2012 
 +UpTime: 
 +06:25:46 up 26 min, load average: 0.17, 0.11, 0.17 
 +Firmware Version: 2.0.4.208179 
 +Firmware Builddate: 2021-08-26 05:00 
 +Product.type: production 
 +Linux: Linux version 2.6.36 (root@build-vm) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #81 SMP Wed 
 +Aug 25 21:20:44 PDT 2021 
 +Board: focus 
 +-----U-Boot Data----- 
 +fw_printenv bootdelay: bootdelay=5 
 +fw_printenv mtdparts: 
 +fw_printenv bootcmd: bootcmd=tftp 
 +fw_printenv boot_part: boot_part=2 
 +</code> 
 + 
 +The last line means that Linksys boots from partition 2. If 1 than flash Linksys OEM over itself and wait for reboot. Log in and browse again the page [[http://192.168.1.1/sysinfo.cgi]]. You should now see 2. 
 +Linksys boots from partition 2, you are now ready to install OpenWrt. Just flash a factory image within Linksys, it will be on partition 1You may have to refresh the browser cacheor use a private session. 
 +Last, you need to tweak the bootcounter by adding this code to ''etc/rc.local''
  
 <code> <code>
Line 55: Line 80:
 /rom/sbin/mtd erase s_env /rom/sbin/mtd erase s_env
 exit 0 exit 0
- 
 </code> </code>
  
-This code erases the ''S_ENV'' partition that contains the bootcounter. So at each boot of OpenWrt, the bootcounter is erased, and the next boot will be valid. Information from this forum thread [[https://forum.openwrt.org/t/can-not-install-openwrt-on-linksys-ea7300-v2/85421/11]]+Information from these forum threads [[https://forum.openwrt.org/t/can-not-install-openwrt-on-linksys-ea7300-v2/85421/11]] and [[https://forum.openwrt.org/t/is-ea7300-v2-no-longer-supported/166376/23]]
 ===== Reverting to factory firmware ===== ===== Reverting to factory firmware =====
  
-Hard-reset the router three times, or use ''luci-app-advanced-reboot'', to force it to boot from 'B.' This is where the stock firmware resides. To remove any traces of OpenWrt from your router simply flash the OEM image at this point.+You must revert back to partition 2 where is still Linksys OEM. You have two possibilities : 
 +  - use ''luci-app-advanced-reboot'', click on Linksys and reboot. 
 +  - use the power button trick. Power on the router and wait 8s. Power off. Repeat this 3 times. 
 +In both cases it will force the switch to boot partition 2 where is Linksys OEM. To remove any traces of OpenWrt from your router simply flash Linksys OEM at this point.
  
  
Line 125: Line 152:
 ->  [[docs:guide-user:installation:generic.sysupgrade]] ->  [[docs:guide-user:installation:generic.sysupgrade]]
  
-Install ''luci-app-advanced-reboot''.+<WRAP center round alert 60%> 
 +**YOU CAN'T upgrade using a sysupgrade image on this device**. You must revert back to Linksys and flash a **newer OpenWrt factory image**. It's not such a big deal, it takes about three minutes. 
 +</WRAP> 
 + 
 +  Backup the settings 
 +  Revert to Linksys on partition 2 (see [[:toh:linksys:ea7300_v2#reverting_to_factory_firmware]]) 
 +  Flash the newer OpenWrt factory image within Linksys. 
 +  - At reboot, restore the previous settings (it will also restore the tweak for ''/etc/rc.local'')
  
-  - backup your settings (this will include the hack in ''/etc/rc.local''). +In order to easily revert ot Linksys, consider installing ''luci-app-advanced-reboot'' in each OpenWrt factory image you will use.
-  - use ''luci-app-advanced-reboot'' to reboot to partion 2. +
-  - In Linksys OEM, flash the newer ''factory'' image+
-  - reboot than restore your settings.+
 ===== Debricking ===== ===== Debricking =====
 -> [[docs:guide-user:troubleshooting:generic.debrick]] -> [[docs:guide-user:troubleshooting:generic.debrick]]
Line 188: Line 219:
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
----- datatemplatelist dttpllist ---- +<!-- ToH: { 
-templatemeta:template_datatemplatelist +  "source""json", 
-cols    BrandModelVersionsDevice TypeAvailabilitySupported Since Commit_gitSupported since RelSupported current RelUnsupportedBootloaderCPUTargetCPU MHzFlash MBsRAM MBSwitchEthernet 100M ports_Ethernet Gbit ports_Comments network ports_ModemVLANWLAN 2.4GHzWLAN 5.0GHzWLAN HardwaresWLAN Comments_Detachable Antennas_USB ports_SATA ports_Comments USB SATA ports_SerialJTAGLED countButton countPower supplyDevice Techdata_pageidForum topic URL_urlwikidevi URL_urlOEM Device Homepage URL_urlFirmware OEM Stock URL_urlFirmware OpenWrt Install URL_urlFirmware OpenWrt Upgrade URL_urlComments_ +  "dom""t", 
-filter  : Brand=Linksys +  "paging"false, 
-filter  Model=EA7300 +  "rotate": true, 
-filter  Versions=v2 +  "shownColumns": ["brand""model""version""devicetype""availability""supportedsincecommit""supportedsincerel""supportedcurrentrel""unsupported_functions""bootloader""cpu""target""cpumhz""flashmb""rammb""switch""ethernet100mports""ethernet1gports""commentsnetworkports""modem""vlan""wlan24ghz""wlan50ghz""wlanhardware""wlancomments""detachableantennas""usbports""sataports""commentsusbsataports""serial""jtag""ledcount""buttoncount""powersupply""deviceid""owrt_forum_topic_url""wikideviurl""oemdevicehomepageurl""firmwareoemstockurl", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "comments"]
-----+  "filterColumns"{"brand": "^Linksys$", "model""^EA7300$", "version""^v2$"} 
 +-->
  
 ==== Photos ==== ==== Photos ====
  • Last modified: 2024/09/04 17:26
  • by badulesia