Adding OpenWrt support for Xiaomi "Redmi Router AX6S"/"Xiaomi Router AX3200"

Yes Im, thanks very much to point it out. I changed here to AC and now I can reach close to 200mbit, its good enough for now :smiley:

Is it possible to swich off both LED lights on the front of the router ?

yes, naturally.

Add to /etc/config/system:

config led 'led_wan'
<------>option name 'WAN'
<------>option sysfs 'blue:net'
<------>option trigger 'none'
<------>option default '0'

config led 'led_wan_amber'
<------>option name 'WANamber'
<------>option sysfs 'amber:net'
<------>option trigger 'none'
<------>option default '0'

config led 'led_power'
<------>option name 'POWER'
<------>option sysfs 'blue:power'
<------>option trigger 'none'
<------>option default '0'

config led 'led_power_amber'
<------>option name 'POWERamber'
<------>option sysfs 'amber:power'
<------>option trigger 'none'
<------>option default '0'

2 Likes

Flashed RB03 to openwrt today. 5ghz radio is working, but speed is too slow (24mbps). I've tried to change settings (enable AC, N, or AX) - but nothing is changed. Also tried different channels/widths. 2.4Ghz is not working completely, in kernel log i see errors:

Sun Apr  9 13:15:02 2023 kern.err kernel: [   28.646875] mt7622-wmac 18000000.wmac: Message 00000010 (seq 1) timeout
Sun Apr  9 13:15:02 2023 kern.err kernel: [   28.653493] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
Sun Apr  9 13:15:02 2023 kern.err kernel: [   28.877112] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
Sun Apr  9 13:15:02 2023 kern.err kernel: [   29.097050] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
Sun Apr  9 13:15:03 2023 kern.err kernel: [   29.317006] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
Sun Apr  9 13:15:03 2023 kern.err kernel: [   29.536988] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
Sun Apr  9 13:15:03 2023 kern.err kernel: [   29.757003] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
Sun Apr  9 13:15:03 2023 kern.err kernel: [   29.976988] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
Sun Apr  9 13:15:03 2023 kern.err kernel: [   30.197001] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
Sun Apr  9 13:15:04 2023 kern.err kernel: [   30.416995] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
Sun Apr  9 13:15:04 2023 kern.err kernel: [   30.636994] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
Sun Apr  9 13:15:04 2023 daemon.err hostapd: Could not set interface wlan0 flags (UP): I/O error
Sun Apr  9 13:15:04 2023 daemon.err hostapd: nl80211: Could not set interface 'wlan0' UP

Have anyone solved this ?

I have same issue, still no solution.
Similar problem with MT7622 on linksys-rt3200:

i've bought second ax6s router today, the same board (difference only in last two digits of serial number). i've flashed it with the same openwrt version and it works with mt7622 without problem! seems that there are some bug in mt7622 driver code, i've created an issue in their github today. the 5ghz band works fine on both routers (i get ~900mbit/s with ipad pro 2022).

UPDATE: i've also tried to load stock mtk drivers, and no luck! they also report error while loading firmware.

Hi,

I have wiped the preloader with a command:
ubiformat /dev/mtd0
Please don't ask how and why :slight_smile: It was a mistake...
After reloading the router I see the error message via Telnet:
System halt!

So, I have to rewrite NAND directly using ch341a connicting as described in this post

Is anyone has a NAND dump and can share it? (or at least the preloader section)
Or maybe you can point me to where I can download it?

UPDATE
Please skip my message, I found it in the comment:

1 Like

I too have some issues but WiFi speeds are consistently good enough when choosing a fixed channel (48 in my case), but I've had bad luck with the speeds on auto channels (5GHz ax). On channel 36, my upload speeds were disastrous. This is conjecture though, since I didn't test extensively.

Waiting for a fix for mt7622 drivers but in the meantime, my setup is alright as it is.

1 Like

I have an OPNSense main router and I bought 2 Xiaomi AX3200's to setup as dumb Access Points and do fast roaming between them. I followed onemarcfifty's video and it looks like I configured it correctly (same mobility domain, channels non-overlapping ). I have also setup a Guest wifi with VLAN which also seems to work fine. So I currently have 4 different wireless networks on each AP (LAN_2.4GHz, LAN_5GHz, Guest_2.4GHz, Guest_5GHz). For simplicity I am using LAN SSID for all LAN and Guest SSID for all Guests.

I am running iperf on OPNSense and using my GrapheneOS phone to measure the performance (Ping Tools). When I run the test and move around the house it doesn't look like any roaming is taking place.

