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,22 +1,36 @@ 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]]. 3 3 4 -[[https:~~/~~/github.com/LeonPoon/openwrt/compare/master...master-linksys_ea8100>>https://github.com/LeonPoon/openwrt/compare/master...master-linksys_ea8100]] 5 5 6 - 7 7 = 19.07.x = 8 8 9 -[[https:~~/~~/www.codepowered.com/openwrt/v19.07.3/linksys_ea8100/>>url:https://www.codepowered.com/openwrt/v19.07.3/linksys_ea8100/]] 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]]) 10 10 11 -The EA8100 contains 2 firmware partitions. Flashingviathe Linksys UI will only flash openwrt into one ofthe2partitions.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. 12 12 13 - Downloadthe "squashfs-factory.img"ifyou want to flashvia Linksys web UI. After you flashed the img the first time, download the "squashfs-sysupgrade.bin" and run sysupgrade to flash this .bin to both firmware partitions.12 +How to flash: 14 14 15 - Youcannotsysupgradefrom18.xto19.07.x.14 +If your router currently has stock Linksys firmware: 16 16 17 -Sysupgrade from 19.07.x will not save config! Back up your config and other files in the router before you sysupgrade. 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. 18 18 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/log into it (192.168.1.1), then sysupgrade. 19 19 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 + 20 20 = 18.x = 21 21 22 22 9bebafcb5dfe37f25285fa18fb8bfe7b68011267 (with wifi support) Download: