Step-by-step setting up the Xiaomi Router 4 router: from connection to thin network parameters

Xiaomi Router 4 is a popular home networking solution for balancing price, performance and functionality. However, even a simple device requires the right setup to unlock the full potential, from stable Wi-Fi to protection from external threats.

Unlike budget counterparts, Xiaomi Router 4 supports dual-band Wi-Fi (2.4 GHz and 5 GHz), has four gigabit ports. LAN It's managed through the handy mobile application Mi Wi-Fi, but without a good configuration, even these benefits may not be needed. We'll look at not only the basic steps, but also the hidden settings that are often left out in standard manuals.

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

Before you connect the Xiaomi Router 4 to the network, make sure you have everything you need.

Mandatory conditions:

  • ๐Ÿ“ถ Internet Service Provider: Specify the type of connection (PPPoE, Dynamic Connection) IP, static IP) โ€” This information can be found in the contract or specified in the support service.
  • ๐Ÿ“ฑ Smartphone or PC: to set up via the Mi Wi-Fi app (Android/iOS) or web interface (any browser).
  • ๐Ÿ”Œ Ethernet Cable: Usually included, but if not, prepare a patch cord RJ-45 connect to the provider.
  • โšก Power source: router runs from the network 12V/1The adapter must meet these parameters.

If you are replacing an old router, donโ€™t disconnect it from the network beforehand โ€“ write down the current PPPoE settings (logins/passwords) or settings first. IP, Also check if your plan supports dual-band Wi-Fi: some providers limit speeds to 5 GHz.

โš ๏ธ Note: If your provider uses a binding MAC-Cloning the router before replacing it MAC Old device in the settings of the new (optional) MAC Clone in the web interface, otherwise the Internet may not work.

๐Ÿ“Š How do you usually set up routers?
Through the mobile app
Through the web interface on the PC
I'm calling the provider.
I don't set up myself.

First connection and entrance to the control panel

The initial setup process for Xiaomi Router 4 takes no more than 10 minutes, if you follow a clear algorithm, and letโ€™s consider both options โ€“ through the application and through the browser.

Method 1: Configure via the Mi Wi-Fi app

This is the easiest method for beginners:

  1. Download the Mi Wi-Fi app from Google Play or the App Store.
  2. Connect the router to power and wait until the indicator on the front panel starts flashing orange (connection waiting mode).
  3. Launch the application and select Add Device โ†’ Router.
  4. Follow the instructions on the screen: the application will automatically find the router and prompt you to enter data from the provider.

Method 2: Web interface (for experienced users)

If you prefer manual control:

  1. Connect the router to the PC/laptop via Ethernet cable (ports) LAN1-LAN4).
  2. Open your browser and type in the address bar 192.168.31.1 or miwifi.com.
  3. Enter a standard login/password: admin/admin (If it doesnโ€™t work, look at the sticker on the bottom of the router).
  4. Choose the interface language and follow the quick setup wizard.

Once you have successfully logged in, the system will offer to update the firmware โ€” donโ€™t refuse, as the latest versions fix vulnerabilities and improve stability. However, if you have a slow connection, it is better to download the firmware in advance from the official Xiaomi website and download it manually through the Software Update section.

Connected cable from provider to port WAN (blue-jack)|

The router is connected to the network and the indicator flashes orange|

On the smartphone/PC disabled VPN proxy|

Data ready for connection (login / password from the provider)|

Downloaded Mi Wi-Fi application or open browser-->

Basic settings: Wi-Fi, password and security

By default, the router creates two Wi-Fi networks: Xiaomi_XXXX_2.4G and Xiaomi_XXXX_5G, where XXXX โ€” last-minute MAC-Both networks are protected by a standard password on the device sticker, which should be changed first.

How to Change Wi-Fi Name and Password

