devices:network:linksys_ea6350_v3_openwrt
Table of Contents
Information
Notes
- 2021/07/02: When using Oculus Air Link and a speed test at 60Mbps download, CPU 0 is around 75% load and the other 3 are 1-5%. Packet Steering is disabled by-default and doesn't seem to do anything when enabled. irqbalance spreads the load quite nicely and drops CPU 0 in the same situation to around 20%. Presumably, if ISP speeds increase beyond 60Mbps, irqbalance will be required.
- 2021/08: For 5GHz, the wireless channels chosen needs to do 30 dBm on both 2.4GHz and 5GHz. For 5GHz, 149 works fine.
- 2024/05/13: Wrong polarity on power barrel will fry the router/require hardware repair (post)
Snapshot
Links
- 2022: OpenWRT snapshot builds were disabled at some point, see https://github.com/openwrt/openwrt/pull/11405
sysupgrade
- This downloads the latest
sysupgrade.bin
and installs it
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
- Sets router IP to
192.168.2.1
- Sets router Gateway and DNS to
192.168.1.1
- Disables DHCPv6
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
- Disables
dnsmasq
,firewall
, andodhcpd
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
Wireless
2.4GHz
- Country Code: US
- Channel: 6
- Width: 20 MHz
- Encryption: WPA2-PSK CCMP AES
The Cathedral Rooftop (2.4GHz)
5GHz
- Country Code: US
- Channel: 149
- Width: 80 MHz
- Encryption: WPA2-PSK CCMP AES
The Beacon (5GHz)
Firewall
- 80/tcp HTTP
- 443/tcp HTTPS
Recovery
mtd
- OpenWRT → Linksys
Download Stock Firmware
3.1.10.191322
from 2018 is the latest as of 2022/12/09
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
/usr/local/www/wiki/data/pages/devices/network/linksys_ea6350_v3_openwrt.txt · Last modified: by Sean Rhone