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/03 00:05] 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/28: Dropping invalid packets (firewall) causes an Oculus Quest 2 to not load it's own store/home page 
-  * 2021/04/28: Software Flow Offload causes speed tests on an Oculus Quest 2 to not work at all 
-  * 2021/06/14: Enabling ''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 
-  * 2021/07/02: NoTengoBattery's optimized firmware causes an Oculus Quest 2 to not initiate app update downloads; may be related to Software Flow Offload being enabled by-default 
   * 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/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.
  
 ====== 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 28: 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 ======
  
-===== Packages ===== +  * [[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))
- +
-  * [[LuCI|https://openwrt.org/docs/guide-user/luci/luci.essentials]] ((snapshot images don't include LuCI, so it needs installed on **every** clean snapshot install)) +
-  * ''nano'' is used to enable ''irqbalance''+
  
   ssh 'root'@'192.168.1.1'   ssh 'root'@'192.168.1.1'
  
-  passwd+  sync && passwd
  
   opkg update && opkg install luci irqbalance nano && sync   opkg update && opkg install luci irqbalance nano && sync
  
-===== irqbalance =====+====== Wireless AP Mode ======
  
-  nano '/etc/config/irqbalance'+  * [[https://openwrt.org/docs/guide-user/network/wifi/dumbap|Wireless Access Point / Dumb Access Point / Dumb AP]] 
 + 
 +===== 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>
-        option enabled '1'</code>+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>
  
-===== LuCI =====+===== Services =====
  
-  * http://192.168.1.1+  * Disables ''dnsmasq'', ''firewall'', and ''odhcpd'' services
  
-==== Startup ====+<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> 
 + 
 +====== irqbalance ====== 
 + 
 +  * https://openwrt.org/docs/guide-user/services/irqbalance 
 + 
 +  nano '/etc/config/irqbalance' 
 + 
 +====== LuCI ====== 
 + 
 +  * http://192.168.1.2 
 + 
 +===== Startup =====
  
-  * http://192.168.1.1/cgi-bin/luci/admin/system/startup 
   * https://forum.openwrt.org/t/ipq40xx-ea6350-v3-as-wap-wifi-to-lan-latency/51623/8   * https://forum.openwrt.org/t/ipq40xx-ea6350-v3-as-wap-wifi-to-lan-latency/51623/8
   * :!: This is seemingly required in order to keep latency at a consistent 0.2ms on Ethernet   * :!: This is seemingly required in order to keep latency at a consistent 0.2ms on Ethernet
  
-<code> +  * http://192.168.1.2/cgi-bin/luci/admin/system/startup
-# Put your custom commands here that should be executed once +
-# the system init finishedBy default this file does nothing.+
  
-echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'+<code> 
 +echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'</code>
  
-exit 0</code> +==== Verify ====
- +
-=== Verify ===+
  
 <code>echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'</code> <code>echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'</code>
Line 76: Line 90:
 <code>cat '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq'</code> <code>cat '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq'</code>
  
-==== Quad9 DNS ====+===== Scheduled Reboot =====
  
-  * [[https://quad9.net/service/service-addresses-and-features#ecssec|Secured w/ECS]]+  * 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
-  * Channel: 11 +  * Channel: 6 
-  * Width: 40 MHz+  * Width: 20 MHz
   * Encryption: WPA2-PSK CCMP AES   * Encryption: WPA2-PSK CCMP AES
-  * :!: 802.11w Management Frame Protection: Disabled 
  
-<code>The Crossroads (2.4GHz)</code>+<code>The Cathedral Rooftop (2.4GHz)</code>
  
-=== 5GHz ===+==== 5GHz ====
  
   * Country Code: US   * Country Code: US
-  * Channel: 149+  * :!: Channel: 149
   * Width: 80 MHz   * Width: 80 MHz
-  * Encryption: WPA3-SAE +  * Encryption: WPA2-PSK CCMP AES 
-  * :!802.11w Management Frame ProtectionDisabled+ 
 +<code>The Beacon (5GHz)</code> 
 + 
 +====== Recovery ====== 
 + 
 +===== 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 ==== 
 + 
 +  * 1 = ''kernel'' 
 +  * 2 = ''alt_kernel''
  
-<code>Highgate (5GHz)</code>+  fw_setenv 'boot_part' '1'
  
-==== Firewall ====+  fw_setenv 'boot_part' '2'
  
-  * Forward ports ''80'' and ''443''+  sync && reboot
  
/var/www/wiki/data/pages/devices/linksys_ea6350_v3.txt · Last modified: 2022/12/12 02:25 by Sean Rhone