| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| toh:linksys:ea7300_v2 [2023/09/25 18:13] – [Installation] badulesia | toh:linksys:ea7300_v2 [2024/09/04 17:17] – [Upgrading OpenWrt] better description badulesia |
|---|
| ====== 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. |
| |
| |
| /*****/ | /*****/ |
| |
| {{media:linksys:xyfwntt.png|Lynksys EA7300}} | {{media:linksys:xyfwntt.png|Linksys EA7300}} |
| |
| |
| ===== Supported Versions ===== | ===== Supported Versions ===== |
| ---- datatable ---- | <!-- ToH: { |
| cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, Device Techdata_pageid | "source": "json", |
| headers : Brand, Model, 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 : Model, Versions, CPU, CPU 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 : Model, Version,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 : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | "source": "json", |
| headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware 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 a 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 purpose. The bootcounter has a flaw that prevents direct install of OpenWrt. In order to work, OpenWrt must be flashed on partition A, from a Linksys OEM in partition B, using a factory image. | <WRAP center round alert 60%> |
| | Some devices are reported to have difficulty to install OpenWrt. It seems to be related to a bad block wrongly detected. It is unclear about which devices are involved in this bug. A workaround exists but is not already commited. Please 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. A bootcounter (stored in the partiton ''S_ENV'') is used for this purpose. The bootcounter has a flaw that prevents direct install of OpenWrt. In order to work, OpenWrt must be flashed on partition 1 using a factory image, from a Linksys OEM in partition 2. Than 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 B, it doesn't work. Flash Linksys OEM, it will now boot from partition B. Flash 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 A, until the bootcounter flaw set back partition B as bootable (with Linksys GUI). To prevent this, add this code to ''etc/rc.local'' | First you need to know on which partition Linksys OEM boots. |
| | Log into the router (user: admin, password: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 1. You may have to refresh the browser cache, or use a private session. |
| | Last, you need to tweak the bootcounter by adding this code to ''etc/rc.local'' |
| |
| <code> | <code> |
| /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 ===== |
| |
| Power on the router and wait 8s. Power off. Repeat this 3 times. You can also use ''luci-app-advanced-reboot''. | 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. |
| This will force boot from partition B where is Linksys OEM. To remove any traces of OpenWrt from your router simply flash the OEM image at this point. | - 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. |
| |
| |
| -> [[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]] |
| ===== Hardware ===== | ===== Hardware ===== |
| ==== Info ==== | ==== Info ==== |
| ---- datatemplatelist dttpllist ---- | <!-- ToH: { |
| template: meta:template_datatemplatelist | "source": "json", |
| cols : Brand, Model, Versions, Device Type, Availability, Supported Since Commit_git, Supported since Rel, Supported current Rel, Unsupported, Bootloader, CPU, Target, CPU MHz, Flash MBs, RAM MB, Switch, Ethernet 100M ports_, Ethernet Gbit ports_, Comments network ports_, Modem, VLAN, WLAN 2.4GHz, WLAN 5.0GHz, WLAN Hardwares, WLAN Comments_, Detachable Antennas_, USB ports_, SATA ports_, Comments USB SATA ports_, Serial, JTAG, LED count, Button count, Power supply, Device Techdata_pageid, Forum topic URL_url, wikidevi URL_url, OEM Device Homepage URL_url, Firmware OEM Stock URL_url, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Comments_ | "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 ==== |