How to connect a hard drive to the Xiaomi router: full instructions with photos and tips

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 routerMax. Disk capacity.Support NTFS (record)Max, reading speed.
Mi Router 4A4 TB❌ (reading)~30MB/s
Mi Router AX36008 TBβœ… (firmware-up)~80MB/s
Mi Router AX60008 TBβœ…~110 MB/s
Redmi Router AX66 TB❌~50MB/s
πŸ“Š What disk do you plan to connect?
Hard disk (HDD)
Solid-state drive (SSD)
Flash drive.
I haven't decided yet.

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):

  1. Connect the disk to the computer.
  2. Open Disk Management (click Win + R, enter diskmgmt.msc).
  3. Find your drive, right-click and select Format.
  4. 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?
For formatting in ext4 Under Windows, use MiniTool Partition Wizard or GParted (in Live-CD Linux). β†’ New UUID β†’ filesystem ext4 β†’ Apply the changes. Once connected to a router with OpenWRT, the disk will be available for recording without restrictions.

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:

  1. Turn off the router from the outlet (not through a button, but physically remove the power cord).
  2. Connect the disk to USB-router port. For 3.5" HDD First, connect the power supply.
  3. Turn the router back on. Wait for full load (the indicators should burn steadily).
  4. 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

Done: 0 / 4

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:

ProtocolAppointmentSpeed.Difficulty setting up
SMB (Samba)Sharing files for Windows/Mac/LinuxTall.Medium
FTPRemote Internet access, downloading filesMediumSimple.
DLNAStreaming media on TV/playerLow (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.

  1. Go to the router’s web interface (miwifi.com).
  2. Go to Additional Settings β†’ USB-accumulator β†’ Shared access settings.
  3. Enable Network Access (SMB).
  4. Please specify the name of the shared resource (e.g. XiaomiNAS).
  5. Set up a username and password (often by default) admin/router).
  6. 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.

  1. In the router web interface go to USB-accumulator β†’ Settings FTP.
  2. Turn it on. FTP-server.
  3. Please specify the port (default 21).
  4. Please set your username/password (you can use the same ones for the SMB).
  5. 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).

  1. In the router's web interface, turn on DLNA-server USB-accumulator.
  2. Specify folders for scanning (for example, /movies, /music).
  3. On the TV or player, open the Mediaserver app or DLNA.
  4. 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:

  1. Connect the disk directly to your computer and measure the speed using CrystalDiskMark.
  2. Connect the drive to the router and repeat the test by copying a large file (1).+ GB over the network.
  3. 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 causeDecision
Disk not determinedInsufficient power, incompatible file systemUse a Y-cable or external powered hub. Reformat into FAT32.
No access to SMBIncorrect login/password, disabled SMB WindowsCheck the credentials. Turn on the credentials. SMB1 on Windows or use SMB2.
Slow speed.USB 2.0, a loaded Wi-Fi networkConnect 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 providerSet up port port drop, check the firewall provider.
DLNA sees the filesUnsupported format, incorrect foldersConvert files to.mp4/.mkv, check the paths to the folders.

If the drive is connected but the router can’t see it:

  1. Check if the indicator on the disk is on.
  2. Connect the disk to the computer - is it there?
  3. Update the router to the latest version.
  4. 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:

  1. Install custom firmware Padavan or OpenWRT.
  2. 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:

  1. Download the firmware for your model from the official repository.
  2. Go to the router’s web interface, go to Additional settings β†’ Update of the PO.
  3. Download the firmware file and wait for the reboot (5-10 minute).
  4. 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?
1. Download stock firmware for your model with XDA Developers. 2. In the Padavan web interface, go to Administration β†’ Firmware Upgrade. 3. Download the stock firmware file (usually with the.bin extension). 4. Wait for the reboot (may take up to 15 minutes). Important: After returning to the stock firmware, all settings will reset!

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.

FAQ: Frequent questions

Can I connect? SSD router?
Yeah, but there's nuance: SSD It will work faster. HDD, but because of the limitations USB-The speed gain may be insignificant (for example, on the Mi Router port). 4A s USB 2.0 SSD It will not show its full speed). SSD sensitive to sudden power outages.If the router reboots frequently, it can shorten lifespan SSD. For maximum productivity, use SSD s USB 3.0 router AX3600/AX6000.
Why can’t the router see a 5TB drive?
Probable reasons: The disk is formatted in exFAT or NTFS, which are not supported by stock firmware. FAT32 (But consider the 4GB file size limit. >4 TB (relevant to the Mi Router) 4A Redmi Router AC2100). Power shortage - try connecting the drive through an externally powered hub. Solution: Update the router's firmware or install OpenWRT to support large drives.
How to set up automatic copying of files from phone to disk?
There are several ways: FTP: Put it on the phone. FX File Explorer or Solid Explorer. Connect FTP-router (ftp://192.168.31.1). In the application settings, set up automatic upload of photos/video to the folder on the disk. Through Syncthing: Install Syncthing on your phone and router (requires OpenWRT). Set up folder sync DCIM Tasker (Android): Create a task that copies new files from the /storage/emulated/0/DCIM on FTP-scheduler.
Can I use the disk as a torrent bootloader?
Yes, but it will require: Install custom firmware (OpenW)