Go to the Wi-Fi section โ†’ Wi-Fi settings and:

  • ๐Ÿ”„ Name of the network (SSID): Give a unique name for each range (e.g, MyHome_2.4 and MyHome_5). Avoid Cyrillic and gaps.
  • ๐Ÿ”’ Password: Use a combination of 12+ symbols with numbers, capital letters and special symbols (for example, K7#pL9!mQ2$v).
  • ๐Ÿ›ก๏ธ Type of security: Select WPA2-PSK (The most reliable option for home networks).
  • ๐Ÿ“ถ Channel width: for 2.4 GHz, leave 20 MHz (best compatibility), for 5 GHz, 80 MHz (maximum speed).

Once you save your settings, all devices will be disconnected from Wi-Fi, and you will have to reconnect them with a new password. If you use Xiaomi smart devices (lamps, sensors), temporarily leave the old network active so you do not lose connection with them.

Setting up the guest network

The guest network isolates the connected devices from your main LAN, which is useful for security, to activate it:

  1. Go to Wi-Fi. โ†’ Guest network.
  2. Enable the option and set a separate name/password.
  3. Limit speeds (e.g., to 50 Mbps) so guests donโ€™t occupy the entire channel.
  4. Set an automatic shutdown timer (for example, after 6 hours).

โš ๏ธ Attention: The guest network has defaulted to disable local resources (printers, network drives). If you want to allow guest printing, turn on the option to access the local network in the guest network settings.

๐Ÿ’ก

If you have frequent guests, create a QR-code for the guest network in the router's settings and print it out.

Advanced settings: Optimization of speed and stability

Even after a basic configuration, the network may not work perfectly: slow speeds of 5 GHz, connection breaks or lag in online games, problems often solved by fine-tuning parameters.

Choice of Wi-Fi channel

By default, the router selects the channel automatically, but in apartment buildings, this leads to interference.

  1. Install Wi-Fi Analyzer (Android) or NetSpot on your smartphone (iOS/macOS).
  2. Scan the ether and determine the least loaded channels for 2.4 GHz (optimally: 1, 6 or 11) and 5 GHz (for example, 36, 44, 149).
  3. In the routerโ€™s web interface, go to Wi-Fi โ†’ Additional settings and manually set selected channels.

For 5 GHz, you can also include DFS (Dynamic Frequency Selection: This will allow for the use of channels that are normally reserved for radar, but keep in mind that when radar is detected, the router will automatically change channel, which can cause a short-term connection break.

QoS (Quality of Service)

QoS allows you to prioritize traffic for critical tasks (such as video calls or games). In the Xiaomi Router 4, this feature is called Bandwidth Management:

  • ๐ŸŽฎ For gamers: add the device to the priority MAC-Address or select the type of traffic of the Game.
  • ๐Ÿ“น For streaming: prioritize services like YouTube, Netflix or Twitch.
  • ๐Ÿ“ž For calls: allocate the maximum bandwidth for VoIP (Skype, Zoom, WhatsApp calls).

Limit the speed for background traffic (such as torrents or updates) to 10 Mbps so it doesnโ€™t interfere with basic tasks. Set up a QoS schedule if you need top speed during the day and save resources at night.

ParameterRecommended valueExplanation
MTU1480Optimal for most providers. If you have connection issues, try 1472.
DNS1.1.1.1 / 8.8.8.8Fast and reliable. DNS Cloudflare and Google. Replace the standard ones. DNS provider.
Beacon Interval100 ms.Reducing the value accelerates device reconnection, but increases the load on the network.
DTIM Interval3Low value improves responsiveness, but reduces battery life on connected devices.

๐Ÿ’ก

If, after the channel changes, or MTU The Internet is gone, so you can go back to the factory settings and try the other values.

Update firmware and reset settings

Regular firmware updates are critical for security and stability. Xiaomi Router 4 supports two ways to update: via a web interface and manually through a file.

Automatic update

The simplest method is:

  1. Go to Software Update in the web interface.
  2. Click Check for updates.
  3. If a new version is available, confirm installation. The router will restart automatically.

The update takes 3-5 minutes. Do not turn off power at this point - this can lead to "bricking" of the device (loss of performance). If the process is suspended during the "Load..." stage, wait 10 minutes, then restart the router with the Reset button (hold 5 seconds).

Manual update

If the automatic update does not work:

  1. Download the latest firmware from the official website (select the Xiaomi Router 4 model).
  2. Unpack the archive and rename the file to miwifi.bin.
  3. In the web interface go to the Software Update โ†’ Manual download and select the file.

โš ๏ธ Attention: Firmware for Xiaomi Router 4C or Xiaomi Router 4A Installation of the wrong firmware will cause a breakdown.

What if the router does not turn on after the update?
If the indicator does not burn or flashes red, try: 1. Turn off power for 30 seconds, then turn on again. 2. Reset settings with the Reset button (hold 10 seconds). 3. Repeat firmware manually through emergency mode (requires to reset). TFTP-If nothing helps, contact the service center with a check for the purchase.

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 (10-15 seconds) until the indicator flashes yellow quickly.
  2. Release the button โ€“ the router will restart and return to factory parameters.
  3. Connect to the network. Xiaomi_XXXX (password on the sticker) and reset the setting.

After reset, all user settings (including backups) will be lost. โ†’ Backup, restore it after resetting.

Set up parental controls and restrictions

Xiaomi Router 4 allows you to manage your internet access flexibly for individual devices, which is useful if you want to limit your childrenโ€™s online time or block access to certain websites.

Time limit

To set an access schedule:

  1. Go to Parental Control. โ†’ Device management.
  2. Select the device from the list (or manually add the MAC-address).
  3. Set up a schedule: for example, ban the Internet from 22:00 to 7:00 on weekdays.
  4. Save the settings โ€“ the restrictions will come into effect immediately.

You can create multiple profiles with different rules (for example, for a child and guests), and the option of Internet pause is available - temporary blocking of access for 1-24 hours.

Blocking sites

To prevent access to certain resources:

  1. In the Parental Controls section, select the Blacklist.
  2. Add in. URL Keywords (e.g. vk.com, torrent).
  3. Apply the rules to all devices or to specific devices MAC-address.

Some users use the blocking to bypass the lock. VPN. To prevent this, blacklist ports 1194 (OpenVPN, 1723) in the Firewall (PPTP) and 500 (IPSec).

๐Ÿ’ก

If your child often tries to circumvent restrictions, turn on notifications about attempts to access blocked sites, to do this, activate the Alert by email option in the parental control settings and enter your email.

Connecting to Xiaomiโ€™s Smart Home

Xiaomi Router 4 integrates with the Mi Home ecosystem, allowing you to manage smart devices over a single network.

  1. Install the Mi Home app and log in.
  2. Add a router to the app via Devices โ†’ Add โ†’ Router.
  3. In the router settings, activate the option Smart Home Mode (Section Additional).

Once connected, all Xiaomi devices (lamps, sensors, cameras) will automatically connect to the router on an isolated network for IoT devices, which increases security, since smart gadgets do not have access to your personal data.

Configuring automatic scripts

Example of a useful scenario:

  • ๐Ÿ’ก Smart lighting: Yeelight lamps turn on when motion is detected (Xiaomi Motion Sensor).
  • ๐Ÿ”Œ Energy saving: Mi Smart Plug socket turns off chargers at night.
  • ๐Ÿšช Security: Xiaomi Camera sends a notification when the door is opened (sensor) Door/Window Sensor).

For stable operation of a smart home, turn off the energy-saving Wi-Fi mode in the router settings (Wi-Fi). โ†’ Additionally. โ†’ Energy saving regime โ†’ It is also recommended to fix MAC-addresses of smart devices in the section DHCP โ†’ Reserving addresses so they always get the same IP.

Troubleshooting: Frequent Problems and Solutions

Even after you've set it up properly, you can have failures, and let's look at typical situations and how to deal with them.

No Internet connection.

If the router is giving away Wi-Fi, but the internet is not working:

  • ๐Ÿ”Œ Check the cable from the provider โ€“ it must be connected to the blue port WAN.
  • ๐Ÿ”„ Restart the router and modem provider (if any).
  • ๐Ÿ“ก Make sure that the Internet settings indicate the correct type of connection (PPPoE, dynamic). IP etc.).
  • ๐Ÿ“ž Call the provider โ€“ maybe the problem is on their side (e.g., scheduled work).

