How to connect a Xiaomi 4A router via a computer: the full guide

Setting up your home Internet is a challenge that comes with the latest hardware. Xiaomi Mi Router 4A is well-deservedly popular for its availability and stable operation across two frequency bands. However, the initial installation of the device often raises questions for those who are used to simpler interfaces or are first to encounter the Chinese smart home ecosystem.

Connecting a router via a Windows or macOS computer is the most reliable way to initial configuration. Unlike quick setup via a mobile application, using a wired connection to a PC allows you to control each step of the process, assign static IP-In this guide, we will look at all the steps, from the physical connection of cables to fine-tuning the wireless network.

Preparatory phase and physical connection

Before you start the software part, you need to organize the physical connection scheme correctly. Xiaomi 4A router has several ports that are easy to confuse a beginner. On the back of the device you will find a blue port marked as WAN and two yellow ports designated as LAN. It is in the blue port that you need to connect the cable coming from your ISP.

To connect to your computer, you'll need a second network cable, which is usually bundled with your device, and one end of this cable connects to any of the yellow LAN ports, and the other end to the network card of your desktop computer or laptop, and it's important to make sure that the port indicators catch fire or flash, which indicates that there's physical contact.

⚠️ Note: Do not connect the provider's cable to the yellow port LAN. This is a common mistake, because of which the router will not be able to access the WAN, and the Internet will not work.

After switching the cables, you need to apply power to the device. Use the original power supply with the parameters indicated on the sticker at the bottom of the router (usually 12V/1A). The indicator on the front should light up in orange or blue, depending on the boot status of the system. If orange is on, the initialization process is underway, blue indicates full readiness for operation.

Configuring the computer network interface

To successfully communicate with the router’s web interface, your computer’s network card must be on the same subnet. By default, the Xiaomi Mi Router 4A gives out addresses automatically via the DHCP protocol. However, if automatic address receipt does not work, you will have to manually prescribe the parameters.

Check your current settings by opening the network control panel in your operating system. You need to find an active Ethernet connection and properties. IP version 4 (TCP/IPv4) Make sure that the checkmarks are on automatic receipt. IP-addresses DNS-If you prefer manual configuration, use the address. 192.168.31.X masked 255.255.255.0.

πŸ“Š Which method of connection do you prefer?
Automatically (DHCP)
Manual (Static IP)
Wi-Fi right away.
I don't care.

To check if the computer sees the router, you can use the command line: press the Win + R key combination, enter cmd and press Enter. In the window that opens, enter the command ping 192.168.31.1. If you received a response from the device with a response time of less than 1 ms, then the physical connection is installed correctly and you can proceed to the next step.

Log in to the router's web interface

Open any modern browser (Chrome, Firefox, Edge) on the connected computer. IP-The default gateway address. For Xiaomi devices, it's most commonly 192.168.31.1 or the domain name miwifi.com.

If you see a welcome page with the Mi logo, you're accessed. The interface can be in English or Chinese, depending on the firmware version. The English interface is marked as Global Version, the Chinese interface is marked as CN Version. The Chinese version may require a browser translator, since the menu is entirely in characters.

The system will prompt you to agree to the terms of the user agreement. Find the Agree or Start button (sometimes highlighted in blue), then the router will conduct an initial diagnosis and determine the type of Internet connection. At this stage, you may need to create a Mi Account if you want to use cloud features, but this is not always necessary for basic configuration.

What happens if the page 192.168.31.1 does not open?
If the browser says "Can't access the site," check if you're using a VPN or proxy server. Also try to clear the browser cache or open the tab in incognito mode. Sometimes it helps to temporarily disable the antivirus or firewall, which can block local traffic. Make sure that you enter IP in the address bar, not a search query to Google or Yandex.

Selecting the type of connection and setting up WAN

The most important step in setting up is choosing the right protocol for connecting to the provider. The router offers several options, and the choice depends on the terms of your contract with the Internet company. The wrong choice will lead to no access to the global network, even if Wi-Fi is running locally.

Let’s look at the types of connections you might encounter:

  • 🌐 PPPoE is the most common option for home users, requiring the username and password provided by the provider.
  • πŸ”Œ Dynamic IP (DHCP) β€” Automatic settings. Often used on private networks or when connecting to another router.
  • πŸ“Ÿ Static IP β€” requires manual input IP-addresses, subnet masks, gateways and DNS. Used less frequently, usually for dedicated lines.
  • πŸ” L2TP / PPTP β€” outdated protocols with tunneling, require the indication of the server, login and password.

