Set up the Xiaomi Mi WiFi 4 router: from connectivity to fine network optimization

Xiaomi Mi WiFi 4 remains one of the most popular home networking solutions, with a balance of price, performance and functionality. However, even this device requires the right setup to unlock its potential, from basic internet connectivity to fine optimization for online gaming, streaming video or smart home. In this article, we’ll look at all the stages of customization, from unpacking the box to solving rare problems users face.

It is important to understand that Mi Router 4 runs on MiWiFi firmware. ROM, It has its own interface and settings logic, for example, there is no usual web interface on 192.168.1.1, instead using the mobile application Mi WiFi (or Xiaomi Home for some regions). This simplifies the process for beginners, but it may raise questions for those who are used to classic routers, and we have taken into account all the nuances and prepared instructions that are suitable for both the first setup and for experienced users who want to squeeze the maximum out of the device.

Special attention is paid to three key aspects in the article:

  • πŸ”Œ Basic settings – connection to the provider, creation of a Wi-Fi network and password protection.
  • ⚑ Performance optimization – channel selection, QoS setup, firmware update.
  • πŸ›‘οΈ Security and Control – burglary protection, parental control, guest network.

1. Preparation for setting up: what will be needed

Before you start setting up, make sure you have everything you need. Unlike many routers, the Mi Router 4 doesn't have a physical button. WPS It doesn't support browser-based configuration, but it does with the app:

Smartphone on Android/iOS Mi WiFi app|Ethernet cable from the provider (if the connection is via the PPPoE/DHCP)|Power supply 12V/1A (comes complete)|Logins and passwords from the provider (with dynamic IP don't)|5-10 free-time-->

If you have fiber optic Internet (for example, from Rostelecom or Beeline), you may need additional ONU-terminal (unless the provider rents out the router), in which case the Mi Router 4 connects to the terminal via cable rather than directly to the fiber optic. ADSL-Connections will require a separate modem.

Also check firmware compatibility. As of 2026, current versions of the Mi Router 4 software are:

RegionUp-to-date firmwareFeatures
China (CN)2.28.151Support for Mesh, but without Russian
Global (Global)2.14.120Russian language, limited functions of Mesh
Russian Federation (RU)2.12.87Localized firmware with support of Russian providers

⚠️ If you bought a router on AliExpress or in Chinese stores, chances are that it is Chinese firmware (CN). In this case, the change of the region will require firmware through SSH β€” The process is described in the section "Update and Reset".

2. Connecting the router to the network and initial setting

Start by physically connecting the device, placing the router in the middle of the apartment, which will help to evenly distribute the signal, avoid installing near microwaves, cordless phones or metal objects that cause interference.

Follow the step-by-step instructions:

  1. Connect the power cable to the router and plug it into the socket. The indicator on the front panel should light up orange (standby mode).
  2. Connect the port. WAN (Blue connector on a router with a cable from the provider. ONU-terminal, use the port LAN terminal.
  3. Wait until the indicator is blue (internet connection is installed).
  4. Download the Mi WiFi app (Android/IOS) and sign up (or sign in via your Xiaomi account).

When you first run it, it automatically finds the router.

  • πŸ” Make sure your smartphone is connected to the router network (it is called by default). Xiaomi_XXXX).
  • πŸ“Ά Restart the router by holding the Reset button for 5 seconds.
  • πŸ“± Check that the smartphone settings include Wi-Fi and Bluetooth (the application uses both channels for initial settings).

Fiber optic (GPON)|ADSL|Ethernet (twisted pair)|4G/5G router|I don't know.-->

After successful connection, the application will offer:

  1. Select the type of Internet connection (usually DHCP or PPPoE).
  2. Enter the username/password from the provider (if required).
  3. Name the Wi-Fi network (SSID) Password and password (we recommend using it) WPA2-PSK).
  4. Create an administrator account to access settings.

⚠️ Note: If your provider uses a binding MAC-address (for example, TTK or Dom.ru), before setting up clone MAC-Address of the old router in the Settings section β†’ Internet β†’ MAC-Cloning, otherwise the Internet won't work.

3. Optimization of Wi-Fi network: channels, power, Mesh

By default, the router selects the Wi-Fi settings automatically, but this is not always optimal. For example, in apartment buildings, 2.4 GHz channels are often overloaded, which leads to "brakes." Here's how to improve coverage and speed:

Selection of channel and bandwidth

