Turning a laptop into an access point for distributing the Internet to another computer is easier than it seems. This feature is useful if you do not have a router and only one device is connected to the network. For example, when the Internet comes through USB modem, Ethernet cable or mobile hotspot on a smartphone connected to a laptop.
This article contains proven methods for Windows 10/11, macOS And Linux, including solutions for cases where standard tools do not work. We'll look at settings through the command line, third-party programs, and even options for safe distribution without loss of speed. And at the end there are answers to frequently asked questions and a table comparing methods.
1. Internet distribution via “Mobile hotspot” in Windows
The easiest way is to use the built-in function Mobile hotspot, available in Windows 10/11. It does not require installation of additional software and works stably if the drivers Wi-Fi adapter updated.
To activate the distribution:
- Open
Settings → Network and Internet → Mobile hotspot. - In the field
Internet Connection Sharingselect a source (eg Ethernet or Wi-Fi). - Click
Editto set the network name (SSID) and password (minimum 8 characters). - Toggle the slider
Allow use of my internet connectionto positionOn
If the connected PC does not see the network, check:
- 🔄 Antivirus or firewall — they can block the distribution. Disable them temporarily.
- 📡 Wi-Fi range — in the adapter settings (in
Device Manager) select802.11ninstead of802.11ac, if the devices are not compatible. - 🔌 Power Saving Mode - disable it for the Wi-Fi adapter in
Control Panel → Power Options.
⚠️ Attention: If after activating the hotspot the Internet on the laptop disappears, check whether there is a conflict IP addresses online. Manually set an IP from the range on your PC192.168.137.x(For example,192.168.137.10).
- Windows mobile hotspot
- Command line
- Third party programs
- Via Ethernet cable
2. Distribution via command line (CMD)
If the built-in hotspot does not work or you need advanced settings (for example, change Wi-Fi channel), use command line. This method is universal and works even on older versions of Windows.
Open CMD as administrator and run the commands in order:
netsh wlan set hostednetwork mode=allow ssid="Название_сети" key="Пароль" keyUsage=persistent
netsh wlan start hostednetwork
To enable sharing:
- Open
Control Panel → Network and Sharing Center → Change adapter settings. - Find the connection through which the laptop receives the Internet (for example, Ethernet), right click →
Properties→ tabAccess. - Check the box
Allow other network users to use your Internet connectionand select the created network (LAN connection* X).
To stop distribution, enter:
netsh wlan stop hostednetwork
Make sure that the Wi-Fi adapter supports hostednetwork (check with the command netsh wlan show drivers)
Disable other network management programs (such as Hamachi or Connectify)
Check that the adapter settings are enabled Ad Hoc (if used)
Set a password that is at least 8 characters long (otherwise the network will not be created) -->
⚠️ Attention: After rebooting the laptop, distribution viahostednetworkturns off. To automate the launch, create.bat-file with commands and add it toAutoload.
3. Internet distribution from macOS to PC
On MacBook or iMac You can distribute the Internet through Sharing. This method works to transfer the connection over Wi-Fi, Ethernet or even Thunderbolt.
Instructions:
- Open
System Preferences → Sharing. - From the left menu select
Shared Internet. - In the field
General connectionindicate the source (for example, Wi-Fi or Ethernet). - B
For computers usingmarkWi-Fi(orEthernet, if you connect via cable). - Click
Wi-Fi Settingsand set:- 📛 Network name (For example,
MacHotspot) - 🔒 Channel (recommended
6or11for minimal interference) - 🔑 Password (minimum 8 characters, security type
WPA2/WPA3)
- 📛 Network name (For example,
Sharing in the left menu.If the PC does not connect:
- 🔄 Reboot Wi-Fi adapter on Mac (
System Settings → Network → Wi-Fi → Disable/Enable). - 🛡️ Disable firewall in
System Settings → Security and Safety → Firewall. - 📡 Check that it is not manually registered on the PC static IP — it should be obtained automatically (
DHCP).
If you distribute the Internet from macOS via Ethernet, use crossover cable (crossover) or adapter USB-C → Ethernet, if the ports do not match.
4. Distribution via Ethernet cable (LAN)
If both devices have Ethernet port, you can distribute the Internet via cable - it’s more stable and faster than Wi-Fi. Suitable for Windows, macOS And Linux.
For Windows:
- Connect PC to Laptop network cable (regular patch cord, crossover is not needed for modern adapters).
- On your laptop, open
Control Panel → Network and Sharing Center → Change adapter settings. - Right click on Ethernet connection (internet source) →
Properties→ tabAccess. - Check the box
Allow other network users to use your Internet connectionand selectEthernet(orLocal network connection) in the list.
For Linux (For example, Ubuntu):
sudo nano /etc/sysctl.conf
Uncomment the line:
net.ipv4.ip_forward=1
Then do:
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
Where eth0 — interface with the Internet, eth1 - cable to PC.
| Method | Speed | Difficulty | Suitable for |
|---|---|---|---|
| Mobile hotspot (Windows) | Medium (WiFi dependent) | Low | Fast distribution without settings |
| Command line (CMD) | Average | Average | Advanced settings (channel, network name) |
| Sharing (macOS) | High | Low | Apple devices |
| Ethernet cable | Maximum | Average | Stable connection without loss |
| Third party programs | Depends on software | High | Additional functions (traffic limit, blacklist) |
5. Programs for Internet distribution
If standard methods do not work, use third-party utilities. They offer additional features: speed limit, device blacklist, automatic start.
Popular programs:
- 🖥️ Connectify Hotspot — paid, but with a trial period. Supports
WPA3, traffic monitoring and distribution via 3G/4G modem. - 🌐 mHotspot - free, simple, but with advertising. Powered by Windows 7–11.
- 🔗 Virtual Router Plus - open source, but may conflict with antiviruses.
- 🍎 Internet Sharing (macOS) - a built-in utility, but with restrictions on the number of devices.
Setting example Connectify:
- Download and install the program from official website.
- Select internet source in the field
Internet to Share. - Set network name And password.
- Turn on
Hotspot Nameand activate the distribution with the buttonStart Hotspot.
⚠️ Attention: Free versions of programs (for example, mHotspot) can embed advertising in traffic or collect data about connected devices. Use them only from trusted sources.
How to bypass the device limit in Windows Hotspot?
There is a setting in the Windows registry HostedNetworkMaxClients, which limits connections to 8 devices by default. To increase the limit:
1. Open regedit (Win + R → enter regedit).
2. Follow the path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WlanSvc\Parameters\HostedNetworkSettings.
3. Change the value HostedNetworkMaxClients as needed (for example, 20).
4. Reboot your laptop.
Please note: too many devices may result in drop in speed or connection breaks.
6. Solving problems with Internet distribution
If the PC does not connect or the Internet does not work, check:
1. No Internet access on the connected PC
- 🔌 Make sure your laptop is in
Connection propertiesincludedSharing. - 🌍 Check that the network settings on your PC are set to automatic
IPAndDNS(Get address automatically). - 🔄 Reboot both devices.
2. The network is visible, but does not connect
- 🔑 Check the password is correct (case is important!).
- 📡 Change Wi-Fi channel in the hotspot settings (for example, with
6on11). - 🛡️ Disable VPN or proxy on a laptop.
3. Low speed or breaks
- 📶 Move the laptop closer to the PC or eliminate interference (microwaves, other routers).
- 🔧 Update your driver Wi-Fi adapter on a laptop.
- 📊 Limit the number of connected devices (optimally - no more than 5).
If you distribute the Internet via USB modem, make sure that it is disabled in the modem settings traffic saving mode - it can block shared access.
FAQ: Frequently asked questions
Is it possible to distribute the Internet from a laptop to a PC without a Wi-Fi adapter?
Yes, if both devices have Ethernet port. Connect them with a cable and configure general access through Control panel (see section 4). You can also use USB cable with support RNDIS (for example, to connect Android to PC), but this requires additional drivers.
Why does the Internet disappear on my laptop after distribution?
This happens because of conflict IP addresses or incorrect settings NAT. Solutions:
- Check what's in
Connection propertiesincludedSharingonly for one adapter. - Set a static IP on your PC from the range
192.168.137.x(For example,192.168.137.10). - Update your driver Wi-Fi adapter on a laptop.
How to distribute the Internet from Linux to a Windows PC?
B Ubuntu/Debian use nmcli or create_ap:
sudo apt install create_ap
sudo create_ap wlan0 eth0 Название_сети Пароль
where wlan0 — Wi-Fi adapter, eth0 - Internet source. For Arch Linux install the package create_ap through pacman.
Is it possible to distribute the Internet from a laptop to several PCs at the same time?
Yes, but the number of devices depends on the method:
- Windows mobile hotspot - up to 8 devices (can be increased through the registry).
- Command line — up to 10 (driver limitation).
- Third party programs (For example, Connectify) - up to 20+ (in the paid version).
When connecting more than 5 devices, the speed may drop due to restrictions Wi-Fi adapter.
Is it safe to share the Internet via a laptop?
Yes, if:
- Are you using WPA2/WPA3 (not
WEPor open network). - Disabled
WPSin the adapter settings. - Do not distribute the Internet in public places (risk of connecting third-party devices).
For added protection, enable firewall and turn off File sharing online.