How to set up a router Xiaomi Mi Router 4A: Complete guide with photos and tips

Xiaomi Mi Router router 4A โ€” One of the most popular budget routers on the market, thanks to its combination of affordable price, stable operation and ease of customization, but even with such a device, users often have questions: How to connect it to the Internet correctly, configure dual Wi-Fi, protect the network from hacking or update the firmware without the risk of bricking. In this article, we will discuss all the steps of setting up Mi 4A โ€” From basic connectivity to subtle optimizations for gamers and streamers.

The feature of this model is a hybrid firmware based on OpenWRT, which allows you to use both the standard web interface from Xiaomi and install alternative firmware for advanced features. But before diving into the โ€œadvancedโ€ settings, it is important to correctly execute the initial configuration. We will consider both options: through the official Mi WiFi application and through the 192.168.31.1 web panel, and we will give recommendations for choosing the optimal parameters for different use cases.

1. Preparation for setting up: what to do before turning on the router

Before you connect the Mi Router 4A To the network, follow a few mandatory steps, which will help to avoid common mistakes, such as the lack of Internet connection after setting up or conflicts. IP-Addresses with other devices on the network.

First, check the equipment. The box should have:

  • ๐Ÿ“ฆ The router itself Xiaomi Mi Router 4A (black-and-white)
  • ๐Ÿ”Œ Power supply with parameters 12V/1A (Using other adapters can lead to unstable operation!)
  • ๐Ÿ“ถ Removable antennas (2 pcs) - they must be screwed before turning on
  • ๐Ÿ“„ Brief instruction in Chinese/English (Russian version is not usually available)
  • ๐Ÿ”„ Network cable RJ-45 (Sometimes it is not included in the package โ€“ check in advance!)

Second, prepare data from your ISP. You'll need to:

  • ๐Ÿ”‘ Connection type: Dynamic IP (DHCP), Static IP, PPPoE, L2TP or PPTP (check with the provider!)
  • ๐Ÿ†” Login and password for Internet access (if used) PPPoE/L2TP/PPTP)
  • ๐ŸŒ DNS-servers (you can leave automatic servers by default, but it is better to use 1.1.1.1 or 8.8.8.8 for acceleration)

โš ๏ธ Note: If you connect the router to the fiber optic terminal (ONU) from the provider (for example, from Rostelecom or Beeline), first turn off Wi-Fi on the Internet. ONU Two routers with Wi-Fi on the same network will cause interference!

We also recommend:

  • ๐Ÿ“ฑ Install the official Mi WiFi app (available for Android and iOS) โ€“ it simplifies the initial setup.
  • ๐Ÿ–ฅ๏ธ Prepare a computer or smartphone to access the routerโ€™s web interface (preferably via cable) LAN attuning).
  • โšก Check the socket โ€“ the router is sensitive to voltage surges, so it is better to use a network filter.
๐Ÿ“Š How do you usually set up routers?
Through the mobile app
Through the web interface
I'm calling the provider.
I don't set myself up.

2. Connecting the router to the network and initial setting

Now, to the physical connection and the basic configuration, follow the steps to avoid errors.

1. Connect the antennas to the connectors on the back of the router. Spin them all the way up, but without undue effort -- plastic thread!

2. Insert the power cable into the connector DC 12V And plug the block into the outlet, and wait for the indicator on the front to flash yellow, which means the router is ready to set up).

3. Connect the router to the Internet:

  • If you have cable Internet (for example, from MTS or Dom.ru), insert the provider cable into the port. WAN (usually blue).
  • If you have fiber optic with ONU, plug in Mi. 4A ce LAN-terminal port (not at the terminal port) WAN!).

4. Connect to the router:

  • ๐Ÿ“ฑ By Wi-Fi: Find a network with a name Xiaomi_XXXX (where XXXX โ€” last-minute MAC-address) and connect without password.
  • ๐Ÿ–ฅ๏ธ Cable: Use any of the LAN-Ports (yellow connectors) and connect the router to the computer.

5. Run the setting:

  • Open your browser and go to 192.168.31.1 (or miwifi.com).
  • Open the Mi WiFi app and follow the wizardโ€™s instructions.

โš ๏ธ Note: If, after connecting to Xiaomi_XXXX The internet does not appear, but the page 192.168.31.1 Do not open, check if your firewall is blocking or VPN Access the LAN. Turn them off while you set them up.

