Changes for page Openwrt for Linksys EA8100
Last modified by Leon Poon on 2021/07/16 18:40
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,40 +1,22 @@ 1 1 switch0: port 0 = wan, port 1,2,3,4 = lan 2 2 3 -If you brick your router you should be able to recover by soldering the UART pin headers and connecting to the serial. See [[this page for pictures>>doc:Linksys EA8100.WebHome]]. 4 4 5 5 6 6 = 19.07.x = 7 7 8 -19.07. 4is!7 +[[https:~~/~~/www.codepowered.com/openwrt/v19.07.3/linksys_ea8100/>>url:https://www.codepowered.com/openwrt/v19.07.3/linksys_ea8100/]] ([[https:~~/~~/github.com/LeonPoon/openwrt/compare/v19.07.3...v19.07.3-linksys_ea8100>>url:https://github.com/LeonPoon/openwrt/compare/v19.07.3...v19.07.3-linksys_ea8100]]) 9 9 10 - Since[[19.07.03>>https://www.codepowered.com/openwrt/v19.07.3/linksys_ea8100/]],as of19.07.04:9 +The EA8100 contains 2 firmware partitions. Flashing via the Linksys UI will only flash openwrt into one of the 2 partitions. 11 11 12 -* Wifi (5Ghz) seem to work at 30-40MB/s with a MacBook Pro. 13 -* **Known issue**: 2.4Ghz wifi performance is really bad. You probably want to disable 2.4Ghz wifi. 11 +If your router currently has stock Linksys firmware, flash the "squashfs-factory.img" via Linksys UI. After you flashed the factory img one time, you should set root password (do not configure/restart), log in via ssh and download the "squashfs-sysupgrade.bin" into /tmp and run sysupgrade to flash this .bin to both firmware partitions. 14 14 15 - Getimageshere:[[https:~~/~~/www.codepowered.com/openwrt/v19.07.4/linksys_ea8100/>>https://www.codepowered.com/openwrt/v19.07.4/linksys_ea8100/]]([[https:~~/~~/github.com/LeonPoon/openwrt/compare/v19.07.4...v19.07.4-linksys_ea8100>>https://github.com/LeonPoon/openwrt/compare/v19.07.4...v19.07.4-linksys_ea8100]])13 +If you are on my 18.x below, doing sysupgrade to 19.07.x will not work. You have to manually mtd write the "squashfs-sysupgrade.bin" into the firmware1 & firmware2 partitions. 16 16 17 - **Images do not contain LuCi! (Thebuild process doesn'tincludeitforsomereasonI have notyettimetofigureout.)**Youneedtofollowinstructionstogetthesquashfs.binflashed,thenopkgupdateandopkginstall luci.15 +Subsequently sysupgrade from 19.07.x should work but it will **not **save config! Back up your config and other files in the router before you sysupgrade. 18 18 19 - The EA8100 contains 2firmwarepartitions. Using theLinksys UI will flash openwrtintoonly one of the 2 partitions. The booting process switches partition everyfew boots, so if you wantto alwaysbootinto openwrt thenyou haveto flashopenwrt intoboth partitions.17 +Wifi seem to work at 30-40MB/s with a MacBook Pro. 20 20 21 -How to flash if your router currently has stock Linksys firmware: 22 22 23 -1. Download the "**openwrt-ramips-mt7621-ea8100-initramfs-kernel-factory.img**" from link above, and flash it via Linksys UI. Wait for it to start to reboot. 24 -1. Configure your computer to have IP in ##192.168.1.2/255.255.255.0##. 25 -1. Check that your router booted Openwrt by visiting [[http:~~/~~/192.168.1.1/>>http://192.168.1.1/]]. You are in Openwrt if you see a white screen with message: "The requested URL /cgi-bin/luci/ was not found on this server." (Luci is not installed currently.) Do a reboot if you see Linksys UI instead, then check again when it boots. 26 -1. Download the "**openwrt-ramips-mt7621-ea8100-squashfs-sysupgrade.bin**" from link above, and upload it into ##/tmp## in the router via SFTP. You can use [[winscp>>https://winscp.net/]] if on Windows. [[root@192.168.1.1>>mailto:root@192.168.1.1]] (No password). 27 -1. Ssh into [[root@192.168.1.1>>mailto:root@192.168.1.1]] (no password). Use [[putty>>https://www.putty.org/]] to ssh if you are on Windows. 28 -1. In the ssh shell run: ##sysupgrade /tmp/openwrt-ramips-mt7621-ea8100-squashfs-sysupgrade.bin## 29 -1. It automatically reboots after a short while. Log in via SSH again. 30 -1. Run: ##opkg update## 31 -1. Run: ##**opkg install luci**## 32 -1. Access LuCI via [[http:~~/~~/192.168.1.1/>>http://192.168.1.1/]]. You can now configure. 33 - 34 -If you are on my 18.x below, sysupgrading to a 19.07 image will not work. You have to manually mtd write the 19.07 "kernel-initramfs.bin" into the nand and boot/log into it (192.168.1.1), then sysupgrade. 35 - 36 -Sysupgrade from 19.07.x to another 19.07.y will work. **HOWEVER: **sysupgrade will wipe entire firmware partitions! Backup your files/config before sysupgrade. 37 - 38 38 = 18.x = 39 39 40 40 9bebafcb5dfe37f25285fa18fb8bfe7b68011267 (with wifi support) Download: