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/09/09 02:33] Sean Rhonedevices:linksys_ea6350_v3 [2022/12/09 12:18] Sean Rhone
Line 14: Line 14:
  
 ==== 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'
  
-  rm -~/'.ssh' && ping '192.168.1.1'+  rm -Rf ~/'.ssh' && ping '192.168.1.1'
  
 ====== 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))   * [[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))
-  * ''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> 
 + 
 +===== Services ===== 
 + 
 +  * Disables ''dnsmasq'', ''firewall'', and ''odhcpd'' services 
 + 
 +<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 ====== ====== LuCI ======
  
-  * http://192.168.1.1+  * http://192.168.1.2
  
 ===== Startup ===== ===== 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
 +
 +  * 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' +
- +
-exit 0</code>+
  
 ==== Verify ==== ==== Verify ====
Line 72: 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 =====
Line 88: Line 120:
   * Country Code: US   * Country Code: US
   * Channel: 6   * Channel: 6
-  * Width: 40 MHz+  * Width: 20 MHz
   * Encryption: WPA2-PSK CCMP AES   * Encryption: WPA2-PSK CCMP AES
  
Line 101: Line 133:
  
 <code>The Beacon (5GHz)</code> <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''
 +
 +  fw_setenv 'boot_part' '1'
 +
 +  fw_setenv 'boot_part' '2'
 +
 +  sync && reboot
  
/var/www/wiki/data/pages/devices/linksys_ea6350_v3.txt · Last modified: 2022/12/12 02:25 by Sean Rhone