I do not have the new V2 device, remind you all, be careful.
The V2 seems still printed the model no R4A, but the WiFi shows MiWiFi-R4AV2.
Both hw / sw changed a little, details, please refer to
opened 07:55AM - 01 Sep 22 UTC
closed 02:22PM - 09 Sep 22 UTC
Script appears to work, but ftp/ssh/telnet can not connect.
However it gets sto… k automatically.
This is Ubuntu 20.04.3 completely stock.
I also tried with option 2 to download needed files from remote github repository, no difference.
*Please note the Docker would not build correctly with either docker or sudo docker, so I git cloned OpenWRTInvasion and put my OpenWRT firmware in there.
```
$ python3 remote_command_execution_vulnerability.py
Router IP address [press enter for using the default 'miwifi.com']: 192.168.31.1
Enter router admin password: OpenWRTInvasion
There two options to provide the files needed for invasion:
1. Use a local TCP file server runing on random port to provide files in local directory `script_tools`.
2. Download needed files from remote github repository. (choose this option only if github is accessable inside router device.)
Which option do you prefer? (default: 1)1
****************
router_ip_address: 192.168.31.1
stok: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
file provider: local file server
****************
start uploading config file...
start exec command...
local file server is runing on 0.0.0.0:49557. root='script_tools'
done! Now you can connect to the router using several options: (user: root, password: root)
* telnet 192.168.31.1
* ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/dev/null root@192.168.31.1
* ftp: using a program like cyberduck
```
Then I try
`telnet 192.168.31.1`
But I get
`telnet: connect to address 192.168.31.1: Connection refused`
same with ssh and ftp.
I assume this person had success with this version 2.30.20, but their advice isn't clear.
https://github.com/acecilia/OpenWRTInvasion/issues/135#issuecomment-1186216223
2023-05-30 update: now, openwrt snapshot version already support this device.
Thanks, RB02 / R4AV2 shares the same hardware? Need the V2 owners teardown and compare on both.
When V2 wifi connected to a master router, I got the "MiWiFi-R4AV2" in Status page
of the master router .
Another V2 feature is the factory firmwae shows the version no is 2.30.20 (or later?), V1 is 2.28.xx.
you mean as host name for the DHCP lease ?
Yes, the host name.
The above RB02 (Xiaomi AC1200), also uses v2.30.20 firmware.
The factory firmwae version number 2.30.20 is also important and significant.
V2 uses 2.30.20 only, cannot downgrade to 2.28.xx. and V1 cannot upgrade to 2.30.20.
Put that in plain English, I'm not familiar with the Xiaomi device(s) ...
I mean to confirm a R4A router is V2, using the firmware number 2.30.20 should be easy than checking the host name for the DHCP lease.
0xee
October 19, 2022, 8:28am
13
i bought this device last week in china, the packaging box says "r4a", but once plug in my router, device name is "r4av2". tried OpenWRTInvasion but ssh not work. i returned it just now.
any other device recommend?
For such low-end router, many choices, get a second hand device if you donot care.
hello! I managed to get telnet access to R4AV2 without a chip programmer (it lacks dropbear in the firmware)
Here's a link to my GitHub comment: https://github.com/acecilia/OpenWRTInvasion/issues/141#issuecomment-1296033775
There is no automated script to install, just the technical details. But it should be easy to wrap it in a script.
It is reported that RB02 firmware is supported by R4AV2 (everything works except the LEDs)
I used the 4pda thread as a reference. It was not working initially, but I adjusted it so that it works. Thank you.
1 Like
before buying from outside the box how to check if it's v2?
same questions, has you found any method,? how to check v2 or openwrt supported mi4a router.
There is no method to check from outside the box. I just checked the manufacture date if its old then its older version
like this? which manufacturig date for V1. some people selling this router on fb. date should 2020? or 2021?