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
toh:mts:wg430223 [2022/07/22 16:48] – [Photos] csharper2005toh:mts:wg430223 [2023/05/17 16:54] – [Tags] csharper2005
Line 5: Line 5:
 /* USE https://openwrt.org/meta/create_new_device_page */ /* USE https://openwrt.org/meta/create_new_device_page */
  
-{{page>meta:infobox:construction&noheader&nofooter&noeditbtn}}+/*****/ 
 +/* {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} */ 
 +/*****/
  
-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 26: Line 28:
 ---- ----
  
 +===== Experimental firmware =====
 +
 +  * [[https://forum.openwrt.org/t/add-support-for-beeline-smartbox-giga/99390/4|Community builds]]
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 35: Line 40:
 filter  : Model=WG430223 filter  : Model=WG430223
 ---- ----
 +
 +
 +===== 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; md5sum mtd$i >> mtd.md5; rm mtd$i; done
 +tftp -l mtd.md5 -p 192.168.1.2
 +</code>
 +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 47: Line 68:
 filter  : Model=WG430223 filter  : Model=WG430223
 ---- ----
-*/ 
  
  
-/* snapshot */ +-> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
-/* 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 +
-filter  : Brand=MTS +
-filter  : Model=WG430223 +
-----+
  
 +==== OpenWrt installation ====
  
--[[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]+<WRAP round info 100%> 
 +**CAUTION:** \\ 
 +If you have any third-party firmware (e.g. Padavan, Keenetic, AsusWrt, non-official OpenWrt community builds (especially for Breed bootloaderetc.) installed on your device it's strongly recommended to restore original OEM firmware (including bootloader, EEPROM, partition map etc.) from your backup before you start the OpenWrt installation on your device. 
 +</WRAP>
  
 1. Login to the router web interface (superadmin:serial number) 1. Login to the router web interface (superadmin:serial number)
Line 69: Line 85:
 3. Connect to the router using telnet (default admin:admin) 3. Connect to the router using telnet (default admin:admin)
  
-4. Place *factory.trx on any web server (192.168.1.2 in this example)+4. Connect to the router using telnet shell (no password required)
  
-5. Connect to the router using telnet shell (no password required)+5. Check the bootpartition: 
 +<code bash> 
 +uboot_env --get --name bootpartition 
 +</code> 
 +If the result is //1// then go to the next step, otherwise (//0//- change the boot partition and reboot: 
 +<code bash> 
 +uboot_env --set --name bootpartition --value 1 
 +reboot 
 +</code>
  
-6. Save MAC adresses to U-Boot environment+6. Download and write the OpenWrt images
-   uboot_env --set --name eth2macaddr --value $(ifconfig | grep eth2 | \ +<code bash> 
-    awk '{print $5}') +cd /tmp 
-   uboot_env --set --name eth3macaddr --value $(ifconfig | grep eth3 | \ +wget https://downloads.openwrt.org/releases/22.03.0/targets/ramips/mt7621/openwrt-22.03.0-ramips-mt7621-mts_wg430223-squashfs-factory.trx 
-    awk '{print $5}'+mtd_write erase /dev/mtd4 
-   uboot_env --set --name ra0macaddr --value $(ifconfig | grep ra0 | \ +mtd_write write openwrt-22.03.0-ramips-mt7621-mts_wg430223-squashfs-factory.trx /dev/mtd4 
-    awk '{print $5}') +</code>
-   uboot_env --set --name rax0macaddr --value $(ifconfig | grep rax0 | \ +
-    awk '{print $5}')+
  
-7. Ensure that MACs were saved correctly+7. Set 1st boot partition and reboot
-   uboot_env --get --name eth2macaddr +<code bash> 
-   uboot_env --get --name eth3macaddr +uboot_env --set --name bootpartition --value 0 
-   uboot_env --get --name ra0macaddr +reboot 
-   uboot_env --get --name rax0macaddr+</code>
  
-8. Download and write the OpenWrt images: 
-   cd /tmp 
-   wget https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-mts_wg430223-squashfs-factory.trx 
-   mtd_write erase /dev/mtd4 
-   mtd_write write factory.trx /dev/mtd4 
  
-9. Set 1st boot partition and reboot: +==== OEM easy installation ====
-   uboot_env --set --name bootpartition --value 0+
  
 +Under development
  
 +
 +==== OEM installation using the TFTP method ====
 +
 +->  [[docs:guide-user:installation:generic.flashing.tftp]]
 +
 +Not applicable
 ===== Return to Stock ===== ===== Return to Stock =====
 1. Login as root via SSH on 192.168.1.1, then enter the following commands: 1. Login as root via SSH on 192.168.1.1, then enter the following commands:
-   fw_setenv bootpartition 1 +<code bash> 
-   reboot+fw_setenv bootpartition 1 
 +reboot 
 +</code>
 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    ^ start           ^ size       ^ ^ mtd    ^ partition    ^ start           ^ size       ^
Line 125: 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
-<code>+<code bash>
 ~ # arccfg  ~ # arccfg 
 fgets partition name ok!the partition is [glbcfg]  fgets partition name ok!the partition is [glbcfg] 
Line 136: Line 161:
  
 * @abyrga & @r3d5ky from telegram group [[https://t.me/smartboxgiga/49944|Beeline SmarBox Giga]] found a way how to decrypt a partition. [[https://github.com/openwrt/openwrt/issues/10062|Issue]] * @abyrga & @r3d5ky from telegram group [[https://t.me/smartboxgiga/49944|Beeline SmarBox Giga]] found a way how to decrypt a partition. [[https://github.com/openwrt/openwrt/issues/10062|Issue]]
-<code>+<code bash>
 $ 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 157: Line 182:
 </code> </code>
  
- +===== OEM firmware trx format =====
-<WRAP BOX> +
-=== OEM firmware trx format ===+
  
 The same as [[:toh:beeline:smartbox_flash#oem_firmware_trx_format|Beeline Smartbox Flash]] but with another trx magic The same as [[:toh:beeline:smartbox_flash#oem_firmware_trx_format|Beeline Smartbox Flash]] but with another trx magic
-<code>+<code bash>
 +--------------+---------------+----------------------------------------+ +--------------+---------------+----------------------------------------+
 | Offset                     | Description                            | | Offset                     | Description                            |
Line 169: Line 192:
 +--------------+---------------+----------------------------------------+ +--------------+---------------+----------------------------------------+
 </code> </code>
-</WRAP> 
  
-=== Original bootloader ===+===== Original bootloader =====
 -> [[docs:techref:bootloader]] -> [[docs:techref:bootloader]]
  
Line 179: Line 201:
  
 * There is no any bootcounters * There is no any bootcounters
-==== OEM easy installation ==== 
  
-Under development 
  
-==== OEM installation using the TFTP method ==== 
- 
-->  [[docs:guide-user:installation:generic.flashing.tftp]] 
- 
-Not applicable 
 ===== Upgrading OpenWrt ===== ===== Upgrading OpenWrt =====
 ->  [[docs:guide-user:installation:generic.sysupgrade]] ->  [[docs:guide-user:installation:generic.sysupgrade]]
Line 212: Line 227:
   * Login as root via SSH on 192.168.1.1, then enter the following commands:   * Login as root via SSH on 192.168.1.1, then enter the following commands:
  
-<code>+<code bash>
 cd /tmp cd /tmp
 wget https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-mts_wg430223-squashfs-sysupgrade.bin wget https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-mts_wg430223-squashfs-sysupgrade.bin
Line 224: Line 239:
   * Login as root via SSH on 192.168.1.1, then enter the following commands:   * Login as root via SSH on 192.168.1.1, then enter the following commands:
  
-<code>+<code bash>
 cd /tmp cd /tmp
 wget https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-mts_wg430223-squashfs-factory.trx wget https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-mts_wg430223-squashfs-factory.trx
Line 243: Line 258:
 ===== Specific Configuration ===== ===== Specific Configuration =====
  
-<WRAP BOX> 
  
 ==== Network interfaces ==== ==== Network interfaces ====
Line 253: Line 267:
  
  
-</WRAP> 
  
 ==== Switch Ports (for VLANs) ==== ==== Switch Ports (for VLANs) ====
-<WRAP BOX> 
  
 ^ Port             ^ Switch port   ^ ^ Port             ^ Switch port   ^
Line 263: Line 275:
 | LAN 2            | lan2    | | LAN 2            | lan2    |
  
-</WRAP> 
  
 ==== Buttons ==== ==== Buttons ====
Line 310: Line 321:
 **Note:** This will void your warranty! **Note:** This will void your warranty!
  
-<WRAP BOX> +There are 2 crews at the bottom. There are also clips around the edge of the case you will need to prize open, usingfor examplea plastic card.
-FIXME //Describe what needs to be done to open the devicee.g. remove rubber feetadhesive labels, screws, ...// +
-  * To remove the cover and open the device, do a/b/c +
-</WRAP>+
  
 //Main PCB://\\ //Main PCB://\\
-**Insert photo of PCB**+{{media:mts:wg430223_pcb_top.jpg?400|MTS WG 430223 PCB Top}}
  
 +{{media:mts:wg430223_pcb_bottom.jpg?400|MTS WG 430223 PCB Bottom}}
 ==== Serial ==== ==== Serial ====
 -> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc. -> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc.
  
-How to connect to the Serial Port of this specific device:\\ +How to connect to the Serial Port of this device:\\ 
-**Insert photo of PCB with markings for serial port**+ 
 +{{media:mts:wg430223_pcb_serial.jpg?400|MTS WG 430223 PCB serial}}
  
 <a2s> <a2s>
Line 343: Line 353:
 -> [[docs:techref:bootloader]] -> [[docs:techref:bootloader]]
  
-<color #ed1c24>It's not recommended to change the original bootloader. You can easily brick your device.</color> 
-==== Breed bootloader ==== 
-Original Breed for Xiaomi R3G can be used, but breedenter utility is required to enter the Breed. Breed web interface shouldn't be used for flashing firmware or EEPROM backup or recovery. Telnet should be used instead.  
- 
-See //Notes -> Breed bootloader// section for links 
- 
-Breed settings for Beeline Smartbox Flash: 
  
-^ Setting                    ^ Value                 ^ 
-| autoboot.command            boot flash 0x30001c  | 
  
 ===== Hardware mods ===== ===== Hardware mods =====
Line 1625: Line 1626:
  
 === Online OpenWrt builder === === Online OpenWrt builder ===
-  * [[https://chef.libremesh.org/?version=SNAPSHOT&target=ramips%2Fmt7621&id=mts_wg430223|Build MTS WG430223 firmware]]+  * [[https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=ramips%2Fmt7621&id=mts_wg430223|Build MTS WG430223 firmware]]
  
-=== Breed bootloader === +=== Common === 
-  * [[https://github.com/legale/breed-mt7621-xiaomi-r3g.bin-reset-button-changer/tree/main/smartbox-flash-giga-turbo-pro|Breed bootloader (MOD) r1338 for Smartbox Flash / MTS WG430223, GIGA, Turbo, PRO (github)]] +  * [[https://mega.nz/folder/xoBklZTZ#g1l_wH-nBOMONrDqOkeEvQ/folder/F1gQWC5a|Stock firmware collection]]
-  * [[https://t.me/smartboxgiga/27744|Breed bootloader (MOD) r1338 for Smartbox Flash / MTS WG430223, GIGA, Turbo, PRO]] +
-  * [[https://breed.hackpascal.net/breed-mt7621-xiaomi-r3g.bin|Breed bootloader (original) Xiaomi R3G]] +
-  * [[https://4pda.to/forum/index.php?showtopic=954030&st=2740#entry104489218|Breedenter utility]]+
  
 ===== Tags ===== ===== Tags =====
  
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>ramips mediatek mt7621 GigabitEthernet wlan 3port 802.11abgn 802.11a 802.11bgn 802.11ac 128nand 128RAM serial u-boot arcadyan dbdc mt7615dn dual_firmware mts breed}}+{{tag>ramips mediatek mt7621 GigabitEthernet wlan 3port 802.11abgn 802.11a 802.11bgn 802.11ac 128nand 128RAM serial u-boot arcadyan dbdc mt7615dn dual_firmware mts}}
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1