Xiaomi 4A Gigabit: full router setup for home and office

Xiaomi Router Router 4A Gigabit Edition is one of the most popular home networking solutions, thanks to its combination of gigabit ports, stable firmware and affordable price, but even with such a device, users often face problems: slow Wi-Fi over long distances, incorrect operation. IPTV This article will help you understand all the nuances of the router configuration, from basic Internet connection to fine optimization for online gaming and streaming video.

We won’t be limited to standard instructions out of the box, but here you will find practical tips for choosing Wi-Fi channels, setting up traffic prioritization (QoS), and solutions for specific tasks such as how to connect Xiaomi. 4A Gigabit to providers with a binding MAC-The focus is on security issues, from changing a standard password to setting up parental controls.

If you've just unpacked your router or you want to reconfigure your existing network, this article will be your guide. And for power users, we've prepared a section with advanced settings, including access to the Internet. SSH Alternative Firmware (where possible).

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

Before connecting Xiaomi Router 4A Gigabit to power, follow a few mandatory steps that will save time and prevent common mistakes, such as conflict. IP-Addresses or issues with the provider’s authorization.

First, check the package. The box should have:

  • πŸ“¦ The Xiaomi router itself 4A Gigabit with four LAN-port and port WAN
  • πŸ”Œ Power supply (12V/1A) β€” Use only the original!
  • πŸ“ƒ Short instructions (in Chinese, but with pictograms)
  • πŸ“Ά Two removable antennas (if they are not available, they are fake!)

Second, get the data from the provider.

  • πŸ”‘ Login and password for Internet connection (if PPPoE is used)
  • πŸ“‘ Type of connection: Dynamic IP, Static IP, PPPoE or L2TP
  • πŸ”’ VLAN ID (if required, for example, for IPTV Rostelecom)

⚠️ Note: If your provider uses a binding MAC-address (for example, Beeline or MTS), specify in advance whether to clone MAC-The address of the old device, otherwise the Internet will not work even after the correct setup.

We also recommend:

  • πŸ“± Prepare your smartphone or computer for setup (Wi-Fi must be turned on)
  • πŸ”„ Disable other network devices (repeaters, Mesh-systems) for setup time)
  • ⚑ Make sure the outlet is working – the router is sensitive to voltage surges
πŸ“Š What type of connection does your provider use?
Dynamic IP
PPPoE
Static IP
L2TP/PPTP
I don't know.

Basic configuration through the web interface: step-by-step instructions

After connecting the power and cable from the provider to WAN-The router will automatically create a network Xiaomi_XXXX (where XXXX β€” last-minute MAC-Connect to it from any device and open the browser.

In the address bar, type 192.168.31.1 or miwifi.com. If the page does not open:

  • πŸ”„ Restart the router (reset button on the back panel)
  • πŸ› οΈ Check what is in the computer network settings IP-address is automatically (DHCP)
  • πŸ”Œ Make sure that the provider’s cable is connected to WAN-port, not to LAN

On the welcome screen, select the language (Russian is available in the latest firmware versions) and click "Start settings."

  1. Specify the type of connection (select the one your provider uses)
  2. Enter the login/password (if required) PPPoE/L2TP)
  3. Name the Wi-Fi (SSID) Password (minimum 8 characters, we recommend using it) WPA2-PSK)
  4. Create an administrator account (save this information!)

Once you have set up the router, it will restart. It can take up to 2 minutes -- don't turn off the power! Check your Internet connection by opening any website (e.g. ya.ru).

I connected the provider's cable to WAN-port|

Choose the right type of connection (PPPoE/DHCP)|

I have a strong password for Wi-Fi (not a password). qwerty123!)|

Save the username / password of the router administrator|

Rebooted the router after setting up-->

Optimizing Wi-Fi: Selecting Channel, Power and Standard

By default, Xiaomi 4A Gigabit uses automatic Wi-Fi channel selection, but this is not always optimal - especially in apartment buildings where neighbours' networks create interference:

  1. Go to Settings. β†’ Wi-Fi
  2. Select the 2.4 GHz or 5 GHz range
  3. In the Channel section, disable Auto and select the channel manually.

