Add OpenWrt support for Xiaomi "Redmi AX6000"

Thank you for this! I am new to OpenWrt and had my AX6000 delivered yesterday. I was planning on waiting a week or two until the install process seemed to have settled down (e.g. PR 11115 and 11004), but these instructions made it easy for me to install OpenWrt just now. For other people's benefit, the only couple of issues/clarifications needed that I hit on the way were:

  • "You can now connect with telnet" - means running telnet 192.168.31.1 from your PC
  • The instructions to activate ssh didn't work for me, I think because the nvram get ssh_eh command in /etc/init.d/dropbear was returning 0. This was confusing, because /etc/init.d/dropbear start didn't obviously fail, and when I tried to ssh in I received this error:
    Bad protocol 2 host key algorithms '+ssh-rsa'.
    
    Initially I thought this might be something to do with the fact that I was using WSL (Windows Subsystem for Linux) from a Windows PC, so I wasted a bit of time playing around with various ssh config options before realising that the ssh service wasn't actually running. I commented out the following lines in /etc/init.d/dropbear, reran /etc/init.d/dropbear start, and scp started working:
    if [ "$flg_ssh" != "1" -o "$channel" = "release" ]; then
      return 0
    fi
    
  • Flashing initramfs-factory.ubi was fine, ssh (step 6) was via ssh root@192.168.1.1 (empty password).
  • I downloaded the current sysupgrade OpenWrt snapshot as follows:
    cd /tmp
    wget https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-xiaomi_redmi-router-ax6000-squashfs-sysupgrade.bin
    
  • When flashing it with sysupgrade, the slightly unnerving thing was that it gave the error invalid sysupgrade file, but still disconnected me from the router. I was worried I wouldn't be able to get back in. The upgrade took a little while but did work fine though, so I'm now running OpenWrt!

The final step was to install the UI by following this guide.

3 Likes