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
devices:linksys_ea6350_v3 [2021/07/02 20:39] – [Quad9 DNS] Sean Rhonedevices:linksys_ea6350_v3 [2022/12/12 02:25] (current) 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 ====== 
-  * [[https://quad9.net/service/service-addresses-and-features#ecssec|Secured w/ECS]]+ 
 +  * https://openwrt.org/docs/guide-user/services/irqbalance 
 + 
 +  nano '/etc/config/irqbalance' 
 + 
 +====== LuCI ====== 
 + 
 +  * http://192.168.1.2 
 + 
 +===== Startup ===== 
 + 
 +  * 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 
 + 
 +  * http://192.168.1.2/cgi-bin/luci/admin/system/startup 
 + 
 +<code> 
 +echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'</code> 
 + 
 +==== Verify ==== 
 + 
 +<code>echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'</code> 
 + 
 +<code>cat '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor'</code> 
 + 
 +<code>cat '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq'</code> 
 + 
 +===== Scheduled Reboot ===== 
 + 
 +  * https://www.albertogonzalez.net/how-to-reboot-nightly-your-openwrt-router/ 
 +  * https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot 
 + 
 +  * http://192.168.1.2/cgi-bin/luci/admin/system/crontab 
 + 
 +<code> 
 +Restart 3:32 AM 
 +32 3 * * * sleep 70 && touch /etc/banner && reboot</code> 
 + 
 +===== 1.1.1.1 DNS ===== 
 + 
 +  * https://1.1.1.1/dns/
   * See [[notes:dns_servers|DNS servers]] for other DNS servers   * See [[notes:dns_servers|DNS servers]] for other DNS servers
  
-<code>2620:fe::11</code> +<code>2606:4700:4700::1111</code> 
-<code>2620:fe::fe:11</code> + 
-<code>9.9.9.11</code> +<code>2606:4700:4700::1001</code> 
-<code>149.112.112.11</code>+ 
 +<code>1.1.1.1</code> 
 + 
 +<code>1.0.0.1</code>
  
-==== Wireless ====+===== Wireless =====
  
-=== 2.4GHz ===+==== 2.4GHz ====
  
   * Country Code: US   * Country Code: US
-  * [   ] Allow legacy 802.11b rates +  * Channel: 6 
-  * Channel: 11 ((Kitchen is 1 @ 20Mhz, Living Room is @ 20Hz)) +  * Width: 20 MHz
-  * Width: 40 MHz+
   * Encryption: WPA2-PSK CCMP AES   * Encryption: WPA2-PSK CCMP AES
  
-<code>The Crossroads (2.4GHz)</code>+<code>The Cathedral Rooftop (2.4GHz)</code>
  
-=== 5GHz ===+==== 5GHz ====
  
   * Country Code: US   * Country Code: US
-  * [   ] Allow legacy 802.11b rates +  * :!: Channel: 149
-  * Channel: 149 ((Kitchen is 165 @ 20Mhz, Living Room is 36 @ 80Hz))+
   * Width: 80 MHz   * Width: 80 MHz
-  * Encryption: WPA3-SAE+  * Encryption: WPA2-PSK CCMP AES
  
-<code>Highgate (5GHz)</code>+<code>The Beacon (5GHz)</code>
  
-==== Hostnames ====+===== Firewall =====
  
-  * 192.168.1.153+  * See [[notes:port_forwards]]
  
-<code>realmofespionage.xyz</code>+====== Recovery ======
  
-==== Firewall ====+===== mtd =====
  
-  * Forward ports ''80'' and ''443''+  * https://openwrt.org/toh/linksys/ea8300#revert_to_stock 
 +  * OpenWRT -> Linksys
  
-====== CPU Frequency ======+==== Download Stock Firmware ====
  
-  * https://forum.openwrt.org/t/ipq40xx-ea6350-v3-as-wap-wifi-to-lan-latency/51623/8+  * https://www.linksys.com/support-article?articleNum=148481 
 +  * ''3.1.10.191322'' from 2018 is the latest as of 2022/12/09
  
-<code>echo 'performance| tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor> '/dev/null'</code>+  ssh 'root'@'192.168.1.1'
  
-<code>cat '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor'</code>+  wget 'https://downloads.linksys.com/downloads/firmware/FW_EA6350v3_3.1.10.191322_prod.img'
  
-<code>cat '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq'</code>+==== Check Current Firmware Partition ====
  
-====== irqbalance ======+  * 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''))
  
-===== Install =====+  cat '/sys/devices/virtual/ubi/ubi0/mtd_num'
  
-****+==== Erase Non-current Firmware Partition ====
  
-<code>opkg update && opkg install 'irqbalance'</code>+  mtd erase 'kernel'
  
-===== Config =====+  mtd erase 'alt_kernel'
  
-  * Set ''option enabled'' to ''1''+==== Flash Stock Firmware ====
  
-<code>scp 'root'@'192.168.1.1':'/etc/config/irqbalance~/'Downloads&& sync</code>+  mtd write 'FW_EA6350v3_3.1.10.191322_prod.img' 'kernel'
  
-<code>nano ~/'Downloads/irqbalance'</code>+  mtd write 'FW_EA6350v3_3.1.10.191322_prod.img' 'alt_kernel'
  
-<code>scp ~/'Downloads/irqbalance' 'root'@'192.168.1.1':'/etc/config'</code> +==== Boot Stock Firmware ====
- +
-====== UCI Test ====== +
- +
-  * TODO: This is incomplete +
- +
-<code> +
-system.@system[0].hostname='Wraeclast' +
-system.@system[0].zonename='America/New York'+
  
-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/attic/devices/linksys_ea6350_v3.1625272740.txt.gz · Last modified: 2021/07/02 20:39 by Sean Rhone