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

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

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,5 @@
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,27 +7,14 @@
7 7  
8 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 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.
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 -How to flash:
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.
13 13  
14 -If your router currently has stock Linksys firmware:
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.
15 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.
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.
24 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 31  Wifi seem to work at 30-40MB/s with a MacBook Pro.
32 32  
33 33