Distribution of the Internet from a computer to a Xiaomi smartphone through USB-cable is a reliable way to get a stable connection when Wi-Fi is unavailable or intermittent, USB-Connection provides minimal packet loss, lower latency and protection from external interference, especially for users who often face Wi-Fi dead zones or mobile traffic restrictions.
However, not everyone knows that the standard connection is USB It does not automatically activate Internet transmission, depending on the version of Windows, the Xiaomi model (for example, Redmi Note 12 or the other version of the device). POCO X5) And network settings may require additional manipulation. In this article, we'll discuss three working methods for setting the distribution, errors (e.g., the "S" and "S" of the network, NDIS-651 error or no driver) and how to fix them, and give recommendations for speed optimization.
Why? USB-Best Wi-Fi for Xiaomi?
At first glance, the distribution of the Internet through USB-The cable may seem less convenient than creating a Wi-Fi hotspot, but it has a number of advantages that are critical for Xiaomi users:
- ๐ Saving battery power: when USB-The smartphone consumes energy from the PC, not from its own battery (unlike the Wi-Fi modem).
- ๐ถ Connection stability: no interference from other devices, walls or distance to the router do not affect signal quality.
- ๐ก๏ธ Security: Data is transmitted over an encrypted channel, unlike open Wi-Fi networks.
- โก Speed: throughput USB 2.0/3.0 (before 480 Mbit/s and 5 Gbps, respectively) exceeds the capabilities of most Wi-Fi networks in urban areas.
Besides, USB-Distribution is indispensable in situations where:
- ๐ข You are in an office with strict restrictions on Wi-Fi access points.
- ๐ Traveling on a train or bus where mobile internet is unstable.
- ๐ฎ Minimum ping is required for online gaming (e.g, PUBG Mobile or Call of Duty: Mobile on Xiaomi).
โ ๏ธ Note: Some Xiaomi models (e.g. Redmi) 9A or POCO M3) default option disabled USB-Tetering in the developer settings. To activate it, you need to pre-enable Developer Mode (7 times press the Version). MIUI in the section About the telephone).
Preparation of the computer and smartphone Xiaomi
Before setting up the distribution of the Internet, you need to follow several preparatory steps, which will help to avoid typical errors, such as the absence of drivers or conflicts of network adapters.
Computer requirements
- ๐ฅ๏ธ Operating system: Windows 7/8/10/11 (MacOS or Linux will require additional settings).
- ๐ USB-port USB 2.0 or higher (preferably) USB 3.0 for maximum speed).
- ๐ Network connection: active Internet connection (Ethernet or Wi-Fi).
- ๐ ๏ธ Drivers: Installed drivers for Xiaomi (usually installed automatically when you first connect).
Requirements for the Xiaomi smartphone
- ๐ฑ Version. MIUI: Current Firmware (recommended) MIUI 12 and above).
- ๐ USB-cable: original or certified cable (cheap analogues may not support data transfer).
- ๐ Unlock: Unlocked bootloader (optional, but may be required for manual setup).
If you are using Windows 11, make sure that the system has disabled the battery saving option for the system. USB-To do this, go to the settings. โ System system โ Food and sleep. โ Additional nutrition parameters โ Power supply circuit setup โ Change the additional power settings and find the Settings section USB.
Method 1: Standard configuration through Windows settings
This is the easiest way to work on most Xiaomi devices without any additional manipulation. 10/11.
Step 1: Connecting your smartphone to your PC
- Connect Xiaomi and your computer with USB-cable.
- On the smartphone in the notification menu, select the connection mode File transfer (MTP) or USB-Tethering (if the option is available).
- Wait for the drivers to install (Windows may notify you of setting up a new network device).
Step 2: Set up Internet Sharing
- On your computer, open the Control Panel โ Network and Internet โ Network and Sharing Control Center.
- In the left menu, select Change the adapter settings.
- Find the connection your PC uses to get internet (like Ethernet or Wi-Fi) and remember its name.
- Right-click on this connection โ Properties โ tab Access.
- Check the box opposite Allow other network users to use the Internet connection of this computer.
- In the drop-down list, select a new network connection called Local Area Connection* or Ethernet 2 (this is a virtual adapter for Xiaomi).
- Press. OK and reboot the network (turn off / turn on the Internet on PC).
If the Internet on Xiaomi did not appear after these actions, check:
- ๐ Correct cable connection (try another port or cable).
- ๐ Internet access on PC (sometimes Windows blocks the distribution when connecting via PC) VPN).
- ๐ ๏ธ Installation of drivers (Device Manager should not have exclamation points next to Android Device).
โ๏ธ Checking before handing out the Internet
Method 2: Manual creation of a virtual adapter (for Windows) 7/8)
On older versions of Windows, the standard method may not work due to lack of support. RNDIS (protocol USB-In this case, you will need to create a virtual adapter manually.
Step 1: Installation of drivers RNDIS
Download the driver. RNDIS for your Xiaomi model from the official Xiaomi website or from a reliable source (e.g., from a reliable source, XDA Install it through Device Manager:
- Connect your smartphone to your PC.
- Open Device Manager (Win + X โ Device Manager).
- Find a device with a yellow exclamation point (usually under Other Devices or Network Adapters).
- Right-click. โ Update the drivers โ Search for drivers on this computer.
- Indicate the path to the downloaded driver RNDIS and complete the installation.
Step 2: Set up a network bridge
If the Internet is not distributed after installing the drivers, create a network bridge:
- Open the Network Control Center โ Change of adapter parameters.
- There are two main connections (e.g. Ethernet) and virtual connections (RNDIS).
- Right-click. โ Bridge setting.
- Wait for the bridge to be built (it can take up to 1 minute).
โ ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 10 Pro) may lose the Internet on your PC when creating a bridge. In this case, turn off the bridge and use the Command Prompt Method 3.
Method 3: Distribution through the command line (universal method)
This method works on all versions of Windows and allows you to bypass the limitations of drivers. Administrator rights will be required.
Step 1: Starting the command line
Open the Command Prompt on behalf of the Administrator:
- Press Win. + X โ Terminal (Administrator) or Command Line (Administrator).
- Enter the command to check network connections: netsh interface show interface Remember the name of the main adapter (for example, Ethernet0) and virtual (e.g., virtual, Ethernet2).
Step 2: Setup of the handout
Follow the following commands in order (replace) Ethernet0 and Ethernet2 topical):
netsh interface ipv4 set interface"Ethernet2" weakhostsend=enabled
netsh interface ipv4 set interface"Ethernet2" weakhostreceive=enabled
netsh interface ipv4 set interface"Ethernet0" sharing=enabled
netsh interface ipv4 add route 192.168.42.0/24"Ethernet0" 192.168.42.129After completing the commands, restart the network adapters:
netsh interface set interface"Ethernet2" disable
netsh interface set interface"Ethernet2" enableStep 3: Checking the connection
On a Xiaomi smartphone:
- Open the Settings. โ SIM-maps and mobile networks โ Access Point and modem.
- Activate the option. USB-modem.
- Check the Internet (open your browser or speed test).
MIUI
MIUI 13
Xiaomi 12
build.prop
Solving typical errors when USB-distribution
Even with the right setup, Xiaomi users may encounter errors, and letโs look at the most common ones and how to fix them.
| Mistake. | Reason. | Decision |
|---|---|---|
| NDIS-error 651 | Network Driver Conflict or Absence RNDIS. | Reinstall drivers through Device Manager or download them from Xiaomiโs website. |
| Device not identified. | Faulty cable or port USB. | Try another cable/port or turn on Debugging USB developer-setting. |
| No Internet access | Blocking with a firewall or antivirus. | Turn off the Windows firewall or add an exception for the network adapter. |
| IP-address not received | Failure DHCP-server. | Set up a static. IP manually (e.g. 192.168.42.100 with 255.255.255.0 mask). |
If after all the manipulations the Internet is not distributed, check:
- ๐ Windows Updates (especially for Windows 10) 20H2 newer).
- ๐ต No restrictions on the part of the mobile operator (some tariffs block tethering).
- ๐ง Correctness of settings NAT (In the command line, run the netsh interface. ipv4 show dynamicportrange tcp).
What to do if the operator is blocking USB-tetering?
Optimization of speed USB-linkage
Windows can limit the data transfer speed by default USB. To maximize the bandwidth:
1. Set up a power supply plan
Go to the Control Panel. โ Power supply โ Setting up a power supply plan โ Change the additional power parameters and install:
- Parameters USB โ Temporary shutdown parameter USB-port โ Forbidden.
- PCI Express โ Power management of the reference state โ Off..
2. Updating of controller drivers USB
Older drivers limit speed to USB 2.0 (480 Mbps) Update them:
- Open Device Manager.
- Deploy the Controllers section USB.
- Update drivers for devices with Intel(R) names) USB 3.0 or AMD USB Controller.
3. Disabling the QoS Restrictions
Windows. 10/11 default-backed 20% It's a bandwidth for system problems:
- Open Local Group Policy Editor (gpedit.msc).
- Go to the computer configuration โ Administrative templates โ Network โ QoS Planner Package.
- Select Limit the reserved bandwidth โ set the value 0.
๐ก
If the speed is still low, try connecting Xiaomi to the port. USB 3.0 (usually marked in blue) Also check if the smartphone overheats - at high temperatures MIUI Automatically limits the performance of the communication module.
FAQ: Frequent questions on USB-handout
โ Can I distribute the Internet from PC to Xiaomi through USB, If there is no Wi-Fi on the computer?
โ Why Xiaomi is not defined as a network device when connected?
โ How to check that the Internet is distributed through USB, Not through mobile data?
โ Does it work? USB-Tetering on Xiaomi with broken firmware (for example, after a failed unlock of the bootloader)?
โ Can I distribute the Internet from MacBook to Xiaomi through USB?
๐ก
USB-Providing the Internet to Xiaomi is the most stable and secure method, but requires the correct setting of drivers and network settings. If the standard methods do not work, use the command line or check the locks from the operator.