If you have chosen PPPoE, enter the contract data in the appropriate fields. Pay attention to the letter register and no unnecessary spaces. For static IP, enter all parameters exactly as specified in the technical documentation of the provider. After filling in the fields, click Connect or Next.

The router will try to establish a connection. If all the data is correct, the status indicator will change to green or blue, and a message will appear about the successful connection, otherwise the system will give an error, and you will have to double-check the entered data or contact the provider's technical support.

β˜‘οΈ Verification of parameters WAN

Done: 0 / 4

Configuration of Wi-Fi wireless network

Once the Internet is set up, you need to secure your wireless network. Xiaomi Router 4A supports two bands: 2.4 GHz and 5 GHz. You can combine them under one name (Dual-Band function) or create two separate networks with different names.

In the Wi-Fi settings section, set the network name (SSID). Use the Latin name to avoid problems connecting older devices. Select a complex combination of characters at least 8 characters long for a password. WPA2-PSK or WPA3 encryption is recommended, as they provide maximum protection against hacking.

ParameterRecommended valueDescription
SSID (Name)Home_WiFi_5GThe unique name of your network
SecurityWPA2-PSKData encryption protocol
Password.Complicated (8+ characters)Network access key
Channel (2.4 GHz)1, 6 or 11Least-loaded channel

In apartment buildings, the 2.4GHz band is often overloaded. Use the built-in analyzer (if there is one in the interface) or third-party apps on your smartphone to find a free channel, and lock it manually to avoid automatic switching.

Update of firmware and additional settings

Immediately after initial setup, the system may suggest software updates. Firmware is the router's operating system, and its current version is critical to security and stability. Updates often contain patches for vulnerabilities and speed improvements.

The update process takes a few minutes. At this time, the router will restart and the Internet will temporarily disappear. Do not turn off the power of the device during the update, as this can lead to irreversible damage to the software ("bricking"). If automatic updates are not offered, check the Settings β†’ Status β†’ Upgrade section manually.

⚠️ Note: If you are using the Chinese version of the router with Chinese firmware, the update can only be available if you select the "China" region. In some cases, the update may translate the interface into English, but sometimes the settings may reset.

In additional settings, it is recommended to change the administrator password. By default, access to the control panel can be opened or have a standard password, which is a security hole. Find the Administration or System partition and set a strong password to log into the router settings.

πŸ’‘

Take a photo of the sticker on the bottom of the router before installing it, and it shows the factory Wi-Fi password (if you haven't changed it) and MAC-address that may be needed to link the device to the provider.

Diagnostics and Solving Typical Problems

Even with the right setup, there can be situations when the internet is down or the speed is lower than expected. First of all, check the indicators on the case. A flashing blue indicator usually means normal operation, a flashing orange indicates a download process or an error, and a permanent orange indicates no connection to the WAN.

If your computer sees a router but there is no internet, try cloning. MAC-Some providers link the service to a specific network hardware. MAC Address Clone and copy the address of the network card of the computer that previously ran the Internet without a router.

If you lose access to the web interface completely, you can reset to factory settings. There's a small Reset hole on the back. Press it with a paper clip and hold it for about 5-10 seconds until the indicator blinks, and that brings all the parameters back to their original settings, including passwords.

πŸ’‘

Cloning MAC-Addresses are the fastest solution if the Internet appeared immediately after connecting the cable, but does not work after setting up the router.

FAQ: Frequently Asked Questions

How to reset the Xiaomi 4A router to factory settings?
Find the Reset hole on the back. When power is on, press the inside with a paper clip and hold it for 5-10 seconds until the light starts flashing.
What? IP-Default address for Xiaomi Router 4A?
The standard address for entering settings is 192.168.31.1. You can also try the domain miwifi.com. If the address has been changed earlier, you can find out the current one through the ipconfig command ("Primary Gateway") in the Windows command line.
Why does the router not distribute the Internet, even though the blue indicator is on?
Check the settings. WAN It may be that the PPPoE username and password have been lost, or that the provider requires that you link to the user interface. MAC-Also make sure the ISP cable is in good working order and is inserted into the blue port.
Can I use this router as a repeater?
Yes, there's Repeater mode in Wi-Fi settings, which connects to an existing Wi-Fi network and extends its coverage, but the speed in Repeater mode can be slower than when you connect directly.
Where to download the official firmware if the auto-update does not work?
The official firmware files can be found on miwifi.com in the download section. You will need to determine the exact device model and hardware version (specified on the sticker) to download the compatible file and manually update the router via the web interface.