Are you connected to the internet via a cable but want to share it with your smartphone, tablet, or second computer via Wi-Fi? With a modern laptop, you can do this without buying a router—the built-in tools are sufficient. Windows, macOS or third-party utilities. In this article, we'll cover all the working methods, from standard functions to advanced settings, and also explain how to avoid common mistakes when sharing your internet.
The main advantage of this approach is saving on additional equipment. However, it's important to consider the nuances: connection speed may decrease with a large number of connected devices, and some providers block distribution via DHCPWe've tested all methods on current OS versions and compiled checklists for quick setup.
If you urgently need to connect your gadget to the network or set up a temporary hotspot, this guide will help you do it in 5-10 minutes. For experienced users, we'll provide commands for manual configuration via command line and compare the performance of different methods.
1. Methods for distributing Wi-Fi from a laptop: comparison of methods
There are five main ways to convert a wired internet connection into a wireless signal. Each is suitable for different scenarios, from a one-time phone connection to setting up a full-fledged home network.
| Method | Complexity | Required software | Max devices | Cons |
|---|---|---|---|---|
| Mobile Hotspot (Windows 10/11) | ⭐ | Built-in settings | 8–10 | Limited number of clients, possible IP conflicts |
| Command line (netsh) | ⭐⭐ | Built-in tools | 10+ | Resets after reboot, requires administrator rights |
| StoicHotspot (macOS) | ⭐ | Built-in settings | 5–7 | Doesn't work on older versions of macOS (<10.13) |
| Third-party programs (Connectify, MyPublicWiFi) | ⭐⭐ | Installing software | 15+ | Ads in free versions, data leaks possible |
| Bridge mode (for advanced users) | ⭐⭐⭐ | Built-in settings | Unlimited | Complex setup, risk of network conflicts |
For most users, the optimal solution will be mobile hotspot in Windows or StoicHotspot on a Mac. These methods don't require installing any additional software and are stable. If you need to connect more than 10 devices or configure complex network settings (e.g., VLAN), it is better to use command line or specialized programs.
⚠️ Please note: Some internet providers (especially corporate or university networks) block Wi-Fi distribution via MAC address bindingIn this case, none of the methods will work—you'll need to get approval from the network administrator.
2. Sharing Wi-Fi via a mobile hotspot (Windows 10/11)
This is the easiest method, requiring no knowledge of commands or software installation. The feature is built into the system and works on most laptops with adapters. Wi-Fi 5 (802.11ac) and later.
Instructions:
- 🖥️ Open
Settings → Network & Internet → Mobile Hotspot. - 🔄 In the field Internet Connection Sharing select your wired connection (usually
Ethernet). - 📶 Click "Change" next to the network name and password to set your parameters (we recommend using
WPA2-PSK). - 🔘 Turn on the switch Internet distribution.
Make sure your Wi-Fi adapter is enabled (press Fn+F2 or go to Network and Sharing Center).
Disable your VPN or proxy—they may be blocking distribution.
Check that your antivirus software is not blocking network connections (for example, Avast or Kaspersky)
Plug your laptop into a power outlet—distributing Wi-Fi increases power consumption.
If devices do not connect after turning on the hotspot, try:
- Restart the laptop.
- Turn it off and on again network adapter V
Device Manager. - Change the Wi-Fi channel manually (via
command lineor programs like NetSpot).
⚠️ Note: In Windows 11 after the update KB5028254 (July 2023) Some users are experiencing an error0x8007139Fwhen turning on the hotspot. The solution is to roll back the Wi-Fi adapter driver to the previous version viadevice Manager.
3. Sharing Wi-Fi via the command line (netsh)
This method gives you more control over network settings, but requires entering commands. It's suitable for Windows 7–11 and allows you to bypass the limitation on the number of connected devices (up to 100+ with proper configuration).
Step-by-step instructions:
- Launch command prompt as administrator (
Win + X → Terminal (Administrator)). - Create a network named
MyWiFiand password12345678(replace with your own):netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=12345678 - Start the distribution:
netsh wlan start hostednetwork - Allow sharing:
netsh wlan set hostednetwork settings=maxclients:15(Where
15— maximum number of devices).
To ensure that the distribution works after a reboot, create .bat-file with these commands and add it to autoloadTo stop the network, use:
netsh wlan stop hostednetwork
How to increase signal range using netsh?
Add the parameter to the network creation command channel=6 (channels 1, 6, 11 have the least overlap with neighboring networks).
Example:
netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=12345678 channel=6
You can also increase the transmission power to maximum (requires adapter support):
netsh wlan set hostednetwork settings=maxpower:100
(meaning 100 — percentage of maximum power).
A critical point: If your laptop is connected to the internet via a PPP connection (for example, PPPoE from Rostelecom), distribution through netsh will not work without additional configuration of the bridge between the adapters.
4. Wi-Fi Sharing on macOS (StoicHotspot and Alternatives)
On a MacBook, the process is a little different. Apple doesn't provide a built-in graphical interface for sharing Wi-Fi, but the feature is implemented through terminal or third-party utilities.
Method 1: Through StoicHotspot (recommended for beginners):
- 📱 Download the utility from official website (free version limited to 3 devices).
- 🔧 Launch the program and select the Internet source (
EthernetorThunderbolt Ethernet). - 🔒 Set a network name and password (minimum 8 characters).
- ☑️ Click "Start Hotspot".
Method 2: Through terminal (for advanced users):
sudo networksetup -setairportpower en1 on
sudo networksetup -createhotspot "Wi-Fi" "MyMacHotspot" "password123" 255.255.255.0 192.168.2.1 192.168.2.100
Where:
en1— the name of your Wi-Fi adapter (check vianetworksetup -listallhardwareports).192.168.2.1— IP address of the host device.192.168.2.100— the beginning of the range for connected devices.
Mobile Hotspot (Windows)
Command line (netsh)
Third-party programs (Connectify, MyPublicWiFi)
Built-in macOS tools
Another option-->
⚠️ Note: On macOS Monterey (12.0+) and newer Apple has limited the functionality of third-party Wi-Fi sharing utilities. If StoicHotspot It doesn't work, try disabling it. Firewall V System Preferences → Security & Privacy.
5. Third-party programs for distributing Wi-Fi
If the built-in tools are not suitable (for example, you need to distribute the Internet to 20+ devices or configure guest network), use specialized software. We tested three popular programs:
| Program | Free version | Max devices | Additional functions | Cons |
|---|---|---|---|---|
| Connectify Hotspot | Yes (up to 5 devices) | Unlimited (Pro) | Traffic filtering, firewall | Ads in the free version, plugins in the installer |
| MyPublicWiFi | Yes (fully functional) | 30 | Connection log, DNS settings | The interface is in English, there is no support for Wi-Fi 6 |
| Baidu WiFi Hotspot | Yes | 10 | Simple interface, 5 GHz support | Chinese software, potential privacy issues |
For installation Connectify Hotspot:
- Download the installer from official website.
- When installing, uncheck additional software (for example, McAfee Safe Connect).
- Launch the program, select the Internet source (
Ethernet) and configure the network settings. - Turn on "Hotspot" and connect the devices.
The advantage of third-party programs is connection stability and advanced settings (such as speed limits for individual devices). However, free versions often contain ads or have limited functionality.
6. Bridge Mode: Advanced settings for experienced users
This method is suitable if you need to combine several networks or distribute the Internet to devices that do not support connecting to a hotspot (for example, some Smart TV or game consoles). The point is to create network bridge between Ethernet and Wi-Fi adapters.
Instructions for Windows:
- Open
Control Panel → Network and Sharing Center → Change adapter settings. - Select
EthernetAndWireless network(pressCtrlfor multiple choice). - RMB → "Bridge Setup".
- After creating the bridge, open the properties
Ethernetand uncheckInternet Protocol version 4 (TCP/IPv4). - Set up your Wi-Fi adapter as an access point (via
netshor mobile hotspot).
Warnings:
- ⚠️ The bridge may conflict with DHCP server provider.
- ⚠️ Some adapters (eg. Realtek RTL8188EE) do not support bridge mode.
- ⚠️ Connection speed may drop by 30-50% due to double routing.
7. Common mistakes and their solutions
Even with proper setup, problems can still arise. We've compiled the most common errors and how to fix them:
| Error | Cause | Solution |
|---|---|---|
"Unable to set up mobile hotspot" (Windows) |
IP conflict or blocking by antivirus | Disable your antivirus, reset the network netsh winsock reset |
| The devices connect, but the internet doesn't work. | Not configured correctly NAT or DNS | Check your sharing settings in Ethernet Properties → Access |
| The Wi-Fi network is not listed as available. | The adapter is disabled or does not support AP-mode |
Update your driver, check the mode support via netsh wlan show drivers |
| Low speed (less than 10 Mbps) | Channel congestion or weak adapter | Change your Wi-Fi channel to 5 GHz and disconnect other devices from the network. |
If none of the methods worked, check:
- 🔌 Physical connection of the Ethernet cable (the indicators on the port should be lit).
- 📡 Compatibility of the Wi-Fi adapter with the mode
SoftAP(checked by the commandnetsh wlan show drivers | find "Hosted network"— it should beYes). - 🛡️ Firewall settings (for Windows:
Control Panel → Firewall → Advanced Settings → Inbound Rules).
8. Security when distributing Wi-Fi from a laptop
Sharing your internet connection from your laptop creates potential vulnerabilities for your network. Follow these guidelines to minimize the risks:
- 🔐 Use WPA2-PSK or WPA3 (Not
WEPor open network). - 🔄 Change your password every 2-3 days if you share internet in public places.
- 🚫 Turn off the hotspot when you don't need it.
- 🛡️ Turn on firewall and check that the ports
80,443are not open to external connections. - 📵 Hide the network SSID (in
netsh:ssid=MyWiFi key=12345678 keyUsage=persistent hidden=yes).
For additional protection:
- Set up MAC address filtering (manually register allowed devices).
- Limit bandwidth for connected gadgets (in programs like Connectify).
- Use VPN on a laptop if you are distributing the Internet in a cafe or hotel.
arp -a (Windows) or nmap -sn 192.168.1.0/24 (macOS/Linux).
Unknown IP addresses in the list may indicate an unauthorized connection.-->
⚠️ Please note: On public networks (universities, airports), sharing Wi-Fi may violate the terms of use. Some providers block such actions through DPI (deep packet inspection).
FAQ: Frequently Asked Questions
Is it possible to share Wi-Fi from a laptop if the Internet is via a USB modem (4G/5G)?
Yes, but with some caveats. In Windows, select the source in your mobile hotspot. Local Area Connection* X (where X is your modem connection number). On macOS, use StoicHotspot with option "Share from: USB Ethernet".
Please note: Speeds will be lower than with a wired connection due to limitations of the USB port and modem.
Why does the hotspot turn off after restarting the laptop?
This is standard Windows behavior. To automate startup:
- Create a file
start_hotspot.batwith the teamnetsh wlan start hostednetwork. - Place it in the folder
Autoload(shell:startupin Explorer).
For macOS, add the launch command to System Settings → General → Login Items.
How to share Wi-Fi if your laptop doesn't have a Wi-Fi adapter?
In this case you will need an external one USB Wi-Fi adapter with mode support SoftAP (For example, TP-Link TL-WN725N or ASUS USB-AC53 Nano). Connect it to your laptop, install the driver and use any of the methods described.
The alternative is to buy portable router (For example, TP-Link TL-WR802N), which connects to Ethernet and distributes Wi-Fi.
Is it possible to share internet connection to Xbox/PlayStation via laptop?
Yes, but it's better to use bridge mode (See Section 6). When connecting via a hotspot, problems may occur with NAT Type (usually defined as Strict), which blocks multiplayer games.
Solution:
- Set up a bridge between Ethernet and Wi-Fi.
- In the manual console settings, specify a static IP (for example,
192.168.1.100). - Open ports for the game in your laptop's firewall.
How many devices can I connect to a hotspot on a laptop?
The technical limit depends on the OS and adapter:
- Windows (mobile hotspot): up to 8 devices.
- Windows (netsh): up to 100 (but in reality only 15–20 work stably).
- macOS: up to 10 (system limit).
- Third-party programs: up to 30–50 (depending on the version).
In practice, the speed will drop after 5–7 connected gadgets due to the limitations of the laptop processor.