New Xiaomi router AC2100

Thanks. It works, though old version.

I had a quick discussion with other OpenWRT committers and the chances to get an official backport merged in the 19.07 branch are quite low and potentially not worth the effort. Basically that means there won't be any official support other than in the current development snapshot version (even if the devices are running quite well in 19.07). For an officially supported stable version we will have to wait for version 20.x. In the meantime stable versions are only available as unofficial backports for 19.07.x.

Hey all.
I got things sort of working but my 5G wireless network doesn't work / even show...

I got two phenomenons going on:

  1. Very often - the 5Ghz network doesn't even show - I've attached an image of the view, it's enabled and should be working but doesn't appear in any of the devices I see
  2. In other cases, I can connect, get a DHCP address, but nothing works, not even ping to 192.168.1.1

Need to say that the 2.4Ghz networks works just fine and LAN too..

I tried changing channels, changing countries, security, wireless names... I'm sort of clueless in terms of what else can I do...

Some extra details...

When the 5G network goes to this "zombie" state, I'm able to connect to the wireless network. Aquiring the right ip from DHCP. But that's it - can't even ping 192.168.1.1

I've tried the following while staying in this zombie state:

  1. Changing some settings in the 5G wireless settings: Bandwidth, Channel etc. -- Didn't help
  2. Tried to restart the MediaTek MT7615E 802.11nac radio device - Partially helped - on some devices this started to work while in others it doesn't.
  3. Usually reboot the enitre router helps, but that's not a solution...

How can I troubleshoot this?

I've ran few "system.bin" upgrades already - no visible effects as I can tell

Hello,
I get used to restarting device after each change applied...5GHz takes longer time to show up, but it does...
I had problems you are describing when playing with 160MHz wide channell, it just doesn't work with my AX200 wifi card. Tx always dropped to 17dBm...but it looks like bug which was fixed already on mywifi - https://dev.archive.openwrt.org/ticket/18931.html

Thanks
But it seems that this was fixed about 2 years ago.

I'm having trouble describing my problems in general - it's very flaky...
I'll try to reduce the bandwidth to 20Mhz maybe

I think I got part of it covered -- my Modem - that wasn't on BridgeMode also had ip 192.168.1.1 and the same subnet -- so what I did was to change the modems subnet (to 192.168.2.1 and the relevant subnet mask).

This seemed to help.

Could you elaborate on @scp07 builds -- where to get it? how to install?
I'm using the official builds so far...

Yes, but for 80MHz channel...
Recent builds (Trunk/Master) are not performing very well (at least with Intel AX200)...guys here had some better working images - scp07.

Where can I find the scp07 builds -- what's the transition instructions from the snapshot builds of OpenWRT to this?

Search the thread, thats what i have found - https://drive.google.com/drive/folders/1WTWvOp-6B54hsCDpuo_hf2JKAaUwmZFG

1 Like

Tried to do what you suggested and use this package.

I got this instead:
image as the 5G radio

Where as the 2.4G radio is this:
image

I think I'm going back to the official snapshot

Any tutorials as for how to install stock OpenWRT (from site) over the link the @slmq gave (Philipp Schuster version)?

Tried using mrt write over SSH and got this:

Could not open mtd device: kernel1
Can't open device for writing!

And using the sys-upgrade file and got:

Device xiaomi,mi-router-ac2100 not supported by this image
Supported devices: xiaomi,redmi-router-ac2100 - Image version mismatch: image 1.1, device 1.0. Please wipe config during upgrade (force required) or reinstall. Reason: Config cannot be migrated from swconfig to DSA (early adopters with DSA already set up may just force-flash keeping existing config)
Image check failed.

I ended up running recovery and getting to the previous MiWifi firmware, then again - flashing the latest OpenWRT snapshot.
It seems to be working good. 5G is stable for 2 days

SOLVED
remove duplicate packages
Thanks

I have used your build, but when I run the command to update, it looks like this:

Collected errors:
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_base http://downloads.openwrt.org/releases/19.07.3/packages/mipsel_24kc/base). Skipping.

Remove the duplicate line in opkg config file distfeeds

1 Like

Hi, I can't find a way to recover it, I can't revive it from tftp because there is no connection and I will have to recover it from a ch341a program to be able to change the bootdelay time to be able to open it from the serial port.

I can not find the way back, I can not revive him from tftp because there is no connection and I'll have to recover from ch341a program to change the time Bootdelay to open it from the serial port. What connections should I make to write spi. thanks

1 Like

It is the redmi AC2100 model

I want to new build with your repo,
what should I change in the config file or maybe in make menuconfig to avoid duplicating packages in distfeeds.conf ?
Thanks

VERY IMPORTANT!!!
!!!make sure you install breed BEFORE you sysupgrade openwrt stable!!!

hey, for all those stuck in breed (can't flash stock or any other file)
follow my guide:
boot to breed (hold reset while powering)

http://192.168.1.1/envedit.html
first field: autoboot.command
second field: boot flash 0x200000
if there is no entry do this:
connect telnet 192.168.1.1
env set autoboot.command "boot flash 0x200000"
env save

check those variables
http://192.168.1.1/xiaomi-r3g-config.html
flag_boot_success 1
flag_try_sys1_failed 1
flag_try_sys2_failed 0

flash openwrt initramfs into partition 2
http://192.168.1.1/upgrade.html
select 固件 (it auto selects 自动重启) and select your file
make sure you DONT select Bootloader or EEPROM
in the dropdown menu select partition 2
upload

power cycle

copy openwrt squashfs-sysupgrade.bin to /tmp on 192.168.1.1 (with scp or winscp)

connect via ssh root@192.168.1.1 (or putty)
sysupgrade -u -n -p -v /tmp/openwrt-ramips-mt7621-xiaomi_mi-router-ac2100-squashfs-sysupgrade.bin

if its done, kill power

boot to breed (hold reset while powering)

http://192.168.1.1/envedit.html
first field: autoboot.command
second field: boot flash 0x600000
or faster with telnet 192.168.1.1
env set autoboot.command "boot flash 0x600000"
env save

power cycle

make sure you have a connection to your network via the wan port (for internet connectivity)
connect via ssh root@192.168.1.1 (or putty)
opkg update
opkg install luci
opkg install kmod-mtd-rw

if anyone has a solution to reinstall stock rom from breed or a less complicated guide -> let me know

2 Likes

Hi there, I have the white version of this router and quite excited to flash it to OpenWRT for some time now, following the exchanges on this thread.
However, it's a bit of a risky operation, and I'm not clear if the resulting performance is at the same level compared to the stock firmware or not. Can someone please precise this to me? It'd be greatly appreciated.
I plan to follow this guide (https://github.com/impulse/ac2100-openwrt-guide) which seems well written and precise enough for me.
Thanks in advance

Hola, no encuentro la forma de recuperar mi redmi ac2100, no puedo revivirlo de tftp porque no hay conexión y tendré que recuperarlo de un programa ch341a para poder cambiar el tiempo de retardo de arranque para poder abrir desde el puerto serie.

No encuentro el camino de regreso, no puedo revivirlo desde tftp porque no hay conexión y tendré que recuperarme del programa ch341a para cambiar el tiempo de Bootdelay para abrirlo desde el puerto serie. ¿Qué conexiones debo hacer para escribir spi. Gracias