Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| inbox:toh:askey:rt4230w_rev6 [2022/12/06 11:23] – Simplify and improve install instructions lanchon | inbox:toh:askey:rt4230w_rev6 [2024/02/12 08:58] – external edit | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | header | + | " |
| - | align : c,c,c,c,c,c,c,c,c,c,c,c,c | + | " |
| - | filter | + | |
| - | sort : Model | + | " |
| - | ---- | + | |
| + | } --> | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | ---- datatable ---- | ||
| - | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
| - | headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | ||
| - | align : c,c,c | ||
| - | filter | ||
| - | ---- | ||
| - | For explanation of different images, see [[docs: | ||
| - | ==== Method 1: Installation | + | OpenWrt firmware: [[https:// |
| - | Method 1 doesn' | + | |
| + | For explanation of different images, see [[docs: | ||
| + | |||
| + | ==== Method 1: Installation | ||
| + | Method 1 doesn' | ||
| **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.** | ||
| + | Stock non-SAC2V1K firmware: https:// | ||
| + | ==== Method 1A: Installation using web interface and SSH (only works with non-SAC2V1K firmware) ==== | ||
| + | This is the recommended install method. It does not require setting up a TFTP server and thus is quick and easy, it produces full backups of the router, and it installs dual OSes: main and recovery. The recovery OS will run automatically if the main OS ever gets corrupted, for example due to an interrupted sysupgrade. It also configures the router to attempt a TFTP boot if both OSes are corrupt. | ||
| + | |||
| + | Note that this method must be executed under the WSL (Windows Subsystem for Linux) if you are running Windows. | ||
| + | |||
| + | See instruction here: https:// | ||
| + | |||
| + | ==== Method 1B: Installation using web interface, SSH, and TFTP (only works with non-SAC2V1K firmware) ==== | ||
| // | // | ||
| Line 64: | Line 71: | ||
| The router will reboot and, if all went well, you'll now have OpenWrt running. The router will have default address '' | The router will reboot and, if all went well, you'll now have OpenWrt running. The router will have default address '' | ||
| - | ==== Method 2: Installation using serial access and TFTP (Works with all firmware versions) ==== | + | ==== Method 2: Installation using serial access and TFTP (works with all firmware versions) ==== |
| Method 2: Install with serial access (Do this if something fails and you can't boot after using method 1) | Method 2: Install with serial access (Do this if something fails and you can't boot after using method 1) | ||
| Open the router and connect to the serial console. Instructions can be found here: https:// | Open the router and connect to the serial console. Instructions can be found here: https:// | ||
| Line 94: | Line 101: | ||
| (Originally based on: github.com/ | (Originally based on: github.com/ | ||
| - | ===== Performance tuning | + | ==== Installation of a recovery OS ==== |
| - | Enable | + | 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:// | ||
| + | |||
| + | ===== Basic configuration ===== | ||
| + | -> [[docs: | ||
| + | Set up your Internet connection, configure wireless, configure USB port, etc. | ||
| + | |||
| + | ===== Specific Configuration ===== | ||
| + | |||
| + | ==== Network interfaces ==== | ||
| + | The default network configuration is: | ||
| + | ^ Interface Name ^ Description | ||
| + | | br-lan (eth1.1) | LAN & WiFi | 192.168.1.1/ | ||
| + | | wan (eth0.2) | ||
| + | | vlan1 (eth1.1) | ||
| + | | vlan2 (eth0.2) | ||
| + | | radio0 | ||
| + | | radio1 | ||
| + | |||
| + | ==== 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 " | ||
| + | |||
| + | By default, '' | ||
| + | |||
| + | ^ Port ^ Switch port ^ | ||
| + | | CPU (eth0) | ||
| + | | WAN | 1 | | ||
| + | | LAN 1 | 2 | | ||
| + | | LAN 2 | 3 | | ||
| + | | LAN 3 | 4 | | ||
| + | | LAN 4 | 5 | | ||
| + | | CPU (eth1) | ||
| + | ==== Performance tuning ==== | ||
| + | |||
| + | In **Network > Firewall > General Settings**, in section **Routing/ | ||
| + | |||
| + | **IMPORTANT: | ||
| + | |||
| + | <hidden> | ||
| + | Recent OpenWrt releases use the '' | ||
| + | |||
| + | <code> | ||
| + | root@OpenWrt: | ||
| + | performance | ||
| + | performance | ||
| + | </ | ||
| + | |||
| + | (Also, the referenced sysfs files (''/ | ||
| + | |||
| + | **OUTDATED INFORMATION FOLLOWS: | ||
| This router has the same SoC as the Netgear R7800, so thanks to [[https:// | This router has the same SoC as the Netgear R7800, so thanks to [[https:// | ||
| Line 105: | Line 163: | ||
| echo 10 > / | echo 10 > / | ||
| </ | </ | ||
| + | </ | ||
| ===== Hardware ===== | ===== Hardware ===== | ||