| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| toh:linksys:ea7300_v2 [2023/06/13 20:35] – [Reverting to factory firmware] badulesia | toh:linksys:ea7300_v2 [2024/09/04 17:17] – [Upgrading OpenWrt] better description badulesia |
|---|
| ====== Linksys EA7300 v2====== | ====== Linksys EA7300 v2====== |
| |
| /* This template is intended to be used via https://openwrt.org/meta/create_new_device_page ONLY. */ | 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. |
| /* DO NOT CREATE NEW DEVICEPAGES VIA COPY & PASTE! */ | |
| /* USE https://openwrt.org/meta/create_new_device_page */ | |
| | |
| {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} | |
| | |
| 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. | |
| |
| |
| /*****/ | /*****/ |
| |
| {{media:linksys:xyfwntt.png|Lynksys EA7300}} | {{media:linksys:xyfwntt.png|Linksys EA7300}} |
| |
| |
| <WRAP BOX> | |
| FIXME | |
| ===== Getting started with a new Device Page ===== | |
| - This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that **you have to fill it with life and information.** | |
| - There are several "fixme" tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness. | |
| - When there are no more "fixme" tags left, delete this one too, along with the ''<nowiki><WRAP></nowiki>'' that encloses it. | |
| |
| ===== Keep the articles modular ===== | |
| * Please include only model specific information, omit bla,bla and put everything generic into separate articles | |
| * If you have no time to write certain stuff, link to [[docs:start]] | |
| * [[docs:guide-user:base-system:start]] should lead the way, do not explain this again | |
| * DO NOT provide a complete howto here! Instead //groom// the [[docs:start|general documentation]]. | |
| </WRAP> | |
| |
| ===== 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. Use this procedure to bypass: | <WRAP center round alert 60%> |
| - Flash Linksys GUI from itself. The device will now boot Linksys GUI from partition B. | 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]]. |
| - Flash OpenWrt with Linksys GUI, it will be installed on partition A and will boot. | </WRAP> |
| | |
| | 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. |
| | |
| | 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> |
| |
| 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'' | 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. 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. |
| |
| |
| -> [[docs:guide-user:installation:generic.sysupgrade]] | -> [[docs:guide-user:installation:generic.sysupgrade]] |
| |
| <WRAP BOX> | <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> |
| |
| FIXME These are generic instructions. Update with your router's specifics. | - Backup the settings |
| | - Revert to Linksys on partition 2 (see [[:toh:linksys:ea7300_v2#reverting_to_factory_firmware]]) |
| ==== LuCI Web Upgrade Process ==== | - Flash the newer OpenWrt factory image within Linksys. |
| | - At reboot, restore the previous settings (it will also restore the tweak for ''/etc/rc.local'') |
| * Browse to ''<nowiki>http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/</nowiki>'' LuCI Upgrade URL | |
| * Upload image file for sysupgrade to LuCI | |
| * Wait for reboot | |
| | |
| ==== Terminal Upgrade Process ==== | |
| | |
| If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. | |
| There are two command line methods for upgrading: | |
| | |
| * ''sysupgrade'' | |
| * ''mtd'' | |
| | |
| Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing. | |
| | |
| === sysupgrade === | |
| | |
| * Login as root via SSH on 192.168.1.1, then enter the following commands: | |
| | |
| <code> | |
| cd /tmp | |
| wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc | |
| sysupgrade /tmp/xxx.abc | |
| </code> | |
| | |
| === mtd === | |
| | |
| If ''sysupgrade'' does not support this router, use ''mtd''. | |
| | |
| * Login as root via SSH on 192.168.1.1, then enter the following commands: | |
| | |
| <code> | |
| cd /tmp | |
| wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc | |
| mtd write /tmp/xxx.abc linux && reboot | |
| </code> | |
| | |
| </WRAP> | |
| |
| | In order to easily revert ot Linksys, consider installing ''luci-app-advanced-reboot'' in each OpenWrt factory image you will use. |
| ===== 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 ==== |