At the stage of choosing the interface language, select English (no Russian, but English is intuitive).

  • ๐Ÿ”„ Select Router Mode (recommended) or Repeater Mode (if used as a repeater).
  • ๐ŸŒ Select China โ€“ this does not affect the functionality, but some options are hidden in other regions).
  • ๐Ÿ” Invent the name of the network (SSID) Password for 2.4 GHz and 5 GHz (you can leave the same for convenience).

Provider cable connected to WAN-port|

The antennas are twisted to the point.|

Selected the correct type of connection (PPPoE/DHCP)|

Wi-Fi passwords contain at least 8 characters|

Disabled. VPN firewall on the setting device-->

3. Internet Connection (WAN) setting

This is the most critical stage โ€“ if you incorrectly specify the parameters. WAN-Connection, router won't give away the Internet. Let's look at all the options:

1. Dynamic IP (DHCP) โ€” The most common type. Choose it if the provider automatically assigns it. IP-address (e.g. Beeline or TTK) It is enough to save the settings without additional settings.

2. PPPoE - used by many providers (Rostelecom, MGTS, Ufanet).

  • ๐Ÿ†” Username (Login) โ€“ usually in login format@provider.ru.
  • ๐Ÿ”‘ Password - Register sensitive!
  • ๐Ÿ”„ Parameter MTU: Keep 1480 (optimum for most networks).
  • ๐Ÿ”„ Connection Mode: Select Connect Automatically.

3. Static IP โ€” if the provider has issued a fixed IP. You'll need to enter:

  • ๐ŸŒ IP-address (e.g. 192.168.1.2)
  • ๐ŸŽญ Subnet mask (255.255.255.0)
  • ๐Ÿšช Main Gateway (Gateway)
  • ๐Ÿ“ก Preferred and alternative DNS (1.1.1.1 and 8.8.4.4 can be specified)

4. L2TP/PPTP โ€” We'll need to enter the protocols that are rarely used:

  • ๐Ÿ”— Server address (for example, tp.internet.beeline.ru)
  • ๐Ÿ†” User name and password
  • ๐Ÿ” It may be necessary to indicate MPPE-encryption (check with the provider).
Type of connectionProviders (examples)Additional parameters
Dynamic IP (DHCP)Beeline, TTK, AquaNothing is required.
PPPoERostelecom, MGTS, UfanetLogin/password, MTU=1480
Static IPCorporate tariffsIP, mask, gateway, DNS
L2TPBeeline (old fares)Server address, MPPE

After saving the settings, the router will restart. WAN (Blue usually doesnโ€™t light up โ€“ check it out:

  • ๐Ÿ”Œ Correctness of cable connection (port) WAN, not LAN!).
  • ๐Ÿ”„ Connection type (for example, if you have selected PPPoE and the provider uses the DHCP, There's no Internet).
  • ๐Ÿ“ž Call in support of the provider and specify the current settings - they could change!

๐Ÿ’ก

If the Internet works after setting up, but the speed is lower than expected, try manually specifying the speed. DNS-servers 1.1.1.1 (Cloudflare) or 77.88.8.8 (Yandex) in the settings WAN. This often speeds up the loading of websites.

4. Wi-Fi optimization: channel selection, power and other parameters

By default, Mi Router 4A It uses automatic Wi-Fi settings, but they're not always optimal. For example, a router can choose an overloaded channel, which causes speeds to drop during peak hours.

1. The division of frequencies 2.4 GHz and 5 GHz:

  • ๐Ÿ“ถ 2.4 GHz: better through walls, but subject to interference from other devices (microwaves, Bluetooth).
  • ๐Ÿš€ 5GHz: faster and less interference, but weaker through obstacles.Ideal for streaming video and gaming.

Channel selection:

  • For 2.4 GHz, avoid channels 1, 6, 11, which are the busiest. Use the WiFi Analyzer (Android) utility to find a free channel.
  • For 5 GHz, choose channels 36-48 or 149-165 (They are less crowded in urban areas).

Transmission power:

  • Auto is the default, but if the router overheats, reduce the power to Medium.
  • In the Advanced Settings menu โ†’ Wireless Find the Transmit Power option.

Channel width:

  • For 2.4 GHz, leave 20 MHz for stability.
  • For 5GHz, select 80 MHz (if your devices support it) 802.11ac).

