Connecting an external hard drive to a Xiaomi router turns a regular router into a full-fledged network storage (NAS). This allows you to share files for all devices on the home network, automate backups, and even run torrent downloads without a computer on. However, not all drives are compatible with Mi Router firmware, and improper configuration can lead to slow operation or even data loss.
In this article, we will understand how to choose the right disk for Xiaomi Mi Router 4A, AX3600, AX6000 and other models, connect it through USB-port, set up shared access by protocols SMB, FTP or DLNA, We'll also fix common errors, and we'll focus on the limitations of the file system. exFAT/NTFS in stock firmware Xiaomi and ways to bypass them.
1. Which drives are compatible with Xiaomi routers
Xiaomi routers support external drives through the port USB 2.0/3.0, But not all drives will work properly:
- π Connection interface: USB 3.0 (reverse compatibility with USB 2.0 is saved, but speed will be limited. Type-C drives will require an adapter.
- πΎ File system: FAT32 (up to 4 TB, files up to 4 GB), NTFS (Readable, but the record may not work without a preset), ext4 (Best for Linux firmware. exFAT is not officially supported!
- π Power: Discs with external power (from the socket) are more reliable than portable 2.5" HDD β The latter may lack power. USB-router-port.
- π¦ Capacity: Up to 8 TB (tested on Mi Router) AX6000), But for stable operation it is better to use disks up to 4 TB.
Among the tested models:
- πΉ Western Digital My Passport (2.5, up to 5TB) β works without external power supply, but can overheat.
- πΉ Seagate Expansion (3.5, up to 8 TB) β requires a separate power supply, stable with long operation.
- πΉ Samsung T7 Shield (SSD, up to 2 TB) β high speed, but expensive for 1 GB.
β οΈ Note: Routers on MiWiFi stock firmware do not support exFAT due to lack of Microsoft license. If the disk is formatted in exFAT, it will have to be reformatted or installed custom firmware (for example, OpenWRT).
| Model router | Max. Disk capacity. | Support NTFS (record) | Max, reading speed. |
|---|---|---|---|
| Mi Router 4A | 4 TB | β (reading) | ~30MB/s |
| Mi Router AX3600 | 8 TB | β (firmware-up) | ~80MB/s |
| Mi Router AX6000 | 8 TB | β | ~110 MB/s |
| Redmi Router AX6 | 6 TB | β | ~50MB/s |
2. Preparation of the disk before connection
Before you physically connect the drive to the router, it must be formatted correctly, which is especially important if the drive has been previously used on Windows or Mac.
For Xiaomi routers on stock firmware, the best options are:
- π FAT32 β universal option, but with a limitation on file size (4 GB.
- π NTFS β It is supported for reading, writing is possible only on certain models (for example, AX3600 post-refresh).
- π ext4 β Best choice for Linux firmware (OpenWRT, Padavan), but not readable Windows without additional software.
Instructions for formatting in FAT32 (Windows):
- Connect the disk to the computer.
- Open Disk Management (click Win + R, enter diskmgmt.msc).
- Find your drive, right-click and select Format.
- Specify the file system FAT32, 4,096 bytes cluster size, note Fast formatting.
β οΈ Warning: If the disk was previously used to store important data, back up! Formatting will destroy all files. >32 GB standard Windows formatting FAT32 It may not work, use the utility. fat32format (download).
How to format a disk in ext4 OpenWRT?
3. Physical connection of the disk to the router
When the disk is formatted, you can plug it into the router. It's a simple process, but there are nuances:
- Turn off the router from the outlet (not through a button, but physically remove the power cord).
- Connect the disk to USB-router port. For 3.5" HDD First, connect the power supply.
- Turn the router back on. Wait for full load (the indicators should burn steadily).
- Check if the drive is determined: go to the routerβs web interface (192.168.31.1 or miwifi.com) and open the section USB-accumulator.
If the disc is not determined:
- π Check the cable - try another one USB-cable (preferably original from the disc).
- π For 2.5" HDD without external power, use a Y-cable with two USB-scatters (one for data, the other for additional power).
- π Restart the router with the connected drive (sometimes helps).
βοΈ Checking the disk connection
Some models (e.g. Mi Router) 4A) USB-The port may not provide enough current to SSD. In this case, it will help. USB-feed-in.
4. Sharing setting (SMB/FTP/DLNA)
Once a disk is successfully connected, it must be made available to other devices on the network. Xiaomi routers support three main protocols:
| Protocol | Appointment | Speed. | Difficulty setting up |
|---|---|---|---|
| SMB (Samba) | Sharing files for Windows/Mac/Linux | Tall. | Medium |
| FTP | Remote Internet access, downloading files | Medium | Simple. |
| DLNA | Streaming media on TV/player | Low (depending on the device) | Simple. |
Letβs look at each protocolβs steps.
4.1. Setting up SMB (for Windows/Mac)
Protocol SMB Allows you to connect the drive as a network in Windows Explorer or Finder on Mac.
- Go to the routerβs web interface (miwifi.com).
- Go to Additional Settings β USB-accumulator β Shared access settings.
- Enable Network Access (SMB).
- Please specify the name of the shared resource (e.g. XiaomiNAS).
- Set up a username and password (often by default) admin/router).
- Save the settings.
Now connect the disk on the computer:
- πͺ Windows: Open Explorer, enter in the address bar \\192.168.31.1 (or router name), enter login/password.
- π Mac: In Finder, press Cmd + K, enter smb://192.168.31.1.
π‘
If Windows is not connected to SMB, Check the protocol support SMB1: Open the control panel. β Programme programmes β Enable or disable Windows components and enable File Sharing Support SMB 1.0/CIFS. It is better to use for safety. SMB2/SMB3 (Included by default in Windows 10/11).
Adjustment FTP (remotely)
Protocol FTP Easy to download files from your phone or the Internet.
- In the router web interface go to USB-accumulator β Settings FTP.
- Turn it on. FTP-server.
- Please specify the port (default 21).
- Please set your username/password (you can use the same ones for the SMB).
- To access from the Internet, enable External Access and configure port forwarding (Port 21 on the Internet). IP router).
Connection to FTP:
- π± Android: Use it FX File Explorer or Solid Explorer (address: ftp://192.168.31.1).
- π» Windows: Enter the Explorer ftp://192.168.31.1.
- π From the Internet: Connect to the external IP (find out 2ip.ru).
β οΈ Attention: FTP It's clearing the passwords. FTPS (FTP through SSL) In the router settings or use SFTP (It is also recommended to change the standard port 21 to a non-standard one (for example, 2121) to protect against scanning by bots.
Adjustment DLNA (smart TV player)
Protocol DLNA Allows you to stream movies, music and photos on Samsung TVs, LG, Xiaomi TV Xiaomi Mi Box, Nvidia Shield).
- In the router's web interface, turn on DLNA-server USB-accumulator.
- Specify folders for scanning (for example, /movies, /music).
- On the TV or player, open the Mediaserver app or DLNA.
- Select your router (Xiaomi) from the list of devices.
If the DLNA is not working:
- πΊ Check that the TV and router are on the same network.
- π¬ Make sure that the files are supported (for example,.mp4,.mkv for video).
- π Restart router and TV.
π‘
For a stable job. DLNA It is recommended to create separate folders for different types of media (Films, Music, Photos) on the disk and avoid nested folders with a depth of more than 3 levels - this speeds up indexing.
5. Optimization of speed and stability of work
A common problem with a router drive is a slow read/write speed or connection break. Here's how to fix this:
- π Use quality. USB-Cable: Cheap cables can limit speeds to USB 2.0 even on port 3.0.
- π Turn off the power saving. USB: In the router settings (Additional settings) β USB) Turn off the option to save energy USB.
- π‘ Change Wi-Fi Channel: If network speeds are low, switch your router to a free channel (use Wi-Fi Analyzer for analysis).
- πΎ Break the disk into sections: For a large disk (4+ TB) create several sections on 1-2 TB is going to speed things up.
To check the speed:
- Connect the disk directly to your computer and measure the speed using CrystalDiskMark.
- Connect the drive to the router and repeat the test by copying a large file (1).+ GB over the network.
- Compare the results: if the speed of the network in 2-3 times lower, the problem in the settings of the router or network.
Typical speed values:
- πΉ Mi Router 4A (USB 2.0): 10-30 MB/s.
- πΉ Mi Router AX3600 (USB 3.0): 40-80 MB/s.
- πΉ Mi Router AX6000 (USB 3.0): 60-110 MB/s.
π‘
If the drive is permanently shut down, check it for bad sectors using Victoria or HDDScan. SSD CrystalDiskInfo β If the health status of the disc is below 90%, replace it with a new one.
6. Solving typical problems
Even with the right setup, there can be errors. Let's look at the most common ones.
| Problem. | Possible cause | Decision |
|---|---|---|
| Disk not determined | Insufficient power, incompatible file system | Use a Y-cable or external powered hub. Reformat into FAT32. |
| No access to SMB | Incorrect login/password, disabled SMB Windows | Check the credentials. Turn on the credentials. SMB1 on Windows or use SMB2. |
| Slow speed. | USB 2.0, a loaded Wi-Fi network | Connect to the cable (LAN), change the Wi-Fi channel. |
| FTP It's not on the Internet. | Port 21 is closed on the router or the provider | Set up port port drop, check the firewall provider. |
| DLNA sees the files | Unsupported format, incorrect folders | Convert files to.mp4/.mkv, check the paths to the folders. |
If the drive is connected but the router canβt see it:
- Check if the indicator on the disk is on.
- Connect the disk to the computer - is it there?
- Update the router to the latest version.
- Reset the router to factory settings (reset button for 10 seconds).
For Mi Router models 4A Redmi Router AC2100 bug-s NTFS: The disc is visible, but recording is impossible:
- Install custom firmware Padavan or OpenWRT.
- Or format the disk in ext4 (Requires Linux or Live CD).
7. Alternative firmware: OpenWRT and Padavan
MiWiFi stock firmware has limitations: no exFAT support, problems with the NTFS, weak-productivity SMB. Alternative firmware (OpenWRT, Padavan) solves these problems, but requires technical skills.
Advantages of custom firmware:
- π§ Full support NTFS, exFAT, ext4.
- π Improved speed SMB (Up to 110MB/s even on the Mi Router 4A).
- π Advanced security settings (SFTP, WireGuard).
- π¦ Docker support (you can deploy Plex, Transmission).
Instructions for installation of Padavan:
- Download the firmware for your model from the official repository.
- Go to the routerβs web interface, go to Additional settings β Update of the PO.
- Download the firmware file and wait for the reboot (5-10 minute).
- After installation, set up the network again (IP may change to 192.168.123.1).
β οΈ Attention: Installing custom firmware voids warranty and may cause the router to "brick"! Before firmware, back up the settings (Additional settings) β Backups: Recovery from a failed firmware will require UART-adapter and soldering skills.
How to return stock firmware after Padavan?
8. Security of network storage
A drive connected to a router becomes vulnerable to attacks from the Internet.
- π Data breach: If FTP passwordless.
- π¦ Viruses: Viruses through vulnerabilities in SMB or FTP.
- π‘οΈ DDoS attacks: Open ports (e.g., 21 for the Internet) FTP).
How to protect your storage:
- π Disable external access to FTP/SMB, if you don't need it.
- π Change the standard ports (for example, SMB 445 to 4445).
- π‘οΈ Enable firewall in router settings (Security) β Firewall).
- π Use complex passwords (at least 12 characters with numbers and special signs).
- π‘ Set up. VPN (For example, WireGuard in OpenWRT for secure access from the Internet.
For data encryption on the disk:
- Create an encrypted container with VeraCrypt (supported in the Windows/Linux/Mac).
- Or format the disk in ext4 coded LUKS (Linux requires).
π‘
Never open it. SMB (Port 445) to the Internet! This protocol is vulnerable to EternalBlue attacks (like WannaCry). VPN or SFTP.