Giter Site home page Giter Site logo

redmi_ax6s_rb03_openwrt's Introduction

Install OpenWRT on Redmi AX6S (RB03 Chinese version)

Please note this tutorial is based on the official tutorial but geared toward the RB03 (Chinese version)

Step 1: Connect the router to your computer with the provided CAT5 cable Step 2: Enable SSH by telneting into it:

Firstly we need to find out the telnet password. Download this app, then run:

unlock_pwd.py <S/N>

which would return the telnet password

NOTE: the Serial Number can be found at the back of the router

Secondly telnet into it:

telnet 192.168.31.1
username: root
password: the password in the first step

Thirdly we enable SSH:

nvram set ssh_en=1
nvram set uart_en=1
nvram set boot_wait=on
nvram commit

While you are at it, don't forget to udpate the password:

passwd root

Once updated, please use this newly updated password instead of the generated one.

The SSH daemon might not be up, if so, please enable it:

# Start SSHd (dropbear)
/etc/init.d/dropbear enable
/etc/init.d/dropbear start

Lastly we can test the SSH connection:

Step 3: Flash new firmware:

# Download firmware
cd /tmp && curl -L http://downloads.openwrt.org/releases/22.03.2/targets/mediatek/mt7622/openwrt-22.03.2-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-factory.bin

# SCP it to the router
scp openwrt-22.03.2-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-factory.bin [email protected]:/tmp

# Validate checksum

ssh [email protected]
cd /tmp
sha256sum openwrt-22.03.2-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-factory.bin
curl -Ls https://downloads.openwrt.org/releases/22.03.2/targets/mediatek/mt7622/sha256sums | grep -i factory | grep -i xiaomi

# Set NVRAM flags
## Run also first commented two lines if after flashing sysupgrade.bin image router restarts to stock firmware instead of OpenWRT
# nvram set flag_boot_rootfs=0
# nvram set "boot_fw1=run boot_rd_img;bootm"
nvram set flag_boot_success=1
nvram set flag_try_sys1_failed=0
nvram set flag_try_sys2_failed=0
nvram commit

# Flash image
mtd -r write openwrt-22.03.2-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-factory.bin firmware

Once done, the router should reboot automatically. The new IP for the web GUI is 192.168.1.1. You can login with browser (default password is blank), don't forget to set password

redmi_ax6s_rb03_openwrt's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

feng-huang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.