Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
inbox:toh:askey:rt4230w_rev6 [2023/01/16 08:31] – added link to stock firmware lanchoninbox:toh:askey:rt4230w_rev6 [2024/02/12 08:58] – external edit
Line 11: Line 11:
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsCPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet Gbit ports_USB ports_ +  "source""json", 
-header  : ModelVersion,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,Gbit ports,USB +  "dom": "t", 
-align   c,c,c,c,c,c,c,c,c,c,c,c,c +  "paging": false
-filter  : Model~RT4230W +  "rotate"true
-sort    : Model +  "shownColumns"["model""version""cpu""cpumhz""flashmb""rammb""wlanhardware""wlan24ghz""wlan50ghz""ethernet1gports""usbports"]
-----+  "filterColumns"{"model": "^RT4230W$"} 
 +-->
  
 ===== Installation ===== ===== Installation =====
----- datatable ---- + 
-cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url +OpenWrt firmware[[https://firmware-selector.openwrt.org/?target=ipq806x%2Fgeneric&id=askey_rt4230w-rev6|https://firmware-selector.openwrt.org]] 
-headers Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock + 
-align   c,c,c +For explanation of different images, see [[docs:guide-user:installation:before.installation|FAQ before installation]].
-filter  : Model=RT4230W +
----- +
-For explanation of different images, see [[docs:guide-user:installation:before.installation|FAQ before installation]]+
  
 ==== Method 1: Installation over the network without serial access (Only works with non-SAC2V1K firmware) ==== ==== Method 1: Installation over the network without serial access (Only works with non-SAC2V1K firmware) ====
-Method 1 doesn't require opening the case and works with non-SAC2V1K firmware (ex: serial number beginning with A922 or AD31). **This method does NOT work with SAC2V1K firmware** (ex: router has QR code next to serial number sticker and has a serial number beginning with AD70 or AE32). Instead, use installation method 2 that requires disassembling the router to access the serial console.+Method 1 doesn't require opening the case and works with non-SAC2V1K firmware (ex: serial number beginning with A922 or AD31). **This method does NOT work with SAC2V1K firmware** (example of SAC2V1K firmware: router has QR code next to serial number sticker and has a serial number beginning with AD70 or AE32). Instead, use installation method 2 that requires disassembling the router to access the serial console.
  
 **WARNING: If you soft-brick your router, you will need to disassemble it to access the serial console in order to recover. You can use installation method 2 in that case.** **WARNING: If you soft-brick your router, you will need to disassemble it to access the serial console in order to recover. You can use installation method 2 in that case.**
Line 103: Line 101:
 (Originally based on: github.com/lmore377) (Originally based on: github.com/lmore377)
  
-===== Installation of a recovery OS =====+==== Installation of a recovery OS ====
 An secondary recovery OS (an initramfs OpenWrt image) can be installed on this device. The recovery OS will run automatically if the main OS ever gets corrupted, for example due to an interrupted sysupgrade. An secondary recovery OS (an initramfs OpenWrt image) can be installed on this device. The recovery OS will run automatically if the main OS ever gets corrupted, for example due to an interrupted sysupgrade.
  
 See here for details: https://github.com/Lanchon/openwrt-rt4230w-rev6#install-a-recovery-image-if-you-installed-openwrt-through-any-other-method See here for details: https://github.com/Lanchon/openwrt-rt4230w-rev6#install-a-recovery-image-if-you-installed-openwrt-through-any-other-method
  
-===== Performance tuning ===== +===== Basic configuration ===== 
-Enable **Software flow offloading** in **Network Firewall General Settings**.+-> [[docs:guide-user:base-system:start|Basic configuration]] After flashing, proceed with this.\\ 
 +Set up your Internet connection, configure wireless, configure USB port, etc. 
 + 
 +===== Specific Configuration ===== 
 + 
 +==== Network interfaces ==== 
 +The default network configuration is: 
 +^ Interface Name ^ Description        ^ Default configuration ^ 
 +| br-lan (eth1.1) | LAN & WiFi         | 192.168.1.1/24        | 
 +| wan (eth0.2)    | WAN                | DHCP client           | 
 +| vlan1 (eth1.1)  | LAN ports (1 to 4) | None                  | 
 +| vlan2 (eth0.2)  | WAN port           | None                  | 
 +| radio0          | WiFi 5G            | Disabled              | 
 +| radio1          | WiFi 2.4G          | Disabled              | 
 + 
 +==== Switch Ports (for VLANs)  ==== 
 + 
 +OpenWrt Switch port number 1 is the physical network port labeled Internet (WAN) on the device, numbers 2-5 are the Ethernet ports labeled 1-4 on the device, and number 0 and 6 are internal connections between the switch chip and the CPU (labeled "CPU" in LuCI). Use these //switch// port numbers when specifying a VLAN's ports via the UCI (i.e., in the ''ports'' option of a VLAN's ''config switch_vlan'' section, in ''/etc/config/network''). 
 + 
 +By default, ''eth0'' is used for traffic to/from the ISP and ''eth1'' is for traffic to/from the local network. 
 + 
 +^ Port             ^ Switch port   ^ 
 +| CPU (eth0)       | 0             | 
 +| WAN              | 1             | 
 +| LAN 1            | 2             | 
 +| LAN 2            | 3             | 
 +| LAN 3            | 4             | 
 +| LAN 4            | 5             | 
 +| CPU (eth1)       | 6             | 
 +==== Performance tuning ==== 
 + 
 +In **Network > Firewall > General Settings**, in section **Routing/NAT Offloading** enable **Software flow offloading**
 + 
 +**IMPORTANT:** The information below no longer applies to OpenWrt 23.05 (kernel 5.15.134). 
 + 
 +<hidden> 
 +Recent OpenWrt releases use the ''performance'' governor by default, obviating the need for further configuration and keeping the CPUs always at max frequency: 
 + 
 +<code> 
 +root@OpenWrt:~# cat /sys/devices/system/cpu/cpufreq/policy*/scaling_governor 
 +performance 
 +performance 
 +</code> 
 + 
 +(Also, the referenced sysfs files (''/sys/devices/system/cpu/cpufreq/ondemand/*'') no longer exist.
 + 
 +**OUTDATED INFORMATION FOLLOWS:** 
  
 This router has the same SoC as the Netgear R7800, so thanks to [[https://forum.openwrt.org/t/r7800-performance/15780/29|this forum post]] and the device page for this: This router has the same SoC as the Netgear R7800, so thanks to [[https://forum.openwrt.org/t/r7800-performance/15780/29|this forum post]] and the device page for this:
Line 119: Line 163:
 echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor     echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor    
 </code> </code>
 +</hidden>
  
 ===== Hardware ===== ===== Hardware =====
  • Last modified: 2024/05/08 05:29
  • by lanchon