Slow Wi-Fi

If the speed is lower than expected:

  • ๐Ÿ“ถ Check the channel load with Wi-Fi Analyzer and change the channel manually.
  • ๐Ÿ“ฑ Disable the extra devices โ€“ every gadget on the network consumes a part of the bandwidth.
  • ๐Ÿ”„ Update the router firmware and Wi-Fi adapter drivers on your PC/laptop.
  • ๐Ÿ›ก๏ธ Turn it off. VPN Proxies or Proxies โ€“ They can limit speed.

If the problem is only 5GHz, try reducing the channel width to 40 MHz โ€“ this will reduce the top speed but improve stability over longer distances.

Router often reboots

Causes and solutions:

  • โšก Unstable Power: Connect the router via an Uninterruptible Power Supply (UPS).
  • ๐Ÿ”ฅ Overheating: Make sure the vents are not closed and the router is in a ventilated place.
  • ๐Ÿ› ๏ธ Firmware failure: perform reset to factory settings and update the software.
  • ๐Ÿ“ก Interference from other devices: move the router away from microwaves, wireless phones and Bluetooth speakers.

๐Ÿ’ก

If the router reboots strictly once a day, check the Automatic Reboot settings in System.

FAQ: Answers to Frequent Questions

Can you use the Xiaomi Router 4 as a signal repeater?
Yeah, but only in mode. WDS (Wireless Distribution System. To do this: Go to Wi-Fi โ†’ Bridge mode (WDS). Select the main network you want to connect to. Enter the password from the main network. WDS Wi-Fi speeds will decrease by 30-50% due to signal relaying.
How to open ports for a game console or torrent client?
Go to Redirection. โ†’ Virtual servers and: Specify an External port (e.g. 8080 for torrents). IP devices (find it in the DHCP โ†’ Customer list. Select the protocol (TCP, UDP Keep the rule. For game consoles (PS4, Xbox may also need to be enabled DMZ for IP-address.
Why are some devices not connected at 5GHz?
Possible reasons: The device does not support 5 GHz (check specs). Router settings have mode enabled 802.11ac only - switch to 802.11a/n/ac Too much distance or obstacles (walls, furniture). 5 GHz is worse at passing through obstacles than 2.4 GHz.
How to set up IPTV Xiaomi Router 4?
For the right job IPTV: Connect the console to the router via cable LAN (port LAN1 usually prioritize IPTV). Go online. โ†’ IPTV and select Bridge mode. Specify VLAN ID (Check with the ISP, usually 4001 or 100. Save settings and restart the router. If the image is "freezing", try disabling QoS or reducing the speed of the router. MTU 1472.
Can I install a third-party firmware (such as OpenWRT) on the Xiaomi Router 4?
Technically, yes, but it is unwarranted and can lead to unstable work.If you decide: Download OpenWRT firmware for Xiaomi Router 4 from the official website. Connect to the router SSH (login: root, password: admin. -r write openwrt.bin firmware After firmware, some functions (e.g., Mi Home management) will stop working.