New Xiaomi router AC2100

My 6-antenna/white AC2100 is connected to my router using its WAN port. Every couple of hours, the WAN connection drops. Any idea what might be causing this? I've tried both 19.07.3 and 19.07.4 provided by @scp07 and the problem continues to occur:

Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.622717] ------------[ cut here ]------------
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.627350] WARNING: CPU: 3 PID: 0 at net/sched/sch_generic.c:320 0x8038ba10
Mon Nov  9 13:06:57 2020 kern.info kernel: [61273.634465] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.641415] Modules linked in: pppoe ppp_async batman_adv pppox ppp_generic nf_conntrack_ipv6 mt7615e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack libcrc32c iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.712286]  ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 tun leds_gpio gpio_button_hotplug crc32c_generic
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.741816] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.14.180 #0
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.747880] Stack : 00000000 00000000 00000000 87f7fc40 00000000 00000000 00000000 00000000
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.756214]         00000000 00000000 00000000 00000000 00000000 00000001 87c0fd60 1cc28254
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.764547]         87c0fdf8 00000000 00000000 00005800 00000038 8049c0d8 00000008 00000000
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.772880]         00000000 80550000 000b51b8 00000000 87c0fd40 00000000 00000000 8050ae44
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.781211]         8038ba10 00000140 00000003 87f7fc40 00000000 802accb0 0000000c 806b000c
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.789543]         ...
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.791981] Call Trace:
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.791998] [<8049c0d8>] 0x8049c0d8
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.797895] [<8038ba10>] 0x8038ba10
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.801363] [<802accb0>] 0x802accb0
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.804833] [<8000c1a0>] 0x8000c1a0
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.808303] [<8000c1a8>] 0x8000c1a8
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.811770] [<80484f34>] 0x80484f34
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.815240] [<80071a90>] 0x80071a90
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.818711] [<8002e608>] 0x8002e608
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.822179] [<8038ba10>] 0x8038ba10
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.825654] [<8002e690>] 0x8002e690
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.829126] [<8038ba10>] 0x8038ba10
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.832593] [<80099940>] 0x80099940
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.836064] [<8038b864>] 0x8038b864
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.839533] [<8008850c>] 0x8008850c
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.843009] [<8005f1fc>] 0x8005f1fc
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.846481] [<800887c8>] 0x800887c8
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.849949] [<800790f8>] 0x800790f8
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.853422] [<804a2ed8>] 0x804a2ed8
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.856894] [<80032fb4>] 0x80032fb4
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.860361] [<80400800>] 0x80400800
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.863836] [<8025a2f0>] 0x8025a2f0
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.867307] [<80007488>] 0x80007488
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.870772]
Mon Nov  9 13:06:57 2020 kern.warn kernel: [61273.872341] ---[ end trace 84247be857396214 ]---
Mon Nov  9 13:06:57 2020 kern.err kernel: [61273.876961] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Mon Nov  9 13:06:57 2020 kern.info kernel: [61273.883132] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Mon Nov  9 13:06:57 2020 kern.info kernel: [61273.889115] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=07380000, max=0, ctx=1977, dtx=805, fdx=805, next=1977
Mon Nov  9 13:06:57 2020 kern.info kernel: [61273.899788] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=05910000, max=0, calc=3722, drx=3723
Mon Nov  9 13:06:58 2020 kern.info kernel: [61274.306890] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x5e60000c, 0x10c = 0x80818
Mon Nov  9 13:06:58 2020 kern.info kernel: [61274.320315] mtk_soc_eth 1e100000.ethernet: PPE started
Mon Nov  9 13:07:53 2020 kern.err kernel: [61329.621519] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Mon Nov  9 13:07:53 2020 kern.info kernel: [61329.627707] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Mon Nov  9 13:07:53 2020 kern.info kernel: [61329.633719] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=06da0000, max=0, ctx=3072, dtx=0, fdx=0, next=3072
Mon Nov  9 13:07:53 2020 kern.info kernel: [61329.644043] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=045b0000, max=0, calc=90, drx=91
Mon Nov  9 13:07:54 2020 kern.info kernel: [61330.062772] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
Mon Nov  9 13:07:54 2020 kern.info kernel: [61330.077002] mtk_soc_eth 1e100000.ethernet: PPE started