To choose a free channel, use applications like WiFi Analyzer (Android) or NetSpot (macOS/Windows). Optimal channels for 2.4 GHz in Russia: 1, 6, 11 (They don't overlap. 5 GHz select channels with numbers 36-48 or 149-165 (They're up to the standard. 802.11ac).

Additional recommendations for setting up Wi-Fi:

  • πŸ“Ά Turn it off. WPS Security settings are a vulnerable protocol
  • πŸ”‹ Set the transmission power to 75-100% (depending on the size of the apartment)
  • πŸ”„ Enable Beamforming (under β€œAdvanced”) to focus the signal on devices
  • 🚫 Turn it off. 802.11b In the settings of the standard, it is an outdated protocol that slows down the network.
ParameterRecommended value (2.4 GHz)Recommended value (5 GHz)
Channel width20 MHz (for stability)80 MHz (for speed)
Wi-Fi standard802.11n (turn off 802.11b)802.11ac (or 802.11ax if supported)
Security regimeWPA2-PSK (or WPA3, If all devices support)
DTIM Interval3 (optimum for speed and power balance)

⚠️ Note: If after changing the channel to 5 GHz, some devices (such as old smartphones or smart lamps) stopped connecting, go back to the 2.4 GHz settings. 5 GHz range is not supported by devices older than 2015.

πŸ’‘

If your apartment has many β€œdead zones”, try to place the router closer to the center of the room and raise it to a height. 1-1.5 The antennas must be angled. 45Β° each other for better coverage.

IPTV setting and traffic prioritization (QoS)