Open the Mi WiFi app, go to Settings β†’ Wi-Fi and select:

  • πŸ“Ά 2.4 GHz bandwidth: Set the 1, 6 or 11 channel (they don't overlap) bandwidth 20 MHz (for stability) or 40 MHz (for speed but with the risk of interference).
  • πŸš€ 5GHz band: Choose a channel with a small number of neighbors (check through the WiFi Analyzer app). 80MHz width for top speed.

To automatically select a channel, enable Auto-Optimize, but keep in mind that the router can switch to busy channels during peak hours.

3.2. Mesh network setup (if there is a second router)

Xiaomi Mi Router 4 supports Mesh network only with other Xiaomi routers (e.g. Mi Router) 4A or AX3600). To combine devices:

  1. Connect the second router to the first network via cable or Wi-Fi.
  2. In the Mi WiFi app, select Add Device β†’ Mesh-network.
  3. Follow the instructions – routers sync automatically.

πŸ’‘

If you have a two-story home, place the main router on the ground floor and the Mesh device on the second floor, which will ensure smooth roaming between points.

Network concealment and filtering MAC-address

For additional security:

  • πŸ”’ Hide. SSID: Turn on Hide the network in Wi-Fi settings, but remember that you have to manually connect to such a network on each device.
  • πŸ›‘οΈ Filtration MAC: In the Settings section β†’ Security β†’ Filter MAC Add only trusted device addresses, and that protects you from connecting any other gadget.

4.Security setting: passwords, guest network, parental controls

The Mi Router 4's factory security settings leave much to be desired: the administrator password often matches the Wi-Fi password, and the guest network is disabled. Let's fix this.

Change of the administrator password

By default, access to settings is protected by the password you set when you first set it up.

  1. Open Mi WiFi and go to Settings β†’ Account.
  2. Select Change password and enter a new one (we recommend at least 12 characters with numbers and special signs).

Configuring the guest network

The guest network allows you to access the Internet without revealing your primary password, so you can set it up:

  1. Go to Settings β†’ Wi-Fi β†’ Guest network.
  2. Enable the option and set a separate name (SSID) password.
  3. Limit speed (e.g., up to 10 Mbps) and running time (e.g., 9:00 to 22:00).

The guest network only operates in the 2.4 GHz band and does not have access to local devices (printers, NAS).

Parental control

If you have children in the house, set the limits:

  • ⏰ Schedule: Ban internet access at night (for example, 23:00 to 7:00).
  • 🌐 Content Filtering: Block sites by category (social media, games, adult content).
  • πŸ“± Device Restriction: Link the Rules to Specific Gadgets MAC-address.

To activate, go to Settings β†’ Parental control and add a child profile.

πŸ’‘

Guest networking and parental controls are two key security tools: one protects the main network from guests, the other protects children from unwanted content.

5. Advanced settings: QoS, port forwarding, IPv6

For power users, the Mi Router 4 offers a number of hidden features that are not visible in the main interface. SSH.

5.1. Quality of Service (QoS)

QoS allows you to prioritize traffic, for example, you can give maximum speed to video calls or online games, while limiting torrents.

  1. Go to Settings. β†’ Additionally. β†’ QoS.
  2. Enable the feature and select priority devices or traffic types.
  3. Set speed limits for background tasks (e.g. 5 Mbps for updates).

5.2 Port forwarding (Port Forwarding)

If you need to access your home server, camera, or game from the internet, set up a redirect:

  1. Go to Settings. β†’ Redirection β†’ Port forwarding.
  2. Add a rule: specify an external port (for example, 8080), internal IP (for example, 192.168.31.100) protocol (TCP/UDP).
  3. Save and verify access from outside (e.g., through the http://your_IP:8080).

⚠️ Note: Before opening ports, make sure that the target device (e.g., the port, NAS) Default access is disabled (change the standard login / password type) admin/admin). Otherwise, you risk becoming a victim of botnet attacks.

5.3. Adjustment IPv6

