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 | ||
| toh:mts:wg430223 [2022/08/14 15:32] – [Supported Versions] csharper2005 | toh:mts:wg430223 [2023/05/17 16:54] – [Tags] csharper2005 | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| /*****/ | /*****/ | ||
| - | The MTS WG430223 is a wireless router based on the MT7621 platform. While it can be acquired for relatively low cost (especially on avito.ru) compared to other units with similar specifications. | + | The MTS WG430223 is a wireless router based on the MT7621 platform. While it can be acquired for relatively low cost (especially on avito.ru) compared to other units with similar specifications. Also known as Arcadyan WG430223. |
| /*****/ | /*****/ | ||
| Line 30: | Line 30: | ||
| ===== Experimental firmware ===== | ===== Experimental firmware ===== | ||
| - | * Community builds - https:// | + | * [[https:// |
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== | ||
| Line 40: | Line 40: | ||
| filter | filter | ||
| ---- | ---- | ||
| + | |||
| + | |||
| + | ===== Backup ===== | ||
| + | It's strongly recommended to make a backup before you start: | ||
| + | |||
| + | * Set up a tftp server (e.g. tftpd64 for windows) | ||
| + | |||
| + | * Connect to a router using Telnet and run the following commands: | ||
| + | <code bash> | ||
| + | cd /tmp | ||
| + | for i in 1 2 3 4 5 6 7 8 9 10 11 12; do nanddump -f mtd$i /dev/mtd$i; \ | ||
| + | tftp -l mtd$i -p 192.168.1.2; | ||
| + | tftp -l mtd.md5 -p 192.168.1.2 | ||
| + | </ | ||
| + | 192.168.1.2 - IP of the tftp server | ||
| + | |||
| + | * Check backups in your tftp root folder. | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | /* stable release */ | + | |
| - | /* uncomment once stable release is available | + | |
| ---- datatable ---- | ---- datatable ---- | ||
| cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
| Line 52: | Line 68: | ||
| filter | filter | ||
| ---- | ---- | ||
| - | */ | ||
| - | /* snapshot */ | + | -> [[docs: |
| - | /* delete once stable release is available */ | + | |
| - | ---- datatable ---- | + | |
| - | cols | + | |
| - | headers | + | |
| - | align : c,c,c | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | |
| + | ==== OpenWrt installation ==== | ||
| - | -> [[docs:guide-user: | + | <WRAP round info 100%> |
| + | **CAUTION:** \\ | ||
| + | If you have any third-party firmware (e.g. Padavan, Keenetic, AsusWrt, non-official | ||
| + | </ | ||
| 1. Login to the router web interface (superadmin: | 1. Login to the router web interface (superadmin: | ||
| Line 76: | Line 87: | ||
| 4. Connect to the router using telnet shell (no password required) | 4. Connect to the router using telnet shell (no password required) | ||
| - | 5. Save MAC adresses to U-Boot environment: | + | 5. Check the bootpartition: |
| - | | + | <code bash> |
| - | awk ' | + | uboot_env --get --name |
| - | uboot_env --set --name eth3macaddr --value $(ifconfig | grep eth3 | \ | + | </ |
| - | awk ' | + | If the result is //1// then go to the next step, otherwise |
| - | | + | <code bash> |
| - | awk ' | + | uboot_env --set --name |
| - | | + | reboot |
| - | awk ' | + | </ |
| - | 6. Ensure that MACs were saved correctly: | + | 6. Download and write the OpenWrt images: |
| - | uboot_env | + | <code bash> |
| - | | + | cd /tmp |
| - | | + | wget https:// |
| - | uboot_env --get --name rax0macaddr | + | mtd_write erase /dev/mtd4 |
| + | mtd_write write openwrt-22.03.0-ramips-mt7621-mts_wg430223-squashfs-factory.trx /dev/mtd4 | ||
| + | </ | ||
| - | 7. Download | + | 7. Set 1st boot partition |
| - | cd /tmp | + | <code bash> |
| - | wget http:// | + | uboot_env |
| - | mtd_write erase /dev/mtd4 | + | reboot |
| - | mtd_write write factory.trx /dev/mtd4 | + | </code> |
| - | 8. Set 1st boot partition and reboot: | ||
| - | | ||
| + | ==== OEM easy installation ==== | ||
| + | Under development | ||
| + | |||
| + | |||
| + | ==== OEM installation using the TFTP method ==== | ||
| + | |||
| + | -> [[docs: | ||
| + | |||
| + | Not applicable | ||
| ===== Return to Stock ===== | ===== Return to Stock ===== | ||
| 1. Login as root via SSH on 192.168.1.1, | 1. Login as root via SSH on 192.168.1.1, | ||
| - | fw_setenv bootpartition 1 | + | <code bash> |
| - | | + | fw_setenv bootpartition 1 |
| + | reboot | ||
| + | </ | ||
| 2. Optional step. Upgrade the stock firmware with any version to overwrite the OpenWrt in Slot 1. | 2. Optional step. Upgrade the stock firmware with any version to overwrite the OpenWrt in Slot 1. | ||
| - | ==== Flash Layout ==== | + | ===== Flash Layout |
| ^ mtd ^ partition | ^ mtd ^ partition | ||
| Line 128: | Line 150: | ||
| * arccfg util unencrypts (cipher aes-128-cbc + some obfuscation) the configuration from mtd8(10) at every boot | * arccfg util unencrypts (cipher aes-128-cbc + some obfuscation) the configuration from mtd8(10) at every boot | ||
| - | < | + | < |
| ~ # arccfg | ~ # arccfg | ||
| fgets partition name ok!the partition is [glbcfg] | fgets partition name ok!the partition is [glbcfg] | ||
| Line 139: | Line 161: | ||
| * @abyrga & @r3d5ky from telegram group [[https:// | * @abyrga & @r3d5ky from telegram group [[https:// | ||
| - | < | + | < |
| $ dd status=none if=mtd9 bs=1 count=368 skip=256 | openssl aes-128-cbc -d -nopad \ | $ dd status=none if=mtd9 bs=1 count=368 skip=256 | openssl aes-128-cbc -d -nopad \ | ||
| -K 2A4B303D7644395C3B2B7053553C5200 -iv 00000000000000000000000000000000 | -K 2A4B303D7644395C3B2B7053553C5200 -iv 00000000000000000000000000000000 | ||
| Line 160: | Line 182: | ||
| </ | </ | ||
| - | + | ===== OEM firmware trx format | |
| - | <WRAP BOX> | + | |
| - | === OEM firmware trx format === | + | |
| The same as [[: | The same as [[: | ||
| - | < | + | < |
| +--------------+---------------+----------------------------------------+ | +--------------+---------------+----------------------------------------+ | ||
| | Offset | | Offset | ||
| Line 172: | Line 192: | ||
| +--------------+---------------+----------------------------------------+ | +--------------+---------------+----------------------------------------+ | ||
| </ | </ | ||
| - | </ | ||
| - | === Original bootloader === | + | ===== Original bootloader |
| -> [[docs: | -> [[docs: | ||
| Line 182: | Line 201: | ||
| * There is no any bootcounters | * There is no any bootcounters | ||
| - | ==== OEM easy installation ==== | ||
| - | Under development | ||
| - | ==== OEM installation using the TFTP method ==== | ||
| - | |||
| - | -> [[docs: | ||
| - | |||
| - | Not applicable | ||
| ===== Upgrading OpenWrt ===== | ===== Upgrading OpenWrt ===== | ||
| -> [[docs: | -> [[docs: | ||
| Line 215: | Line 227: | ||
| * Login as root via SSH on 192.168.1.1, | * Login as root via SSH on 192.168.1.1, | ||
| - | < | + | < |
| cd /tmp | cd /tmp | ||
| wget https:// | wget https:// | ||
| Line 227: | Line 239: | ||
| * Login as root via SSH on 192.168.1.1, | * Login as root via SSH on 192.168.1.1, | ||
| - | < | + | < |
| cd /tmp | cd /tmp | ||
| wget https:// | wget https:// | ||
| Line 246: | Line 258: | ||
| ===== Specific Configuration ===== | ===== Specific Configuration ===== | ||
| - | <WRAP BOX> | ||
| ==== Network interfaces ==== | ==== Network interfaces ==== | ||
| Line 256: | Line 267: | ||
| - | </ | ||
| ==== Switch Ports (for VLANs) ==== | ==== Switch Ports (for VLANs) ==== | ||
| - | <WRAP BOX> | ||
| ^ Port ^ Switch port ^ | ^ Port ^ Switch port ^ | ||
| Line 266: | Line 275: | ||
| | LAN 2 | lan2 | | | LAN 2 | lan2 | | ||
| - | </ | ||
| ==== Buttons ==== | ==== Buttons ==== | ||
| Line 316: | Line 324: | ||
| //Main PCB://\\ | //Main PCB://\\ | ||
| - | {{media: | + | {{media: |
| - | {{media: | + | {{media: |
| ==== Serial ==== | ==== Serial ==== | ||
| -> [[docs: | -> [[docs: | ||
| Line 324: | Line 332: | ||
| How to connect to the Serial Port of this device:\\ | How to connect to the Serial Port of this device:\\ | ||
| - | {{media: | + | {{media: |
| <a2s> | <a2s> | ||
| Line 345: | Line 353: | ||
| -> [[docs: | -> [[docs: | ||
| - | <color # | ||
| - | ==== Breed bootloader ==== | ||
| - | Original Breed for Xiaomi R3G can be used, but breedenter utility is required to enter the Breed. Breed web interface shouldn' | ||
| - | |||
| - | See //Notes -> Breed bootloader// | ||
| - | |||
| - | Breed settings for Beeline Smartbox Flash: | ||
| - | ^ Setting | ||
| - | | autoboot.command | ||
| ===== Hardware mods ===== | ===== Hardware mods ===== | ||
| Line 1627: | Line 1626: | ||
| === Online OpenWrt builder === | === Online OpenWrt builder === | ||
| - | * [[https://chef.libremesh.org/? | + | * [[https://firmware-selector.openwrt.org/? |
| - | === Breed bootloader | + | === Common |
| - | * [[https://github.com/legale/breed-mt7621-xiaomi-r3g.bin-reset-button-changer/tree/main/ | + | * [[https://mega.nz/folder/xoBklZTZ# |
| - | * [[https:// | + | |
| - | * [[https:// | + | |
| - | * [[https:// | + | |
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag> | + | {{tag> |