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/18 15:26] – [Installation] 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 | ||
| headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | ||
| - | align : c,c,c | ||
| - | filter | ||
| - | filter | ||
| - | ---- | ||
| - | */ | ||
| - | |||
| - | |||
| - | /* snapshot */ | ||
| - | /* delete once stable release is available */ | ||
| - | ---- datatable ---- | ||
| - | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt snapshot Install URL_url, Firmware OpenWrt snapshot Upgrade URL_url, Firmware OEM Stock URL_url | ||
| - | headers : Model, Version, Current Release, Firmware OpenWrt snapshot Install, Firmware OpenWrt snapshot Upgrade, Firmware OEM Stock | ||
| align : c,c,c | align : c,c,c | ||
| filter | filter | ||
| Line 67: | Line 71: | ||
| -> [[docs: | -> [[docs: | ||
| + | |||
| + | ==== OpenWrt installation ==== | ||
| <WRAP round info 100%> | <WRAP round info 100%> | ||
| Line 81: | 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> | <code bash> | ||
| - | uboot_env --set --name | + | uboot_env --get --name |
| - | uboot_env --set --name eth3macaddr --value $(ifconfig | grep eth3 | awk ' | + | |
| - | uboot_env --set --name ra0macaddr --value $(ifconfig | grep ra0 | awk ' | + | |
| - | uboot_env --set --name rax0macaddr --value $(ifconfig | grep rax0 | awk ' | + | |
| </ | </ | ||
| - | + | If the result is //1// then go to the next step, otherwise (//0//) - change the boot partition and reboot: | |
| - | 6. Ensure that MACs were saved correctly: | + | |
| <code bash> | <code bash> | ||
| - | uboot_env --get --name | + | uboot_env --set --name |
| - | uboot_env | + | reboot |
| - | uboot_env --get --name ra0macaddr | + | |
| - | uboot_env --get --name rax0macaddr | + | |
| </ | </ | ||
| - | 7. Download and write the OpenWrt images: | + | 6. Download and write the OpenWrt images: |
| <code bash> | <code bash> | ||
| cd /tmp | cd /tmp | ||
| - | wget http:// | + | wget https:// |
| mtd_write erase /dev/mtd4 | mtd_write erase /dev/mtd4 | ||
| - | mtd_write write factory.trx /dev/mtd4 | + | mtd_write write openwrt-22.03.0-ramips-mt7621-mts_wg430223-squashfs-factory.trx /dev/mtd4 |
| </ | </ | ||
| - | 8. Set 1st boot partition and reboot: | + | 7. Set 1st boot partition and reboot: |
| <code bash> | <code bash> | ||
| uboot_env --set --name bootpartition --value 0 | uboot_env --set --name bootpartition --value 0 | ||
| + | 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, | ||
| Line 117: | Line 129: | ||
| </ | </ | ||
| 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 170: | Line 182: | ||
| </ | </ | ||
| - | === OEM firmware trx format === | + | ===== OEM firmware trx format |
| The same as [[: | The same as [[: | ||
| Line 181: | Line 193: | ||
| </ | </ | ||
| - | === Original bootloader === | + | ===== Original bootloader |
| -> [[docs: | -> [[docs: | ||
| Line 189: | 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 319: | Line 324: | ||
| //Main PCB://\\ | //Main PCB://\\ | ||
| - | {{media: | + | {{media: |
| - | {{media: | + | {{media: |
| ==== Serial ==== | ==== Serial ==== | ||
| -> [[docs: | -> [[docs: | ||
| Line 327: | 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 348: | Line 353: | ||
| -> [[docs: | -> [[docs: | ||
| - | ==== Breed bootloader ==== | ||
| - | |||
| - | {{page> | ||
| - | |||
| - | 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 1632: | 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> |