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:59] 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+
  
-====== NoTengoBattery ======+====== Snapshot ======
  
-  * https://forum.openwrt.org/t/optimized-build-for-ipq40xx-devices/44125 +==== Links ==== 
-  * :!: This needs tested to see if it's worthwhile over vanilla OpenWRT+ 
 +  :!: 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-sysupgrade.bin|sysupgrade.bin]] 
 + 
 +==== sysupgrade ==== 
 + 
 +  * This downloads the latest ''sysupgrade.bin'' and installs it
  
   ssh 'root'@'192.168.1.1'   ssh 'root'@'192.168.1.1'
  
-  rm -f '/tmp/sysupgrade.img' && sync && sysupgrade --force -n -v 'https://downloads.notengobattery.com/projects/openwrt-v3.0.0-rc3/targets/ipq40xx/generic/notengobattery-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 ======
  
-===== Configure =====+  * [[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))
  
-  * http://192.168.1.1+  ssh 'root'@'192.168.1.1'
  
-====== Snapshot ======+  sync && passwd
  
-==== Links ====+  opkg update && opkg install luci irqbalance nano && sync
  
-  * [[https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/openwrt-ipq40xx-generic-linksys_ea6350v3-squashfs-factory.bin|factory.bin]] +====== Wireless AP Mode ======
-  * [[https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/openwrt-ipq40xx-generic-linksys_ea6350v3-squashfs-sysupgrade.bin|sysupgrade.bin]]+
  
