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
-
... ... @@ -5,34 +5,31 @@ 5 5 6 6 = 19.07.x = 7 7 8 -19.07. 4is!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 - Since[[19.07.03>>https://www.codepowered.com/openwrt/v19.07.3/linksys_ea8100/]],as of19.07.04: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 11 12 -* Wifi (5Ghz) seem to work at 30-40MB/s with a MacBook Pro. 13 -* **Known issue**: 2.4Ghz wifi performance is really bad. You probably want to disable 2.4Ghz wifi. 12 +How to flash: 14 14 15 - Getimages here:[[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]])14 +If your router currently has stock Linksys firmware: 16 16 17 -**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 follow instructions to get the squashfs.bin flashed, then opkg update and opkg install luci. 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 19 - TheEA8100 contains2 firmwarepartitions.UsingtheLinksysUIwillflashopenwrtinto onlyoneofthe2partitions.Thebootingprocessswitchespartitioneveryfewboots, so if you wanttoalways bootintoopenwrtthenou have to flash openwrt into both partitions.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. 20 20 21 - How toflashifyourroutercurrentlyhasstock Linksysfirmware:27 +Sysupgrade will wipe entire firmware partitions! Backup your files/config before sysupgrade. 22 22 23 -1. Flash the "**initramfs-factory.img**" via Linksys UI. Wait for it to start to reboot. 24 -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. 25 -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. 26 -1. Scp the "**squashfs-sysupgrade.bin**" into /tmp in the router. root@192.168.1.1. No password. 27 -1. Log in as root via SSH into shell. No password. 28 -1. **Sysupgrade the uploaded squashfs-sysupgrade.bin**. This should flash the openwrt firmware into both firmware partitions. It auto reboots. 29 -1. opkg update 30 -1. **opkg install luci (the flashed images does not contain Luci)** 31 -1. Access LuCI via http:~/~/192.168.1.1/. You can now configure. 29 +Subsequently sysupgrade from 19.07.x should work. 32 32 33 - Ifyou areonmy18.x below, sysupgradingtoa 19.07 imagewill not work.You havetomanually mtd write the 19.07 "kernel-initramfs.bin"into thenandand boot/logintoit (192.168.1.1), then sysupgrade.31 +Wifi seem to work at 30-40MB/s with a MacBook Pro. 34 34 35 -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. 36 36 37 37 = 18.x = 38 38