Do you have any solutions to propose?
So far I initially tried to have separate mobility domains for LAN and Guest and then once I saw that this wasn't working used the same mobility domain for all (LAN and Guest) but this still wasn't working.
Shall I disable the 2.4GHz networks so that luckily the signal is easier to drop?

I am going to try this next (Wi-Fi roaming recipe)
Any help is appreciated.

Thank you very much.

Is anybody else experiencing a memory leak on
OpenWrt 22.03.4 and
OpenWrt 22.03.5 with the AX6S / AX3200 ? I now reverted to OpenWrt 22.03.3 and am monitoring it.

Even on OpenWrt 22.03.3 there appeared to be a leak, so I compared packages to a non-memory leaking router (same model), Removed banip - 0.8.6-1 which were newer than banip - 0.8.2-6 and according to my knowledge under heavy development as well as collectd-mod-mqtt - 5.12.0-33 were removed as most likely candidates, busy monitoring again before more changes.

How's snapshot comparing?

Memory is now rock solid, most likely new banip, I will mention in respective thread.

2 Likes

After upgrading to 22.03.5 I still have this issue:

Tue May 30 19:29:10 2023 daemon.notice netifd: Network device 'wan' link is up
Tue May 30 19:29:12 2023 daemon.notice netifd: Network device 'wan' link is down
Tue May 30 19:29:14 2023 daemon.notice netifd: Network device 'wan' link is up
Tue May 30 19:29:15 2023 daemon.notice netifd: Network device 'wan' link is down
Tue May 30 19:29:18 2023 daemon.notice netifd: Network device 'wan' link is up
Tue May 30 19:29:21 2023 daemon.notice netifd: Network device 'wan' link is down
Tue May 30 19:29:24 2023 daemon.notice netifd: Network device 'wan' link is up
Tue May 30 19:29:26 2023 daemon.notice netifd: Network device 'wan' link is down
Tue May 30 19:29:28 2023 daemon.notice netifd: Network device 'wan' link is up
Tue May 30 19:29:32 2023 daemon.notice netifd: Network device 'wan' link is down
Tue May 30 19:29:34 2023 daemon.notice netifd: Network device 'wan' link is up
Tue May 30 19:30:07 2023 daemon.notice netifd: Network device 'wan' link is down
Tue May 30 19:30:10 2023 daemon.notice netifd: Network device 'wan' link is up
Tue May 30 19:30:15 2023 daemon.notice netifd: Network device 'wan' link is down
Tue May 30 19:30:18 2023 daemon.notice netifd: Network device 'wan' link is up

I get these errors despite having currently only 2 wireless clients (well in range) and two wired clients (on gigabit, no packet loss).
Googling after didn't help, got only the general bu****it like "it happens when having 100M clients", "check the cable", etc. Nothing useful.
Does anyone have a hint how to find the actual root cause?

I am experiencing a problem with my gigabit LAN port. I have an LTE modem with a gigabit LAN connection. However, when I connect my LTE modem to the router using the gigabit LAN, the speed reduces to 20 Mb/s, even though the actual LTE speed is 100 Mb/s.

I tested the LTE modem with a laptop's gigabit port, and everything works fine. This indicates that the cable and LTE modem's gigabit port are not the problem. Additionally, I tested the router with another LTE modem that has a megabit LAN, and everything is working correctly.

The speed issue seems to be specific to the gigabit connection between the LTE modem and the router. I even tried changing the cable, but the result remained the same.
The cables I'm using are Cat5e. My OpenWrt version is 22.03. From what I can remember, I didn't have this problem with earlier versions of OpenWrt.


Hello everyone!
I have an ax3200 RB01 with factory enabled telnet (08/2021)
I haven't installed the factory version of OpenWrt yet but I wanted to know if you think I could also upgrade it.
I know I could use the UART procedure to unblock it in case of birck but I don't have the equipment to do that right now.
Thanks so much for the support!

I'm going to buy AX6S RB03 to my brother, they still can be flashed with OpenWrt with same instructions as before? Thanks

Okay, I was dumb/lazy enough not to read the warning about updating a RB03. Happy that MiWifi repair tool worked like a charm once again. Router back up in no time. I'll wait at least 4 months before I try another update.
@Gilgamesh: if you can flash https://github.com/YangWang92/AX6S-unlock/raw/master/miwifi_rb03_firmware_stable_1.2.7.bin on your router you should be fine.

1 Like

Hi all! I tried today to flash the Readme Router AX6C (RB03) according to the main guide, but after executing the command "mtd -r write factory.bin firmware", the router rebooted, shines constantly with a yellow lamp and does not react to anything. I tried to reset to factory settings using power and the reset button, the same thing. Are there any methods of saving a device turned into a brick? Thanks