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
-
... ... @@ -2,93 +2,38 @@ 2 2 3 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 -= 21.02.x = 6 6 7 - Thanksto [[this patch>>https://github.com/openwrt/openwrt/commit/97df795b78dc572ea2ec105ccbf8af27cc4b4d8e]], EA8100 is now supported from openwrt 21.02.6 += 19.07.x = 8 8 9 - The 21.02 release is currently at RC3.You can getit from [[openwrt firmwareselector>>https://firmware-selector.openwrt.org/?version=21.02.0-rc3&target=ramips%2Fmt7621&id=linksys_ea8100-v1]] page.8 +19.07.4 is here! 10 10 11 - Both 2.4Ghz and 5Ghzwifiarekingfine.10 +[[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]]) 12 12 13 - Ifyouare alreadyon19.07,pleasedo notsysupgradewith 21.02sysupgrade.bin,because sysupgrade.bin format in21.02isnotsupportedby19.07sysupgradeutility.12 +The EA8100 contains 2 firmware partitions. Using the Linksys UI will flash openwrt into only one of the 2 partitions. The booting process switches partition every few boots, so if you want to always boot into openwrt then you have to flash openwrt into both partitions. 14 14 15 - 21.02images:14 +How to flash: 16 16 17 -{{code language="none"}} 18 -openwrt-21.02.0-rc3-ramips-mt7621-linksys_ea8100-v1-initramfs-kernel.bin: u-boot legacy uImage, MIPS OpenWrt Linux-5.4.124, Linux/MIPS, OS Kernel Image (Not compressed), 4912189 bytes, Sun Jun 13 22:02:19 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0x9C4276B9, Data CRC: 0xBC5373AC 19 -openwrt-21.02.0-rc3-ramips-mt7621-linksys_ea8100-v1-squashfs-factory.bin: u-boot legacy uImage, MIPS OpenWrt Linux-5.4.124, Linux/MIPS, OS Kernel Image (Not compressed), 2357363 bytes, Sun Jun 13 22:02:19 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0xAC8B8E31, Data CRC: 0xC42A191A 20 -openwrt-21.02.0-rc3-ramips-mt7621-linksys_ea8100-v1-squashfs-sysupgrade.bin: POSIX tar archive (GNU) 21 -{{/code}} 16 +If your router currently has stock Linksys firmware: 22 22 23 -(% class="wikigeneratedid" %) 24 -19.07: 18 +1. Flash the "**initramfs-factory.img**" via Linksys UI. Wait for it to start to reboot. 19 +1. Configure your computer to have ip in 192.168.1.0/24 subnet but NOT 192.168.1.1. (so, use 192.168.1.2.) Start ping to 192.168.1.1. 20 +1. Cross your fingers that the router boots openwrt. Otherwise keep rebooting until it loads the openwrt partition. (Usually 3 times max.) Wait a few minutes from reboot to let it load. If you get ping response from 192.168.1.1 it means openwrt loaded. 21 +1. Scp the "**squashfs-sysupgrade.bin**" into /tmp in the router. root@192.168.1.1. No password. 22 +1. Log in as root via SSH into shell. No password. 23 +1. **Sysupgrade the uploaded squashfs-sysupgrade.bin**. This should flash the openwrt firmware into both firmware partitions. It auto reboots. 24 +1. opkg update 25 +1. **opkg install luci (the flashed images does not contain Luci)** 26 +1. Access LuCI via http:~/~/192.168.1.1/. You can now configure. 25 25 26 -{{code language="none"}} 27 -openwrt-ramips-mt7621-ea8100-initramfs-factory.img: u-boot legacy uImage, MIPS OpenWrt Linux-4.14.221, Linux/MIPS, OS Kernel Image (lzma), 5049994 bytes, Mon Feb 15 15:22:37 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0x9EAE22DC, Data CRC: 0x739C919A 28 -openwrt-ramips-mt7621-ea8100-initramfs-kernel.bin: u-boot legacy uImage, MIPS OpenWrt Linux-4.14.221, Linux/MIPS, OS Kernel Image (lzma), 5049994 bytes, Mon Feb 15 15:22:37 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0x9EAE22DC, Data CRC: 0x739C919A 29 -openwrt-ramips-mt7621-ea8100-squashfs-factory.img: u-boot legacy uImage, MIPS OpenWrt Linux-4.14.221, Linux/MIPS, OS Kernel Image (lzma), 2012291 bytes, Mon Feb 15 15:22:37 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0xD210527A, Data CRC: 0x404E16F6 30 -openwrt-ramips-mt7621-ea8100-squashfs-sysupgrade.bin: u-boot legacy uImage, MIPS OpenWrt Linux-4.14.221, Linux/MIPS, OS Kernel Image (lzma), 2012291 bytes, Mon Feb 15 15:22:37 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0xD210527A, Data CRC: 0x404E16F6 31 -{{/code}} 28 +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. 32 32 33 - Flashing 21.02 squashfs-sysupgrade.bin usingsysupgradein19.07 willsoft brickyour router.(Sysupgrade willlikelyrejectthe image anyway,andyouwill havetouseceflag ifyoueally want todo it.)30 +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. 34 34 35 - If youinsist, forceflashing the 21.02 squashfs-factory.bin shouldallowyou to succeedinheupgrade.(Nottested.)32 +Since [[19.07.03>>https://www.codepowered.com/openwrt/v19.07.3/linksys_ea8100/]], as of 19.07.04: 36 36 37 -= 19.07.x = 38 - 39 -Openwrt 19.07.7 for EA8100 is here! 40 - 41 -Since [[19.07.03>>https://www.codepowered.com/openwrt/v19.07.3/linksys_ea8100/]], as of 19.07.07: 42 - 43 43 * Wifi (5Ghz) seem to work at 30-40MB/s with a MacBook Pro. 44 44 * **Known issue**: 2.4Ghz wifi performance is really bad. You probably want to disable 2.4Ghz wifi. 45 45 46 -UPDATED 2020-12-10 the 19.07.04 and later builds now includes LuCi! 47 - 48 -(% class="box warningmessage" %) 49 -((( 50 -Always use a PC connected to the device via wired ethernet for flashing firmwares. 51 -))) 52 - 53 -Follow these instructions: 54 - 55 -1. Download ##[[initramfs-factory.img>>https://www.codepowered.com/openwrt/v19.07.7/bin/targets/ramips/mt7621/openwrt-ramips-mt7621-ea8100-initramfs-factory.img]]## and ##[[squashfs-sysupgrade.bin>>https://www.codepowered.com/openwrt/v19.07.7/bin/targets/ramips/mt7621/openwrt-ramips-mt7621-ea8100-squashfs-sysupgrade.bin||style="background-color: rgb(255, 255, 255);"]]## 56 -1. Access Linksys UI (default [[http:~~/~~/192.168.10.1/>>http://192.168.10.1/]]). Flash **##initramfs-factory.img##**. It will reboot. 57 -1. Wait for Openwrt to boot so that you get to LuCi at [[http:~~/~~/192.168.1.1/>>http://192.168.1.1/]]. You might need to restart your PC so that it gets a ##192.168.1.x## address from openwrt. Once you get LuCI, do NOT configure yet! It's not ready. 58 -1. Flash **##squashfs-sysupgrade.bin##** via LuCi 59 -1. Wait for it to reboot. Now you can configure! 60 - 61 -For kernel modules, replace the relevant link in your ##/etc/opkg/distfeeds.conf(% class="small" %) (%%)##with this: 62 - 63 -{{code language="none"}} 64 -src/gz openwrt_core https://www.codepowered.com/openwrt/v19.07.7/bin/targets/ramips/mt7621/packages 65 -{{/code}} 66 - 67 -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. 68 - 69 -Sysupgrade from 19.07.x to another 19.07.y will work. You can also upgrade via LuCI. 70 - 71 -{{warning}} 72 -Upgrading images will wipe entire firmware partitions! Backup your files/config before sysupgrade. It will reset router ip to 192.168.1.1. 73 -{{/warning}} 74 - 75 ---**Images do not contain LuCi! (The build process doesn't include it for some reason I have not yet time to figure out.)** You need to have the **squashfs-sysupgrade.bin** flashed, then install LuCI. (See instructions below.)-- 76 - 77 ---The EA8100 contains 2 firmware partitions. Using the Linksys UI will flash openwrt into only one of the 2 partitions. The booting process switches partition every few boots, so if you want to always boot into openwrt then you have to flash openwrt into both partitions.-- 78 - 79 ---How to flash if your router currently has stock Linksys firmware:-- 80 - 81 -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.-- 82 -1. --Configure your computer to have IP in ##192.168.1.2/255.255.255.0##.-- 83 -1. --Check that your router booted Openwrt by visiting [[http:~~/~~/192.168.1.1/>>http://192.168.1.1/]]. It is in Openwrt if you see a white screen with message: "Index of /." Do a reboot if you see Linksys UI instead, then check again when it boots. -- 84 -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>>doc:How to WinSCP.WebHome]] if on Windows. [[root@192.168.1.1>>mailto:root@192.168.1.1]] (No password).-- 85 -1. --Ssh into [[root@192.168.1.1>>mailto:root@192.168.1.1]] (no password). Use [[putty>>doc:How to Putty.WebHome]] to ssh if you are on Windows.-- 86 -1. --In the ssh shell run: ##sysupgrade /tmp/openwrt-ramips-mt7621-ea8100-squashfs-sysupgrade.bin##-- 87 -1. --It automatically reboots after a short while. Log in via SSH again. Check you are online by pinging 8.8.8.8 when in SSH.-- 88 -1. --Run: ##opkg update##-- 89 -1. --Run: ##**opkg install luci**##-- 90 -1. --Access LuCI via [[http:~~/~~/192.168.1.1/>>http://192.168.1.1/]]. You can now configure.-- 91 - 92 92 = 18.x = 93 93 94 94 9bebafcb5dfe37f25285fa18fb8bfe7b68011267 (with wifi support) Download: