Xiaomi routers (Mi Router, Redmi Router, AX3000/AX6000 series) store data about connected devices, visited sites and network activity β but access to this information is often hidden behind non-obvious settings. Unlike specialized firewall systems, Xiaomi home routers do not provide detailed logs out of the box, but they can be extracted through the web interface, the Mi Wi-Fi mobile application or even console commands. This article will help you understand what data the router saves, how to view it without losing functionality and what to do if history is suddenly cleared.
Itβs important to understand that Xiaomi limits the depth of log storage β for example, in the Mi Router 4A and AX1800 models, connection history is stored for no longer than 7 days, and URLs visited may not be saved at all if parental controls or traffic monitoring are not enabled. We will look at all the available methods, including hidden features of firmware based on OpenWRT, and also explain why some data may not be available even with the right settings.
What history can you see on the Xiaomi router
Before you try to find logs, identify what data you are interested in. Xiaomi routers divide the story into three main types:
- π List of connected devices β MAC-address, IP, First/last connection time: Stored until the router restarts (except for models with advanced firmware).
- π Websites visited (DNS-querying: domains that devices accessed on the network, available only with parental controls or traffic logs enabled.
- π Traffic statistics: the amount of data uploaded/sent by device or application, and the new firmware shows up as graphs over the past 24 hours.
Unfortunately, Xiaomi does not have full package logs (like MikroTik or Keenetic), so you canβt recover a story in a month or a year, maximum data from the last 7 to 30 days (depending on the model and settings), and if you want long-term statistics, youβll have to set up an external syslog server or use third-party firmware like Padavan.
Method 1: Viewing History through the routerβs web interface
The easiest way is to use a built-in control panel.
- Connect to the router network (via Wi-Fi or cable).
- Open your browser and enter 192.168.31.1 (or miwifi.com for older models).
- Log in (login and password from the router, by default often admin/admin).
Further action depends on the model:
| Model router | The Path to History | What data are available |
|---|---|---|
| Mi Router 4A/4C | Devices β List of devices | MAC, IP, connection time (without site history) |
| Mi Router 5/6/AX1800 | Tools β Traffic Journal | Websites (DNS), traffic by device (in 24 hours) |
| Redmi Router AX5/AX6 | Security β Parental control | Visited sites (only for devices with enabled controls) |
| AX3000/AX6000 | Statistics β Network activity | Traffic charts + top visited domains |
On models with MiWiFi ROM firmware (e.g., AX3600), the story can be hidden under the option Advanced Settings β System Tools β Logs. It displays system events (reboots, DHCP errors), but not user activity. To see the sites visited, you will have to turn on parental controls for a particular device:
Include parental controls in Security β Device management
Select the target device from the list
Activate the option "Journal of visited sites"
Save settings and restart the router-->
β οΈ Note: If the web interface does not have a Traffic Journal section, your firmware may be outdated. Update it through Settings β Update software or manually through MiWiFi application. In models up to 2019 (for example, Mi Router 3), the history of sites is not stored at all.
Method 2: Using the Mi Wi-Fi mobile application
The Mi Wi-Fi app (available for Android and iOS) duplicates some of the features of the web interface, but sometimes provides more convenient access to the history.
- Open the application and connect to the router.
- Go to the Devices section (the smartphone icon in the bottom menu).
- Select the desired device from the list.
- Click More β Activity log (or Traffic for new versions).
The annex shows:
- π± Time of connection/disconnection of the device.
- π Traffic consumption schedule for the day/week.
- π List of visited domains (only if parental controls are enabled).
The main advantage of the application is notifications about new connections. If an unfamiliar device appears on your network, Mi Wi-Fi will send a push message. β However, to view the full story (e.g. all of the DNS-querying) the application is not suitable - it shows only generalized data.
Method 3: View logs via Telnet/SSH (for advanced)
If the web interface and the application don't provide the right information, you can connect to the router via Telnet or SSH and extract logs manually, this method works on models with firmware based on OpenWRT (for example, Mi Router 4A Gigabit Edition or AX3600 with alternative software).
Instructions for Telnet:
- Activate Telnet via web interface: Advanced Settings β System Tools β Remote Management β Enable Telnet
- Connect to the router using a client (for example, PuTTY for Windows or Linux/macOS terminal): telnet 192.168.31.1 Login / password - the same as for the web interface.
- Follow the commands to view the logs: cat /var/log/messages # System Logs Dmesg | grep dnsmasq # DNS-requests (sites) iw dev wlan0 station dump # Connected Wi-Fi devices
For models with SSH (for example, Padavan firmware):
ssh admin@192.168.31.1
cat /var/log/dnsmasq.log # History of DNS- Requests
nvram show | grep dhcp_ # List of rented IP (DHCP)β οΈ Note: Not all Xiaomi firmware supports Telnet/SSH On official software, these protocols are often disabled for security reasons, and they may require firmware via UBoot or custom software installation to activate them, which voids the warranty.
How to turn on SSH on the official firmware?
Why History May Be Absent or Cleared
A common problem is that users don't find the story where it should be.
- π Router reboot β most logs (except parental controls) are reset.
- β³ Time limit β data is stored no longer than 7-30 days (depending on the model).
- π§ Disabled Features β without parental controls or traffic log, sites are not saved.
- π¦ Lack of memory on budget models (Mi Router) 4C) Logs can be automatically cleaned when the storage is filled.
- π Resetting β when you return to factory settings, the whole story is erased.
If you are sure that there should be a story but it does not exist, check out:
- The firmware version (update through Settings β Software update).
- Time settings on the router (incorrect date can knock logs).
- Free space in /var/log (do df-h via Telnet).
π‘
On Xiaomi models with MiWiFi firmware ROM (for example, AX3000) history DNS-requests are stored in a file /var/log/dnsmasq.log, But it clears when you reboot it. To save logs, set up exporting them to an external server via syslog.
How to Preserve History for a Long Time: External Solutions
If built-in logs arenβt enough, consider alternative ways to:
- Syslog Server: Set up the logs to an external server (e.g. Kiwi Syslog Server for Windows or rsyslog for Linux). In the router's web interface, specify the server's IP in Settings β System Tools β Syslog.
- Third-party firmware: Install Padavan, OpenWRT or DD-WRT. These firmwares support advanced logs and Pi-hole integration for DNS monitoring.
- NetFlow-enabled router: For deep traffic analysis, connect a device with Zabbix or PRTG Network Monitor to the network.
For most home users, a syslog server is enough. Example of settings for Mi Router 4A:
1. Install Kiwi Syslog Server on your PC.
2. In the router web interface, go to Advanced Settings β System Tools β Logs.
3. In the "Syslog Server" field, specify your PC's IP and port 514.
4. Save and restart the router.β οΈ Note: When using third-party firmware (Padavan, OpenWRT), you lose official Xiaomi support and risk disrupting the Mi Mesh function (for systems with multiple routers). β Backup.
Frequent Mistakes and How to Avoid Them
When working with history on Xiaomi routers, users often face typical problems:
| Mistake. | Reason. | Decision |
|---|---|---|
| No traffic log section. | Outdated firmware or model without support for logs | Update the software or use Telnet to manually extract logs |
| History is cleared every day | Automatic rotation of logs (especially on Mi Router 4C) | Set up the export of logs to an external server |
| Visited sites are not displayed | Parental controls are not included | Activate control for the right device in Security β Device Management |
| Telnet is not connected | Function disabled in firmware | Enable it through the hidden /developer menu or install custom software |
Another common mistake is to try to view the story through a provider, and many users think that the ISP stores their data and can provide it on request.
- Providers do not store the history of visited sites for longer than 3-6 months (according to the law of the Russian Federation).
- To obtain logs, an official request from law enforcement agencies is required.
- The providerβs data does not include local activity (for example, file sharing between devices on your network).
π‘
If you need a story for litigation, contact the provider with an official request.The Xiaomi router logs are not legally relevant evidence, as they are easy to fake or clean.