Background:
A Prometheus+Grafana monitoring system has recently been established in the test environment, and there’s a growing need to include the router in this monitoring setup. To achieve this, enabling SSH on the Xiaomi router is essential for further configuration.

Preparation:
1. A Xiaomi Router AX3000T
2. The IP address (management page) and login credentials of your Xiaomi router
3. A computer connected directly to the router’s LAN port via an Ethernet cable

Steps:

1. **Access the Router Management Page**
Begin by logging into the management interface of your Xiaomi router. Once inside, verify the current firmware version installed on your device. This step ensures compatibility with the tools you’ll be using later.

2. **Check Firmware Compatibility**
Cross-reference the router’s firmware version with the supported versions listed in the official documentation or table. If your router’s firmware matches the required version for your region, you can proceed without needing to update it. This saves time and minimizes potential risks associated with upgrading firmware.

3. **Enable SSH Using xmir-patcher**
Download the powerful **xmir-patcher** tool designed specifically to unlock SSH functionality on Xiaomi routers. You can find it at [this GitHub repository](https://github.com/openwrt-xiaomi/xmir-patcher). After downloading, extract the compressed file to access its contents.

– On Windows: Right-click the `run.bat` file and select “Run as Administrator” to initiate the process.
– On macOS: Simply double-click the `run.sh` file to start the script.

Follow the on-screen instructions and refer to the accompanying images if needed to complete the setup seamlessly.

4. **Verify SSH Access**
Open an SSH terminal and attempt to log in. If the message “ARE U OK” appears, congratulations! You’ve successfully enabled SSH on your Xiaomi router and are now ready to integrate it into your monitoring system.
This guide is super helpful! I didn’t realize it was this straightforward to enable SSH on the Xiaomi router. I’ll definitely try this out to integrate my router into the monitoring setup. It’s great that you included all the necessary prep steps too.
This guide will definitely come in handy since I’ve been looking into adding my Xiaomi router to our monitoring system. Enabling SSH access seems straightforward enough, but I’m curious if there are any security considerations I should keep in mind while following these steps. It’s great that you included all the necessary prep details like the IP address and Ethernet connection. I’ll give it a try soon and let you know how it goes!
This guide is super helpful! I didn’t realize it was this straightforward to enable SSH on the Xiaomi router. I’ll definitely try this out to integrate my router with the monitoring system. Good job explaining each step clearly!