If your provider supports IPv6 (For example, Beeline or MTS, activate it:

  1. Go to Settings. β†’ Internet β†’ IPv6.
  2. Select the type of connection (DHCPv6 or static IPv6).
  3. Specify the prefix and gateway (data provided by the provider).

After activation of the device in the network will receive global IPv6-Addresses that are useful for accessing home devices without NAT.

What is Dual Stack and why is it needed?
Dual Stack is a mode in which the router simultaneously supports the IPv4 and IPv6. It is necessary for a smooth transition to the new protocol, as many sites (for example, Google or YouTube) are already working on the new protocol. IPv6, But some services (like online banking) aren't yet. Turn on Dual Stack if you want maximum compatibility.

6. Update firmware and reset settings

Regular firmware updates fix vulnerabilities and add new features.The Xiaomi Mi Router 4 updates automatically, but sometimes manual intervention is required.

Verification and installation of updates

To update the firmware:

  1. Open Mi WiFi and go to Settings β†’ Firmware update.
  2. If a new version is available, click Update.
  3. Wait until the router is finished (the router will restart automatically).

If the update is hanging:

  • πŸ”„ Reset the router with the Reset button (hold 5 seconds).
  • πŸ“± Remove and reinstall the Mi WiFi app.
  • 🌐 Check your internet connection (update downloaded from Xiaomi servers).

Reset to factory settings

If the router starts to glitches or you forget the password, reset:

  1. Press and hold the Reset button on the back for 10 seconds (until the indicator flashes).
  2. After the reboot, the router will create a new network Xiaomi_XXXX.
  3. Go through the initial setup again through the app.

⚠️ Warning: Reset removes all settings, including QoS rules, port forwarding and parental controls. SSH-access or custom scripts, they also have to be restored manually.

Implementing the firmware through SSH (skilled)

If you need advanced features (such as OpenWRT or AdGuard Home support), you can flash the router through the SSH:

  1. Activate the developer mode in the router settings.
  2. Connect to the SSH (Login: root, password: the admin password of your router).
  3. Download the firmware through SCP and execute the command: mtd -r write /tmp/firmware.bin firmware

Detailed instructions for OpenWRT firmware for Mi Router 4 can be found on the forum 4PDA.

7. Solving typical problems

Even after you set it up properly, you can have problems, and let's look at the most common ones and how to fix them.

No Internet connection

If the router is connected to the provider, but the Internet does not work:

  • πŸ”Œ Check the cable – try connecting it directly to your PC (if you have internet, the router is a problem).
  • πŸ“‘ Make sure you choose the right type of connection (DHCP, PPPoE, Static IP).
  • πŸ”„ Restart the router and ONU-terminal (if any).
  • πŸ“ž Call the provider – it may be the problem on their side (for example, blocking the service). MAC).

7.2 Slow Wi-Fi

If the cable speed is normal and the Wi-Fi speed is low:

  • πŸ“Ά Change the channel manually (see section 3.1).
  • πŸ“± Disable devices that may cause interference (microwaves, wireless mice).
  • πŸ”„ Reduce the channel width to 20 MHz (for 2.4 GHz).
  • πŸ› οΈ Check the load on the router in Settings β†’ Status. β†’ The load CPU. If you download. >70%, disable unnecessary devices.

The router is constantly restarting.

Frequent rebuttals may be caused by:

  • πŸ”₯ Overheating – check if the ventilation holes are closed.
  • ⚑ Unstable power supply – try another power supply (12V/1A).
  • πŸ› Failure of firmware - perform reset to factory settings.

If the problem persists, manually run the router (see Section 6.3).

8. Alternative firmware: pros and cons

Stock firmware MiWiFi ROM Many users install custom firmware like OpenWRT or Padavan that opens access to the Internet:

  • πŸ”§ Advanced firewall and routing settings.
  • πŸ“Š Detailed statistics of traffic by device.
  • πŸ›‘οΈ Built-in ad blockers (e.g. AdGuard Home).
  • 🌍 Support VPN-servers (WireGuard, OpenVPN).

There are, however, downsides:

  • ⚠️ Loss of warranty (Xiaomi does not support custom firmware).
  • πŸ”„ Risk of "bricking" (turning the router into a "brick" when the firmware error).
  • πŸ“± Difficulty of updates (you will have to manually monitor the release of new versions).

If you decide to firmware, follow the instructions from trusted sources (e.g. openwrt.org). For Mi Router 4, OpenWRT 21.02 is the right version.+.

πŸ’‘

Custom firmware provides more features, but requires technical skills. If you only need basic features (Wi-Fi, parental controls, QoS), Xiaomi stock firmware will suffice.

FAQ: Frequent questions about Xiaomi Mi Router 4

❓ Can I use a router without the Mi WiFi app?
Officially, no, because the web interface is disabled in the latest firmware, but once the developer mode is activated, you can access 192.168.31.1 (login: root, password: admin password of the router), and you can also flash an alternative firmware with a web interface.
❓ Why the router does not see the mesh Xiaomi Mesh?
Make sure: Both routers are running on the same firmware (e.g. global). Mesh Mode is enabled in Wi-Fi settings. Routers are no more than 10 meters apart (for stable connection). If the problem persists, reset the settings of both devices and reset Mesh.
❓ How to increase the range of Wi-Fi?
Try the following methods: Set the router higher (for example, on the closet). Use a repeater (repeat) or a second router in mode. WDS. Change antennas to more powerful ones (e.g. 5 dBi amplification). Reduce transmission power in settings (paradoxically, but sometimes it helps stabilize the connection).
❓ Why there is no option in the settings IPv6?
This means that your provider does not support IPv6 (Check the provider's website. You have outdated firmware - update the router (see section) 6.1). You're using Chinese firmware (CN), where IPv6 It can be turned off by default. IPv6 manually, connect to the router on SSH And then you do the command: uci set. network.lan.ipv6=1 uci commit reboot
❓ Can I connect an external hard drive to the router?
Xiaomi Mi Router 4 doesn’t have a port USB It doesn't support the drive connection. 4A Gigabit or AX3600, possessed USB-The alternative is to use network storage (NAS) or a router with Samba support (for example, on OpenWRT).