Modern smartphones have become fully-fledged work tools, but sometimes a mobile internet connection is slower or more expensive than a wired connection on a computer. Sharing Wi-Fi from a PC to a phone can be necessary in a variety of situations, from saving data to creating a temporary network for multiple devices. This procedure only seems simple at first glance; in practice, users encounter authentication errors, driver compatibility issues, or sudden connection interruptions.
In this guide, we will look at all the current methods for setting up an access point via a computer - from standard tools Windows 10/11 to alternative solutions for MacOS And LinuxWe'll focus on diagnosing common errors: why your phone won't connect to the network, how to resolve IP address conflicts, and what to do if your upload speed suddenly drops. You'll learn which settings affect connection stability and how to bypass ISP restrictions that block traffic re-uploads.
Important: Sharing methods vary not only depending on the operating system, but also on the type of internet connection on the computer. For example, if your PC receives internet via PPPoE (as in most home networks), the setup will be one, and if through L2TP or a mobile modem—it's completely different. We've covered all current scenarios, including rare cases where standard OS tools fail to work.
1. Preparing your computer for Wi-Fi distribution
Before setting up an access point, make sure your computer is technically capable of sharing the internet. Here are the key requirements:
- 🖥️ Hardware compatibility: The Wi-Fi adapter must support the mode
SoftAP(Software Access Point). Most modern adapters (including those built into laptops) can do this, but older USB dongles (for example, TP-Link TL-WN722N versions 1.x) may not cope. - 🔄 DriversOutdated or faulty drivers are the main cause of errors. This is especially true for chip-based adapters. Ralink or BroadcomUpdate them through
device Manageror from the manufacturer's website. - 🌐 Connection typeThe computer must receive internet via a cable (Ethernet) or another Wi-Fi adapter (if sharing from a laptop). Sharing internet that's already connected via Wi-Fi (in "repeater" mode) is more difficult and requires additional configuration.
- 🔒 Administrator rightsAll actions require elevated privileges. If you're using a work PC with restricted security policies, sharing may be blocked.
Check the current status of the adapter via the command line. Open cmd as administrator and enter:
netsh wlan show drivers
Find the line in the output Hosted network support. If it is indicated there Yes — your adapter is ready for distribution. If No - update the driver or use an external Wi-Fi module.
⚠️ Attention: Some internet providers (especially mobile operators) block the re-distribution of traffic throughNATIf after all the settings the phone connects, but the internet still doesn't work, check the terms of your plan. You may need a VPN or a changeMTU.
2. Method 1: Sharing via Mobile Hotspot (Windows 10/11)
The easiest and most reliable method for most users. Microsoft added this feature in Windows 10 (update Anniversary Update, 2016), and it works more reliably than the command line. The instructions are also relevant for Windows 11.
Open Settings → Network & Internet → Mobile HotspotHere you need:
- In the drop-down menu
Sharing an Internet connectionselect the source connection (usuallyEthernetorWireless network, if you are connected via a different adapter). - Click
Changenext to the fieldsNetwork nameAndNetwork passwordCreate a name (in Latin!) and a password of at least 8 characters. Avoid Cyrillic characters—some phones don't recognize these networks. - Move the slider
Allow use of my internet connectionin positionOn
Done! Now find the new network in the Wi-Fi list on your phone, connect, and enter the password. If the internet doesn't work right away, check:
- 🔌 Is the Ethernet cable connected to the computer (if you are distributing wired internet).
- 📶 Is the phone in sleep mode?
Saving trafficorBackground limitation(on Android). - 🔄 Is Windows Firewall blocking the connection? Temporarily disable it to check.
Make sure Wi-Fi is enabled on your PC|Check that the Ethernet cable is connected (if used)|Disable VPN on your phone and PC|Restart your router (if you are using it for internet)-->
If in the section Mobile hotspot an error appears Failed to set up mobile hotspot, try:
- Open
device Manager, find your Wi-Fi adapter, go to itsProperties → Power Managementand uncheckAllow the computer to turn off this device to save power. - Execute in
cmd(from admin) command:netsh winsock resetthen restart your PC.
3. Method 2: Command Prompt (Universal Method for Windows)
If Mobile hotspot If this doesn't work or you need advanced settings (such as selecting a Wi-Fi channel), use the command prompt. This method works on all versions of Windows, starting with Vista.
Open cmd as administrator and enter the following commands sequentially:
netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=12345678
netsh wlan start hostednetwork
Where:
MyWiFi— the name of your network (replace with your own, without spaces).12345678— password (minimum 8 characters).
After executing the second command, the following message should appear: The hosted network is launchedNow you need to enable internet sharing:
- Open
Control Panel → Network and Internet → Network and Sharing Center. - Click on the active connection (for example,
Ethernet), thenProperties → Access. - Check the box
Allow other network users to share your Internet connection. - In the drop-down menu, select the new connection - it will be called
Local Area Connection* X(where X is a number).
If the Internet doesn't work after connecting your phone, check your settings. IPv4:
- In the same window
Propertiesselect connectionsInternet Protocol version 4 (TCP/IPv4). - Check the box
Use the following IP addressand enter:- IP address:
192.168.137.1 - Subnet mask:
255.255.255.0
- IP address:
What should I do if the start hostednetwork command returns an error?
Error Failed to start hosted network This usually means a driver problem. Try:
1. Update the Wi-Fi adapter driver manually (download from the manufacturer's website, not via Windows Update).
2. Roll back the driver to the previous version (in Device Manager).
3. Install the driver in compatibility mode with Windows 8 (via installer properties).
4. If you are using a USB adapter, try connecting it to a different port (preferably USB 2.0).
⚠️ Attention: After restarting the computer, the hosted network is disconnected. To avoid entering the commandstart hostednetworkevery time, create.bat-file with this command and add it to startup. Or use the task inTask Schedulerwith a triggerAt startup.
4. Method 3: Distribution from MacOS (for Apple users)
On computers MacBook or iMac Sharing Wi-Fi is even easier than on Windows. Apple has built this feature into the operating system, but it's a bit hidden. You'll need:
- Mac with macOS Sierra or newer.
- Connect to the Internet via Ethernet or another Wi-Fi connection (for example, if your Mac is connected to your router via a cable).
Open System Preferences → SharingIn the left menu, select Public Internet. In the right part of the window:
- In the field
Connection viaselect the source internet (egEthernetorWi-Fi). - In the section
For computers usingcheck the box next to itWi-Fi. - Click
Wi-Fi settingsand configure:- Network Name (
SSID). - Channel (auto or manual, for example,
6for less interference). - Security: Select
WPA2/WPA3 Personal. - Password (at least 8 characters).
- Network Name (
General access and put a check mark to the left of Public Internet. Click Start.On iPhone or AndroidFind a new network on your phone and connect. If the internet doesn't appear:
- 🔌 Check that in
System Preferences → Networkyour primary connection (Ethernet/Wi-Fi) has a green dot and statusConnected. - 🔄 Restart sharing: Uncheck the box
Public Internet, wait 10 seconds and turn it on again. - 📱 Forget the network on your phone and reconnect.
Important note for Mac: if your Mac is connected to the internet via Wi-Fi (for example, to a router) and you try to share your internet connection via the same Wi-Fi, the system will automatically disable sharing after 5 minutes. This is a macOS limitation. To bypass it, connect to the internet via a cable or use a USB modem.
5. Method 4: Distribution from Linux (Ubuntu, Mint, Debian)
In distributions based on Linux Sharing Wi-Fi requires a little more effort, but it is highly configurable. We'll look at the method through nmcli (NetworkManager) - it works in Ubuntu 20.04+, Linux Mint and other popular distributions.
Open Terminal (Ctrl+Alt+T) and execute the commands in order:
sudo nmcli dev wifi hotspot ifname wlp3s0 ssid MyLinuxWiFi password "12345678"
Where:
wlp3s0— the name of your Wi-Fi adapter (you can find it out using the commandip aoriwconfig).MyLinuxWiFi— network name.12345678- password.
If the command runs without errors, the access point is now operational. Now you need to enable sharing:
sudo sysctl -w net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Where eth0 — your primary network connection (Ethernet). You can find its name with the command ip route (look for the line with default via).
To keep your settings after reboot, set iptables-persistent:
sudo apt install iptables-persistent
sudo netfilter-persistent save
sudo nmcli dev wifi hotspot ifname wlp3s0 ssid MyLinuxWiFi password "12345678" band a channel 36
Where band a - 5 GHz range, and channel 36 — a specific channel. For 2.4 GHz, use band bg and channels 1-11.-->
⚠️ Attention: In some distributions (for example, Arch Linux) instead ofNetworkManageris usednetctlorsystemd-networkdThe instructions for them will be different. Check which network manager is used on your system with the commandsystemctl | grep -E 'network|Networ'.
6. Method 5: Third-party programs for distributing Wi-Fi
If standard OS tools don't work or you need advanced features (such as speed limiting for connected devices), use specialized utilities. We've tested three of the most reliable solutions.
| Program | Supported OS | Peculiarities | Price |
|---|---|---|---|
| Connectify Hotspot | Windows 7–11 | Support WPA3, traffic limitation, ad blocking, repeater mode |
Free (with limitations), Pro - $35 |
| Virtual Router Plus | Windows 7–10 | Simple interface, but hasn't been updated since 2016. May not work on newer adapters. | For free |
| mHotspot | Windows 7–11 | Displays connected devices, can be changed SSID without restarting |
For free |
| Baidu WiFi Hotspot | Windows, MacOS | Support for Cyrillic network names, built-in speed test | For free |
Let's look at the setup using an example Connectify Hotspot (the most functional option):
- Download the program from official website and install.
- Launch Connectify on behalf of the administrator.
- In the field
Internet to ShareSelect your primary connection. - In the field
Hotspot Nameenter the network name inPassword- password. - In the section
Advanced SettingsCan:- Change security mode to
WPA3. - Limit speed for connected devices.
- Enable ad blocking (
Ad Blocking).
- Change security mode to
Start Hotspot.Advantages of third-party programs:
- 🔧 More settings (for example, choosing a Wi-Fi channel or 5 GHz band).
- 📊 Traffic usage statistics for connected devices.
- 🛡️ Automatic connection restoration in case of failures.
Flaws:
- 💻 Paid versions often require purchasing a license to access full functionality.
- 🔍 Some utilities (for example, Virtual Router Plus) contain advertising or collect data.
:Standard Windows tools|Connectify Hotspot|mHotspot|Other (I'll write in the comments)|I don't use programs-->
7. Common mistakes and their solutions
Even with proper configuration, Wi-Fi hotspots can be unstable. We've compiled a list of the most common issues and how to fix them.
| Error | Possible cause | Solution |
|---|---|---|
| The phone connects, but the internet doesn't work. |
|
|
Error Failed to start hosted network |
|
|
| Network disappears after sleep/hibernation | Power saving turns off the adapter | IN Device Manager disable the option Allow power off to save power for Wi-Fi adapter. |
| Low upload speed (1-2 Mbps) |
|
|
If your problem is not described in the table, try the general diagnostic steps:
- Restart your computer and phone.
- Forget the network on your phone and reconnect.
- Check if your firewall or antivirus software (e.g. Kaspersky or Avast (often block public access).
- Update your Wi-Fi adapter driver (even if Windows says it's up to date).
8. Security when distributing Wi-Fi from a computer
Sharing your internet connection via your computer creates potential security risks. Here's what to consider:
- 🔐 Password: Always use
WPA2orWPA3(NotWEP(or an open network). The password must be at least 12 characters long and contain a mixture of letters, numbers, and special characters. - 📡 Network visibility: In the access point settings, disable the option
Make the network discoverable(if there is one). It hidesSSID, but does not protect against experienced hackers. - 🛡️ Firewall: Set up rules so that connected devices cannot access your PC's local resources. In Windows, this is done through
Additional firewall settings. - 🔄 Device restrictions: In programs like Connectify You can set a limit on the number of connected devices. This reduces the risk of unauthorized access.
Pay special attention to distribution in public places (for example, cafes or coworking spaces). In this case:
- Use
VPNon your computer to encrypt all traffic. - Disable file and printer sharing in network settings.
- Check the list of connected devices regularly (in Connectify or through
arp -a(in the command line).
If you are distributing the Internet via MacOS, turn on the option Isolate connected users in the sharing settings. This will prevent devices from "seeing" each other on the local network.
⚠️ AttentionSharing internet access from a corporate network or educational institution may violate the organization's security policy. Some companies monitor MAC addresses connected devices and block unauthorized access. Before setting up, check the network usage rules.
FAQ: Frequently Asked Questions
Is it possible to distribute Wi-Fi from a computer if the Internet itself is obtained via Wi-Fi (without a cable)?
Yes, but with some caveats. In Windows, this is called "repeater" mode (Wi-Fi repeater). To do this:
- Your Wi-Fi adapter must support simultaneous operation in both modes.
Station(connection to the router) andAP(distribution). - Use the program Virtual Router Plus or Connectify in mode
Repeater. - Set up different channels for connecting to the router and distributing (for example, channel 1 for incoming and 6 for outgoing signal).
On MacOS And Linux This mode is not supported by default - manual configuration will be required via hostapd And wpa_supplicant.
Why is the internet speed on my phone slower than on my computer?
This is normal, and here's why:
- 📡 Wi-Fi adapter limitations: Most built-in adapters in laptops support a maximum of
150 Mbpsin access point mode (even if according to the specification they are capable of300 Mbpsor more). - 🔄 Double load: The computer receives and distributes data at the same time, which creates delays.
- 📶 InterferenceIf there are many other Wi-Fi networks nearby, your speed will drop. Try changing the channel manually.
- 🔌 USB 2.0: If you are using an external Wi-Fi adapter connected to the port
USB 2.0, maximum speed is limited480 Mbps(in reality - about200 Mbps).
To improve speed:
- Connect your computer to the Internet via cable (if possible).
- Use range
5 GHz(if the adapter and phone support it). - Disable background downloads on your computer (torrents, updates).
How to share internet from a computer to several phones simultaneously?
The number of connected devices depends on:
- 🖥️ Operating system:
- Windows: before
10 devices(limitationDHCP). - MacOS: before
10 devices. - Linux: before
20+ devices(depending on settings)hostapd).
- Windows: before
- 📶 Wi-Fi adapter: cheap adapters can "slow down" after just 3-4 connections.
- 🔌 Internet connection type: If the computer itself receives the Internet via Wi-Fi, the maximum number of connected devices is reduced to 2-3.
To increase the limit:
- Use the program Connectify