If your provider provides IPTV (For example, Rostelecom or MTS, you will need a separate setting to work correctly on the TV. β†’ IPTV and choose:

  • πŸ“Ί Bridge mode – if you have a console with your own Wi-Fi
  • πŸ”Œ IGMP Proxy – for multi-channel broadcasting (recommended)
  • πŸ“‘ VLAN ID β€” specify the value provided by the provider (for example, 4001 for Rostelecom)

To prioritize traffic (for example, to prevent Zoom or online games from being β€œslowed down” by downloads), turn on QoS:

  1. Go to Settings. β†’ QoS
  2. Activate the function and specify the maximum speed of your tariff (for example, 300 Mbps)
  3. Add rules for critical applications (e.g, UDP 3478-3479 for PS4/PS5)

Example of QoS rules for popular services:

ServiceProtocol/PortPriority
YouTube, NetflixTCP 443High-pitched
Zoom, TeamsUDP 3478-3481Maximum
Online games (CS2, Dota 2)UDP 27000-27030Maximum
Torrent, downloadsTCP 6881-6889Low.
How do I check if QoS works?
Open the Settings. β†’ QoS β†’ Statistics: If you have packets in the "Priority Traffic" column and fewer in the "Ordinary Traffic" column, you have the right setup. You can also use the Speedtest service: run the test simultaneously on a PC (with torrent) and a smartphone (with YouTube) – the priority device should show a stable speed.

Guest access and parental control

A guest network allows you to divide the main traffic and restrict access to local resources (such as network drives or printers) to set it up:

  1. Go to Settings. β†’ Guest network
  2. Enable guest access and provide a separate name (SSID) password
  3. Limit speed (e.g. 50 Mbps) and running time (e.g. 9:00 to 22:00)
  4. Check β€œIsolate Guests” – this will prevent devices on the guest network from β€œseeing” each other

For parental control:

  • πŸ‘Ά Go to Settings. β†’ Parental control
  • πŸ•’ Specify the device (by MAC-limit the time of access (for example, 14:00-16:00 school-boy)
  • 🚫 Block unwanted sites by keywords (e.g., β€œvk.com”, β€œtiktok”) or categories (β€œSocial Networks”, β€œGamesΒ»)

⚠️ Attention: Parental Controls on Xiaomi 4A Gigabit only works for Wi-Fi-connected devices (LAN), In this case, set up control at the operating system level (for example, through Screen Time on iPhone or Family Security on Windows).

Important: Guest networking and parental controls are incompatible with some firmware from third-party developers (like Padavan), and if you have custom firmware installed, these features may not work properly or are missing.

Advanced settings: SSH, Alternative firmware and diagnostics

For experienced users Xiaomi 4A Gigabit offers fine-tuning capabilities through SSH and the installation of alternative firmware (for example, Padavan or OpenWRT). However, these actions deprive the warranty and may lead to the failure of the device.

To turn on SSH:

  1. Install the developer firmware (download from the official Xiaomi website)
  2. In the web interface, go to Settings β†’ Additionally. β†’ SSH
  3. Activate access and set the port (22 by default)
  4. Connect via PuTTY (Windows) or Terminal (macOS/Linux) with root and administrator password

Popular teams for diagnosis:

# Viewing Connected Devices


cat /tmp/dhcp.leases




Checking processor loading



top




Speed test between router and provider



speedtest-cli

For the installation of Padavan:

  • πŸ”§ Download the firmware from the official repository (version must correspond to the hardware revision of the router!)
  • πŸ“ Rename the file to miwifi.bin and download through Settings β†’ Update of the PO
  • ⚠️ Wait for completion (5-7 minutes - do not turn off the power supply!

πŸ’‘

Alternative firmware gives access to advanced features (e.g. WireGuard) VPN Or AdGuard Home, but you need to manually configure security.

Solving Typical Problems with Xiaomi 4A Gigabit

Even after you set it up properly, users are faced with typical problems, and here are the most common ways to solve them:

Problem.Possible causeDecision
No Internet accessIncorrect type of connection or MAC-filteringCheck the settings. PPPoE/L2TP. Clone. MAC-Address of the old router in Settings β†’ Network β†’ Cloning MAC
Slow 5GHz Wi-FiNeighborhood interference or weak signalChange channel to 149-165 Reduce the width of the channel to 40 MHz
Router overheatsPoor ventilation or high loadPlace your router vertically, avoid direct sunlight, disable unnecessary services (e.g., disable unnecessary services, FTP-server)
It's not working. IPTVWrong. VLAN ID or Bridge modeCheck the settings in Settings β†’ IPTV. For Rostelecom, use it. VLAN 4001
Frequent connection breaksConflict IP or problems with the providerTurn it on. DHCP-Reservation for critical devices. Update the router's firmware

If the router does not turn on after firmware or reset:

  1. Turn off power for 30 seconds
  2. Press the Reset button and hold it. 10-15 seconds (before the indicator flashes)
  3. Connect to the router via cable and repeat the setup from scratch

To diagnose problems with the Internet, use the command:

ping 8.8.8.8 -t

If packets fail (100% loss), the problem is on the provider's side. DNS (Set 8.8.8.8 or 1.1.1.1 manually).

FAQ: Answers to Frequent Questions

Can I use Xiaomi? 4A Gigabit as a repeater (signal amplifier)?
The official firmware does not support repeater mode, but you can: Connect the router to the main network via cable (LAN-WAN) and off DHCP Install the firmware Padavan, where there is a mode WISP (Wireless ISP) In both cases, performance will be lower than that of specialized repeaters.
How to reset the router to factory settings if you forgot the password?
Press and hold the Reset button on the back. 10-15 And then you start to flash the lights, and when you reset, the Wi-Fi name becomes the flash. Xiaomi_XXXX The administrator password will be reset to the standard (specified on the sticker) All settings, including QoS and IPTV, will be lost
Does the router support IPv6?
Yes, Xiaomi. 4A Gigabit supports IPv6 Native, 6to4 And DS-Lite. To enable: Go to Settings β†’ Network β†’ IPv6 Select the connection type (check with the provider) Specify the prefix and gateway (if required) Check the work IPv6 site test-ipv6.com.
How to limit the speed of individual devices?
In stock firmware, you can't do that. Alternatives: Use QoS to limit traffic types (like torrents) Install Padavan firmware -- there's Bandwidth Limiter on it. MAC-Set up restrictions at the provider level (if the tariff supports the service)
Can I connect a hard drive or flash drive to the router?
Yeah, in USB-port (if it is in your router revision), you can connect the drive to: πŸ–₯️ Network storage (Samba/FTP) 🎡 Media server (DLNA smart TV) πŸ“± Automatic backup from Xiaomi phones To set up go to Settings β†’ USB-The maximum volume of storage supported β€” 2 TB (FAT32/NTFS).