Just to tell I followed the guide written by impulse, but on my Windows 10, and it worked flawlessly !

Thank you very much to all participating on that port, especially @anon98223980 and @scp07 !

Perhaps this explains it?


Hello, I have a problem using the stock software, when my computer is only connected to the 5ghz wifi I can get 300mbits of internet but as other devices connect I only receive 90-120mbits of internet, in OpenWRT did anyone notice something like this? or even in stock firmware?

I'm using a black device (mi router) as AP flashed to OpenWRT 19.07.4 (@scp07 build).
I have made iperf tests from Wifi clients (5 Ghz) to iperf server on router. I'm getting a consistent 300/400 Mbps (down/up) while 6-8 other devices connected on same channel (with low traffic).
I'm getting same result from 2 phones used as iperf clients (Xiaomi redmi Note 8 pro and Iphone 8)
Very basic config : 5 Ghz, channel 36, 80 Mhz

Results are not so high but very consistent. Device is VERY stable in AP.

Hi

I wanted to share that I followed this guide (youtube), to get an ssh server running on the white router

based on

and worked flawlessly

just the line to set root's password isn't there but you can grab it from
https://openwrt.org/inbox/toh/xiaomi/xiaomi_ax3600 (search for < PASSWORD > - remove the spaces)

if you want/need to encode/decode the strings you can use
https://meyerweb.com/eric/tools/dencoder/

to download the firmware check the link, atm the latest version is the one needed (2.0.23)

1 Like

in " Fire-and-forget" mode now

Precompiled stable version (19.07.5) images

New precompiled 19.07.5 images are ready for both:

  • Xiaomi Redmi Router AC2100 (white 6-antenna)
  • Xiaomi Mi Router AC2100 (black)

You will find them (as always) here:
https://drive.google.com/drive/folders/1WTWvOp-6B54hsCDpuo_hf2JKAaUwmZFG?usp=sharing

Please make sure that you use the correct image for flashing (there are images for both models included in the same zip file).

7 Likes

You can find my adjusted repositories here (already mentiond in this thread several times but this thread's got a little bit messy over time...):

There are also branches for specific stable versions like for 19.07.5 here:

However I will continue uploading precompiled images on Google Drive instead of Github so you will find only the forked and adjusted source code on Github.

5 Likes

Is possible to upgrade direct from Luci using openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-sysupgrade.bin ???

Regards!

If you're currently using any of my 19.07.x images you can just upgrade from Luci. Otherwise I would suggest a mtd write.

2 Likes

Hi, I´m new in this world, I flashed latest 19.17.05 build with shh following the video from above, someone could help me for a correct configuration for 5ghz?, I live in a house with 3 floors and I want to use my router as Dump AP.

I'm facing big packet loss and WiFi disconnections in 5Ghz, in stock firmware this don't happens at the same distance :c

Help

Hey, how would one flash this using breed? I'm seeing a lot of guides with SSH but none with breed.

Hey, Were you able to install openwrt via breed successfully? I too have a redmi AC2100 with Breed and Padavan. I can't figure out how to flash openwrt? It seems like there is a kernel file (https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-kernel1.bin) and a rootfs file(https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-rootfs0.bin) but padavan firmware seems to be in a trx file? How did you get around this?

See this reply: New Xiaomi Router AC2100

1 Like

Does image 19.17.05 with LUCI added have the DSA issue in LUCI?
Is there a forum thread tracking the progress of DSA in LUCI?
Thanks

Is there any specific reason why you're not submitting your changes into upstream repo?

2 Likes

19.07 has no DSA AFAIK

1 Like

Hey @abdulaziz.amar is there a guide to upgrade the RAM ? Any pointer appreciated!