-==== sysupgrade ====+  * [[https://openwrt.org/docs/guide-user/network/wifi/dumbap|Wireless Access Point / Dumb Access Point / Dumb AP]]
  
-  * This downloads the latest ''sysupgrade.bin'' and installs it+===== Network =====
  
-  ssh 'root'@'192.168.1.1'+  * [[https://openwrt.org/docs/guide-user/network/openwrt_as_routerdevice|OpenWrt as router device]]
  
-  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'+  * Sets router IP to ''192.168.1.2'' 
 +  * Sets router Gateway and DNS to ''192.168.1.1'' 
 +  * Disables DHCPv6
  
-  ping '192.168.1.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>
  
-  rm -R ~/'.ssh'+===== Services =====
  
-===== LuCI =====+  * Disables ''dnsmasq'', ''firewall'', and ''odhcpd'' services
  
-  * https://openwrt.org/docs/guide-user/luci/luci.essentials +<code> 
-  * :!: Snapshot images don't include LuCI, so it needs installed on **every** clean snapshot install+/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>
  
-  ssh 'root'@'192.168.1.1'+====== irqbalance ======
  
-  passwd+  * https://openwrt.org/docs/guide-user/services/irqbalance
  
-  opkg update && opkg install 'luci'+  nano '/etc/config/irqbalance'
  
-===== Configure =====+====== LuCI ======
  
-  * http://192.168.1.1+  * http://192.168.1.2
  
-==== Startup ====+===== 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> <code>
-# Put your custom commands here that should be executed once +echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'</code>
-# the system init finished. By default this file does nothing.+
  
-echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'+==== Verify ====
  
-exit 0</code>+<code>echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'</code>
  
-==== Quad9 DNS ====+<code>cat '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor'</code>
  
-  * https://quad9.net +<code>cat '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq'</code>
-  * [[https://quad9.net/service/service-addresses-and-features#ecssec|Secured w/ECS]] +
-  * See [[notes:dns_servers|DNS servers]] for other DNS servers+
  
-<code>2620:fe::11</code> +===== Scheduled Reboot =====
-<code>2620:fe::fe:11</code> +
-<code>9.9.9.11</code> +
-<code>149.112.112.11</code>+
  
-==== Wireless ====+  * https://www.albertogonzalez.net/how-to-reboot-nightly-your-openwrt-router/ 
 +  * https://openwrt.org/docs/guide-user/base-system/cron#periodic_reboot
  
-=== 2.4GHz ===+  * http://192.168.1.2/cgi-bin/luci/admin/system/crontab
  
-  * Country CodeUS +<code> 
-  [   ] Allow legacy 802.11b rates +# Restart 3:32 AM 
-  Channel: 11 ((Kitchen is 1 @ 20Mhz, Living Room is 6 @ 20Hz)) +32 3 * * * sleep 70 && touch /etc/banner && reboot</code>
-  Width: 40 MHz +
-  * Encryption: WPA2-PSK CCMP AES+
  
-<code>The Crossroads (2.4GHz)</code>+===== 1.1.1.1 DNS =====
  
-=== 5GHz ===+  * https://1.1.1.1/dns/ 
 +  * See [[notes:dns_servers|DNS servers]] for other DNS servers
  
-  * Country CodeUS +<code>2606:4700:4700::1111</code>
-  * [   ] Allow legacy 802.11b rates +
-  * Channel149 ((Kitchen is 165 @ 20Mhz, Living Room is 36 @ 80Hz)) +
-  * Width80 MHz +
-  * EncryptionWPA3-SAE+
  
-<code>Highgate (5GHz)</code>+<code>2606:4700:4700::1001</code>
  
-==== Hostnames ====+<code>1.1.1.1</code>
  
-  * 192.168.1.153+<code>1.0.0.1</code>
  
-<code>realmofespionage.xyz</code>+===== Wireless =====
  
-==== Firewall ====+==== 2.4GHz ====
  
-  * Forward ports ''80'' and ''443''+  * Country Code: US 
 +  * Channel: 6 
 +  * Width: 20 MHz 
 +  * Encryption: WPA2-PSK CCMP AES
  
-====== CPU Frequency ======+<code>The Cathedral Rooftop (2.4GHz)</code>
  
-  * https://forum.openwrt.org/t/ipq40xx-ea6350-v3-as-wap-wifi-to-lan-latency/51623/8+==== 5GHz ====
  
-<code>echo 'performance' | tee '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor' > '/dev/null'</code>+  * Country Code: US 
 +  * :!: Channel: 149 
 +  * Width: 80 MHz 
 +  * Encryption: WPA2-PSK CCMP AES
  
-<code>cat '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor'</code>+<code>The Beacon (5GHz)</code>
  
-<code>cat '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq'</code>+====== Recovery ======
  
-====== irqbalance ======+===== mtd =====
  
-===== Install =====+  * https://openwrt.org/toh/linksys/ea8300#revert_to_stock 
 +  * OpenWRT -> Linksys
  
-****+==== Download Stock Firmware ====
  
-<code>opkg update && opkg install 'irqbalance'</code>+  * https://www.linksys.com/support-article?articleNum=148481 
 +  * ''3.1.10.191322'' from 2018 is the latest as of 2022/12/09
  
-===== Config =====+  ssh 'root'@'192.168.1.1'
  
-  * Set ''option enabled'' to ''1''+  wget 'https://downloads.linksys.com/downloads/firmware/FW_EA6350v3_3.1.10.191322_prod.img'
  
-<code>scp 'root'@'192.168.1.1':'/etc/config/irqbalance' ~/'Downloads' && sync</code>+==== Check Current Firmware Partition ====
  
-<code>nano ~/'Downloads/irqbalance'</code>+  * 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''))
  
-<code>scp ~/'Downloads/irqbalance' 'root'@'192.168.1.1':'/etc/config'</code>+  cat '/sys/devices/virtual/ubi/ubi0/mtd_num'
  
-====== UCI Test ======+==== Erase Non-current Firmware Partition ====
  
-  * TODO: This is incomplete+  mtd erase 'kernel'
  
-<code> +  mtd erase 'alt_kernel' 
-system.@system[0].hostname='Wraeclast+ 
-system.@system[0].zonename='America/New York'+==== 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