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,38 +1,8 @@ 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 4 +[[https:~~/~~/github.com/LeonPoon/openwrt/compare/master...master-linksys_ea8100>>https://github.com/LeonPoon/openwrt/compare/master...master-linksys_ea8100]] 5 5 6 -= 19.07.x = 7 - 8 -[[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 - 10 -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. 11 - 12 -How to flash: 13 - 14 -If your router currently has stock Linksys firmware: 15 - 16 -1. Flash the "squashfs-factory.img" via Linksys UI, Wait for it to start to reboot. 17 -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. 18 -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 response from ping 192.168.1.1 it means openwrt loaded. 19 -1. Access LuCI via LAN. (http:~/~/192.168.1.1). Set root password so that SSH server starts. (Do not configure/restart.) This root password is only temporary. 20 -1. Scp the "squashfs-sysupgrade.bin" into /tmp in the router. 21 -1. Log in as root via SSH and the password you set. 22 -1. Sysupgrade the squashfs-sysupgrade.bin. This should flash the openwrt firmware into both firmware partitions. It auto reboots. 23 -1. Access LuCI via 192.168.1.1 again. You can configure for real now. 24 - 25 -If you are on my 18.x below, sysupgrade will not work. You have to manually mtd write the 19.07 "kernel-initramfs.bin" into the nand and boot into it, then sysupgrade. 26 - 27 -Sysupgrade will wipe entire firmware partitions! Backup your files/config before sysupgrade. 28 - 29 -Subsequently sysupgrade from 19.07.x should work. 30 - 31 -Wifi seem to work at 30-40MB/s with a MacBook Pro. 32 - 33 - 34 -= 18.x = 35 - 36 36 9bebafcb5dfe37f25285fa18fb8bfe7b68011267 (with wifi support) Download: 37 37 38 38 * [[initramfs-kernel.bin>>attach:openwrt-ramips-mt7621-linksys_ea8100-initramfs-kernel-9bebafcb5dfe37f25285fa18fb8bfe7b68011267.bin]]