Notes
Snapshot
Links
sysupgrade
ssh 'root'@'192.168.1.1'
rm -f '/tmp/sysupgrade.img' && sync && sysupgrade --force -n -v 'https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/openwrt-ipq40xx-generic-linksys_ea6350v3-squashfs-sysupgrade.bin'
rm -Rf ~/'.ssh' && ping '192.168.1.1'
Packages
ssh 'root'@'192.168.1.1'
sync && passwd
opkg update && opkg install luci irqbalance nano && sync
Wireless AP Mode
Network
uci set network.lan.ipaddr=192.168.2.1 & uci set network.lan.gateway=192.168.1.1 & uci set network.lan.dns=192.168.1.1 & uci set dhcp.lan.dhcpv6=disabled & uci set dhcp.lan.ra=disabled & uci commit & service network restart & sync
Services
/etc/init.d/dnsmasq disable & /etc/init.d/dnsmasq stop & /etc/init.d/firewall disable & /etc/init.d/firewall stop & /etc/init.d/odhcpd disable & /etc/init.d/odhcpd stop & /etc/init.d/network reload & sync
irqbalance
nano '/etc/config/irqbalance'
LuCI
Startup
-
This is seemingly required in order to keep latency at a consistent 0.2ms on Ethernet
echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'
Verify
echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'
cat '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor'
cat '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq'
Scheduled Reboot
# Restart 3:32 AM
32 3 * * * sleep 70 && touch /etc/banner && reboot
1.1.1.1 DNS
2606:4700:4700::1111
2606:4700:4700::1001
1.1.1.1
1.0.0.1
Wireless
2.4GHz
The Cathedral Rooftop (2.4GHz)
5GHz
Firewall
80/tcp HTTP
443/tcp HTTPS
Recovery
mtd
Download Stock Firmware
ssh 'root'@'192.168.1.1'
wget 'https://downloads.linksys.com/downloads/firmware/FW_EA6350v3_3.1.10.191322_prod.img'
Check Current Firmware Partition
11 = kernel
13 = alt_kernel
Flash operations should be done on the kernel
not mentioned in the following command
2)
cat '/sys/devices/virtual/ubi/ubi0/mtd_num'
Erase Non-current Firmware Partition
mtd erase 'kernel'
mtd erase 'alt_kernel'
Flash Stock Firmware
mtd write 'FW_EA6350v3_3.1.10.191322_prod.img' 'kernel'
mtd write 'FW_EA6350v3_3.1.10.191322_prod.img' 'alt_kernel'
Boot Stock Firmware
1 = kernel
2 = alt_kernel
fw_setenv 'boot_part' '1'
fw_setenv 'boot_part' '2'
sync && reboot