Safety:

  • ๐Ÿ”’ Type of encryption: WPA2-PSK (Don't use outdated WEP!).
  • ๐Ÿ”‘ Password: minimum 12 characters with numbers and special characters (e.g. MiHome!2026WiFi).
  • ๐Ÿ›ก๏ธ Hiding SSID: Donโ€™t turn on this option โ€“ it doesnโ€™t increase security, but makes it harder to connect.

โš ๏ธ Note: If you have a dual-band router and want devices to automatically switch between 2.4GHz and 5GHz, give the networks the same names (SSID), But it's different passwords, and it's going to force customers to choose the optimal frequency, but some devices, like older smartphones, may not work well with that configuration!

To apply the changes, press Save and wait for the router to restart. Then check the speed on the devices using Speedtest.net.

How do you turn on the guest network?
Guest network on Mi Router 4A You can configure the Guest Network menu. It allows you to distribute the Internet without access to a local network (for example, for friends). Restrictions: - Maximum speed of the guest network - 10 Mbit / s (firmware restriction). - Only works at 2.4 GHz. Does not support connection to Xiaomi smart devices (main network required).

5. Advanced settings: for gamers, streamers and smart home

If you use a router for online gaming, streaming or managing a smart home, standard settings may not be enough.

Traffic Prioritization (QoS):

  • ๐ŸŽฎ For games: on the QoS menu โ†’ Game Acceleration add IP-Game server addresses (for example, for Steam or Battle.net).
  • ๐Ÿ“บ For streaming: prioritize the device from which the broadcast is being conducted (specify it). MAC-address).

2. port forwarding (port forwarding):

  • If you want to run your own server (for example, Minecraft or Minecraft). CS:GO), Flip the ports in the Advanced menu โ†’ Port Forwarding.
  • An example for Minecraft: TCP 25,565 locally. IP servers (e.g. 192.168.31.100).

3. Setting up for a smart home:

  • ๐Ÿ  For stable operation Xiaomi Mi Home turn off customer isolation in Wi-Fi settings.
  • ๐Ÿ”„ Turn it on. IGMP Snooping (Advanced menu) โ†’ Networking for proper multicast traffic (needed for some smart lamps).
  • ๐Ÿ“ก For 5GHz devices (e.g., Xiaomi Mi Home Security Camera) 2K) use fixed IP-address DHCP Reservation.

4. VPN-server:

  • ๐Ÿ” Mi Router 4A supportive PPTP And it's an OpenVPN server, and it allows you to connect to your home network from anywhere in the world.
  • ๐Ÿ“Œ Instructions for setting up OpenVPN:
1. Download the configuration file from the router (Advanced โ†’ VPN Server โ†’ OpenVPN โ†’ Export Config).


2. Install the OpenVPN client on your smartphone/PC.




3. Import the file and connect using the login / password from the router.

5. Disconnection IPv6:

  • If your provider does not support IPv6, And the router is constantly trying to get the address, and it can cause delays. IPv6 Advanced menu โ†’ IPv6.

โš ๏ธ Note: When passing ports, never open ports 22 (SSH), 23 (Telnet) or 3389 (RDP) You can use it to access the Internet without emergency, which increases the risk of a router being hacked. VPN.

๐Ÿ’ก

For online gaming, it is critical to reduce ping. In addition to QoS, disable Bandwidth Control and check if the provider is blocking gaming traffic (sometimes changing helps). DNS at 8.8.8.8).

6.Firmware update and recovery after failures

Mi Router firmware 4A It is automatically updated, but sometimes manual updates are required, such as installing alternative firmware (like Padavan) or recovering from a crash.

1. Official update via web interface:

  • ๐Ÿ”„ Go to Advanced. โ†’ System Status โ†’ Check for Updates.
  • ๐Ÿ“ฅ If a new version is available, click Upgrade and wait until it is completed (the router will restart).
  • โš ๏ธ Do not turn off power during the upgrade โ€“ this will lead to โ€œbricking"!

2. Hand-held firmware through SSH (power-user):

  • ๐Ÿง Download the firmware from the official website (for example, miwifi.com).
  • ๐Ÿ”Œ Connect to the router on SSH (Login: root, password: the admin password of your router).
  • ๐Ÿ“ค Download the firmware with the command:
