Last modified by Leon Poon on 2021/07/16 18:40

From version 14.1
edited by Leon Poon
on 2020/05/31 11:02
Change comment: There is no comment for this version
To version 15.1
edited by Leon Poon
on 2020/05/31 11:26
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,6 @@
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.
3 3  
4 4  
5 5  = 19.07.x =
... ... @@ -6,12 +6,20 @@
6 6  
7 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]])
8 8  
9 -The EA8100 contains 2 firmware partitions. Flashing via the Linksys UI will only flash openwrt into one of the 2 partitions.
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 partition.
10 10  
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.
12 +How to flash:
12 12  
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.
14 +If your router currently has stock Linksys firmware:
14 14  
16 +1. flash the "squashfs-factory.img" via Linksys UI, cross your fingers that it boots openwrt when auto rebooting. Otherwise keep rebooting until it loads openwrt. (Usually 3 times max.)
17 +1. access LuCI via LAN. (It's at 192.168.1.1 so you should set connect your computer and configure your computer with an IP on same subnet eg 192.168.1.2/24). Set root password so that SSH server starts. (do not configure/restart.)
18 +1. Scp the "squashfs-sysupgrade.bin" into /tmp in the router.
19 +1. Log in via SSH.
20 +1. Sysupgrade the squashfs-sysupgrade.bin. This should flash the openwrt firmware into both firmware partitions. It auto reboots.
21 +
22 +If you are on my 18.x below, sysupgrade will not work. You have to manually mtd write the 19.07 "kernel-initramfs.bin" and boot into it, then sysupgrade. Back up data before mtd write!
23 +
15 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.
16 16  
17 17  Wifi seem to work at 30-40MB/s with a MacBook Pro.