User Tools

Site Tools


devices:linksys_ea6350_v3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
devices:linksys_ea6350_v3 [2021/07/02 20:38] – [Quad9 DNS] Sean Rhonedevices:linksys_ea6350_v3 [2022/12/09 12:18] Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * Linksys EA6350 V3 ((https://www.linksys.com/gb/p/P-EA6350/)) +  * [[https://www.linksys.com/id/p/p-ea6350/|Linksys EA6350]] 
-  * OpenWrt ((https://openwrt.org)) ((https://openwrt.org/toh/linksys/linksys_ea6350_v3))+  * [[https://openwrt.org|OpenWrt]] 
 +  * [[https://openwrt.org/toh/linksys/ea6350_v3|OpenWrt Device Page]] 
 +  * [[https://openwrt.org/releases/snapshot|Snapshot]]
  
 ===== Notes ===== ===== Notes =====
  
-  * 2021/04/28Dropping invalid packets (firewall) causes an Oculus Quest 2 to not load it's own store/home page +  * 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/04/28: Software Flow Offload causes speed tests on an Oculus Quest 2 to not work at all +  * 2021/08For 5GHz, the wireless channels chosen needs to do 30 dBm on both 2.4GHz and 5GHz. For 5GHz, 149 works fine.
-  * 2021/06/14Enabling ''Use broadcast flag'' causes WAN not to work +
-  * 2021/06/29: Enabling ''802.11w Management Frame Protection'' on 2.4GHz caused a NC200 to not be able to connect+
  
 ====== Snapshot ====== ====== Snapshot ======
  
 ==== Links ==== ==== Links ====
 +
 +  * :!: 2022: OpenWRT snapshot builds were disabled at some point, see https://github.com/openwrt/openwrt/pull/11405
  
   * [[https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/openwrt-ipq40xx-generic-linksys_ea6350v3-squashfs-factory.bin|factory.bin]]   * [[https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/openwrt-ipq40xx-generic-linksys_ea6350v3-squashfs-factory.bin|factory.bin]]
Line 26: Line 28:
   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 -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'
  
-  ping '192.168.1.1'+  rm -Rf ~/'.ssh' && ping '192.168.1.1'
  
-  rm -R ~/'.ssh'+====== Packages ======
  
-===== LuCI ===== +  [[https://openwrt.org/docs/guide-user/luci/luci.essentials|LuCI]] ((snapshot images don't include LuCI, so it needs installed on **every** clean snapshot install))
- +
-  * https://openwrt.org/docs/guide-user/luci/luci.essentials +
-  * :!: Snapshot images don't include LuCI, so it needs installed on **every** clean snapshot install+
  
   ssh 'root'@'192.168.1.1'   ssh 'root'@'192.168.1.1'
  
-  passwd+  sync && passwd
  
-  opkg update && opkg install 'luci'+  opkg update && opkg install luci irqbalance nano && sync
  
-===== Configure =====+====== Wireless AP Mode ======
  
-  * http://192.168.1.1+  * [[https://openwrt.org/docs/guide-user/network/wifi/dumbap|Wireless Access Point / Dumb Access Point / Dumb AP]]
  
-==== Startup ====+===== Network ===== 
 + 
 +  * [[https://openwrt.org/docs/guide-user/network/openwrt_as_routerdevice|OpenWrt as router device]] 
 + 
 +  * Sets router IP to ''192.168.1.2'' 
 +  * Sets router Gateway and DNS to ''192.168.1.1'' 
 +  * Disables DHCPv6
  
 <code> <code>
-# Put your custom commands here that should be executed once +uci set network.lan.ipaddr=192.168.1.2 && 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</code>
-# the system init finishedBy default this file does nothing.+
  
-echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'+===== Services =====
  
-exit 0</code>+  * Disables ''dnsmasq'', ''firewall'', and ''odhcpd'' services
  
-==== Quad9 DNS ====+<code> 
 +/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</code>
  
-  * https://quad9.net +====== irqbalance ======
-  * Secured w/ECS +
-  * See [[notes:dns_servers|DNS servers]] for other DNS servers+
  
-<code>2620:fe::11</code> +  * https://openwrt.org/docs/guide-user/services/irqbalance
-<code>2620:fe::fe:11</code> +
-<code>9.9.9.11</code> +
-<code>149.112.112.11</code>+
  
-==== Wireless ====+  nano '/etc/config/irqbalance'
  
-=== 2.4GHz ===+====== LuCI ======
  
-  * Country CodeUS +  * http://192.168.1.2
-  * [   ] Allow legacy 802.11b rates +
-  * Channel: 11 ((Kitchen is @ 20Mhz, Living Room is 6 @ 20Hz)) +
-  * Width: 40 MHz +
-  * Encryption: WPA2-PSK CCMP AES+
  
-<code>The Crossroads (2.4GHz)</code>+===== Startup =====
  
-=== 5GHz ===+  * https://forum.openwrt.org/t/ipq40xx-ea6350-v3-as-wap-wifi-to-lan-latency/51623/
 +  * :!: This is seemingly required in order to keep latency at a consistent 0.2ms on Ethernet
  
-  * Country CodeUS +  * http://192.168.1.2/cgi-bin/luci/admin/system/startup
-  * [   ] Allow legacy 802.11b rates +
-  * Channel: 149 ((Kitchen is 165 @ 20Mhz, Living Room is 36 @ 80Hz)) +
-  * Width: 80 MHz +
-  * Encryption: WPA3-SAE+
  
-<code>Highgate (5GHz)</code>+<code> 
 +echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'</code>
  
-==== Hostnames ====+==== Verify ====
  
-  * 192.168.1.153+<code>echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'</code>
  
-<code>realmofespionage.xyz</code>+<code>cat '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor'</code>
  
-==== Firewall ====+<code>cat '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq'</code>
  
-  * Forward ports ''80'' and ''443''+===== Scheduled Reboot =====
  
-====== CPU Frequency ======+  * https://www.albertogonzalez.net/how-to-reboot-nightly-your-openwrt-router/ 
 +  * https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot
  
-  * https://forum.openwrt.org/t/ipq40xx-ea6350-v3-as-wap-wifi-to-lan-latency/51623/8+  * http://192.168.1.2/cgi-bin/luci/admin/system/crontab
  
-<code>echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'</code>+<code> 
 +# Restart 3:32 AM 
 +32 3 * * * sleep 70 && touch /etc/banner && reboot</code>
  
-<code>cat '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor'</code>+===== 1.1.1.1 DNS =====
  
-<code>cat '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq'</code>+  * https://1.1.1.1/dns/ 
 +  * See [[notes:dns_servers|DNS servers]] for other DNS servers
  
-====== irqbalance ======+<code>2606:4700:4700::1111</code>
  
-===== Install =====+<code>2606:4700:4700::1001</code>
  
-****+<code>1.1.1.1</code>
  
-<code>opkg update && opkg install 'irqbalance'</code>+<code>1.0.0.1</code>
  
-===== Config =====+===== Wireless =====
  
-  * Set ''option enabled'' to ''1''+==== 2.4GHz ====
  
-<code>scp 'root'@'192.168.1.1':'/etc/config/irqbalance' ~/'Downloads' && sync</code>+  * Country CodeUS 
 +  * Channel: 6 
 +  * Width: 20 MHz 
 +  * Encryption: WPA2-PSK CCMP AES
  
-<code>nano ~/'Downloads/irqbalance'</code>+<code>The Cathedral Rooftop (2.4GHz)</code>
  
-<code>scp ~/'Downloads/irqbalance' 'root'@'192.168.1.1':'/etc/config'</code>+==== 5GHz ====
  
-====== UCI Test ======+  * Country Code: US 
 +  * :!: Channel: 149 
 +  * Width: 80 MHz 
 +  * Encryption: WPA2-PSK CCMP AES
  
-  * TODO: This is incomplete+<code>The Beacon (5GHz)</code>
  
-<code+====== Recovery ====== 
-system.@system[0].hostname='Wraeclast' + 
-system.@system[0].zonename='America/New York'+===== mtd ===== 
 + 
 +  * https://openwrt.org/toh/linksys/ea8300#revert_to_stock 
 +  * OpenWRT -Linksys 
 + 
 +==== Download Stock Firmware ==== 
 + 
 +  * https://www.linksys.com/support-article?articleNum=148481 
 +  * ''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 ((so if ''13'' for ''alt_kernel'' is reported, ''mtd'' commands should be applied to ''kernel'')) 
 + 
 +  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 ====
  
-dropbear.@dropbear[0].Interface='lan'+  * 1 = ''kernel'' 
 +  * 2 = ''alt_kernel''
  
-firewall.@redirect[0]=redirect +  fw_setenv 'boot_part' '1'
-firewall.@redirect[0].target='DNAT' +
-firewall.@redirect[0].name='HTTP' +
-firewall.@redirect[0].proto='tcp' +
-firewall.@redirect[0].src='wan' +
-firewall.@redirect[0].src_dport='80' +
-firewall.@redirect[0].dest='lan' +
-firewall.@redirect[0].dest_ip='192.168.1.153' +
-firewall.@redirect[0].dest_port='80' +
-firewall.@redirect[1]=redirect +
-firewall.@redirect[1].target='DNAT' +
-firewall.@redirect[1].name='HTTPS' +
-firewall.@redirect[1].proto='tcp' +
-firewall.@redirect[1].src='wan' +
-firewall.@redirect[1].src_dport='443' +
-firewall.@redirect[1].dest='lan' +
-firewall.@redirect[1].dest_ip='192.168.1.153' +
-firewall.@redirect[1].dest_port='443'+
  
-dhcp.@domain[0]=domain +  fw_setenv 'boot_part' '2'
-dhcp.@domain[0].name='realmofespionage.xyz' +
-dhcp.@domain[0].ip='192.168.1.153'</code>+
  
 +  sync && reboot
  
/var/www/wiki/data/pages/devices/linksys_ea6350_v3.txt · Last modified: 2022/12/12 02:25 by Sean Rhone