scp firmware.bin root@192.168.31.1:/tmp


ssh root@192.168.31.1




cd /tmp




sysupgrade -v firmware.bin

3. Recovery after a failure (if the router does not load):

  • ๐Ÿ”ง If the router doesnโ€™t turn on or flashes red after a failed update, try emergency mode:
  • ๐Ÿ”Œ Turn off the power, press the Reset button (10 seconds), without letting go, connect the power.
  • ๐Ÿ–ฅ๏ธ Connect by cable to the PC, assign a network adapter IP 192.168.1.2.
  • ๐Ÿ“ฅ Download the firmware through TFTP (use the utility tftp32 atftp).
SituationReason.Decision
The router doesn't turn on, flashes redFailed firmware updateEmergency firmware through TFTP
No access to the web interfaceResetting or IP conflictReset the settings with the Reset button (10 seconds)
Slow Wi-Fi after the updateNon-optimal default settingsManually select the channel and bandwidth

โš ๏ธ Note: Firmware from third-party developers (e.g. Padavan) can block access to Xiaomi cloud services such as Mi Home or Mi Cloud. If you want to integrate with the Xiaomi ecosystem, use only official firmware.

7.Setting up parental controls and access restrictions

If you have children on your network or want to restrict access to certain sites (such as social networks during business hours), Mi Router 4A It provides basic parental controls. Let's look at how to set them up.

Time limit:

  • โฐ Go to Advanced. โ†’ Parental Control โ†’ Time Limits.
  • ๐Ÿ‘ค Add the device to the MAC-address (you can find it in the connection properties on the target device).
  • โฑ๏ธ Specify the days and hours when Internet access will be blocked (for example, from 23:00 to 7:00).

Blocking sites:

  • ๐Ÿšซ In the Advanced menu โ†’ Security โ†’ Website Filter add domains (e.g. vk.com, tiktok.com).
  • ๐Ÿ” You can block both keywords (for example, โ€œtorrentโ€) and specific ones. URL.

Restricted guest network:

  • ๐Ÿ“ถ Create a Guest Network menu and set a speed limit (e.g. 5 Mbps).
  • ๐Ÿ”’ On the guest network, devices will not be able to access other devices on your local network (such as network drives).

Notifications of new devices:

  • ๐Ÿ”” Enable the New Device Notification option in the Advanced menu โ†’ System to receive notifications when a new device connects to your network.

Parental Control Limitations on Mi Router 4A:

  • โŒ No way to block apps (only websites).
  • โŒ No log of pages visited.
  • โŒ Time limits only apply to devices connected over Wi-Fi (not cable connections).

For more flexible controls, consider installing an alternative firmware (like Padavan) or using third-party solutions like OpenDNS FamilyShield (set up). DNS-servers 208.67.222.123 and 208.67.220.123).

8. Solving Typical Problems With Xiaomi Mi Router 4A

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

1.The router is often rebooted:

  • ๐Ÿ”Œ Check the power supply โ€“ only use the original adapter 12V/1A.
  • ๐ŸŒก๏ธ Overheating: Put the router in a ventilated place (not in a closed cabinet!).
  • ๐Ÿ”„ Disable QoS and Bandwidth Control โ€“ They Can Overload the CPU.

2. Low speed over Wi-Fi:

  • ๐Ÿ“ถ Check if the channel is overloaded (use WiFi Analyzer to select free channel).
  • ๐Ÿ”„ Reduce the channel width for 2.4 GHz to 20 MHz (instead of 40 MHz).
  • ๐Ÿ“ก If the speed drops by 5GHz, try turning it off. 802.11ac (Just leave it. 802.11n).

3.The internet is not working, but there is Wi-Fi:

  • ๐Ÿ”Œ Check if the indicator is on. WAN (If not, a problem with the cable or the provider).
  • ๐Ÿ”„ Reconnect the cable to the port WAN (Sometimes changing the port helps).
  • ๐Ÿ“ž Call the provider โ€“ it may be the problem on their side (for example, blocking the service). MAC-address).

4. Web interface does not open (192.168.31.1):

  • ๐Ÿ–ฅ๏ธ Check what your PC is getting. IP-Router address (should be in range) 192.168.31.x).
  • ๐Ÿ”„ Drop it.