Sharing your internet from your laptop turns it into a fully-fledged router—a convenient solution when you don't have a router handy or need to quickly connect a smartphone, tablet, or another computer. This method is especially useful on business trips, at the dacha, or during temporary issues with your primary Wi-Fi. But how do you set up sharing correctly to ensure a stable connection and consistent speeds?
This article provides detailed instructions for Windows 10/11, macOS And Linux, including hidden settings that will help you avoid common mistakes. We'll cover both standard methods (via Mobile hotspot or command line), as well as alternative ones - using third-party utilities like Connectify or mHotspotWe'll also explain why upload speeds sometimes drop and how to fix them.
Before you begin, please check two key conditions: your laptop must be connected to the internet (via cable, USB modem or other Wi-Fi), and network adapter must support the regime Hosted Network (In 99% of cases this is true, but older models may require a driver update).
1. Share Wi-Fi via Mobile Hotspot (Windows 10/11)
The easiest and safest way is the built-in function Mobile hotspotIt works on all laptops with Windows 10 (version 1607 and later) and Windows 11, doesn't require administrator rights to connect devices and automatically configures the firewall. There's only one drawback: the feature can sometimes malfunction with older network card drivers.
To enable distribution:
- 🖥️ Open
Settings → Network & Internet → Mobile Hotspot(or type in Windows search "hot spot»). - 🔄 In the field
Sharing an Internet connectionselect a source (egEthernetorWi-Fi, if the laptop is connected to another network). - 📶 Click
Changenext toNetwork parametersand ask:- Network Name (SSID) - at least 8 characters, without spaces;
- Password - at least 8 characters, with numbers and letters;
- Range -
2.4 GHz(for compatibility with older devices) or5 GHz(for greater speed).
- 🔛 Toggle the slider
Wi-Fi distributionin positionOn.
If the power button is inactive or an error appears Failed to set up mobile hotspot, then the problem lies with the drivers or adapter settings. More details on this in the section about troubleshooting.
☑️ Check before turning on the hotspot
2. Distribution via the command line (universal method for Windows)
If built-in Mobile hotspot doesn't work or you need advanced control (like selecting a Wi-Fi channel), use command lineThis method works even on Windows 7 and allows you to flexibly configure network parameters.
Open Command prompt as administrator (click Win + X → Terminal (administrator)) and execute the commands in order:
netsh wlan set hostednetwork mode=allow ssid="MyWiFi" key="12345678" keyUsage=persistent
netsh wlan start hostednetwork
Where:
MyWiFi— the name of your network (replace with your own);12345678— password (minimum 8 characters).
To share the Internet, you need to enable public access:
- Open
Control Panel → Network and Internet → 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 share your Internet connection. - On the list
Connecting a home networkselect the created network (usuallyLocal Area Connection* X).
Done! Devices can now connect to your network. To disable sharing, follow these steps:
netsh wlan stop hostednetwork
3. Setting up distribution on macOS (including Ventura and Sonoma)
On MacBook Wi-Fi distribution is configured through the function Internet access sharingThe main difference from Windows is that here you can share the Internet not only via Wi-Fi, but also via Bluetooth or even Thunderbolt (if you connect the device with a cable).
Instructions for macOS Ventura/Sonoma:
- Open
System Preferences → Sharing. - In the left menu, select
Internet access sharing. - In the field
General connectionPlease specify the internet source (e.g.EthernetorWi-Fi). - In the section
For computers usingmarkWi-Fi. - Click
Wi-Fi settingsand ask:- Network Name (SSID);
- Channel (recommended)
Auto); - Safety -
WPA2/WPA3 Personal; - Password (minimum 8 characters).
Internet access sharing in the left menu and click Start.On older versions macOS (to Monterey) the path is a little different: System Preferences → Sharing → Internet SharingAlso keep in mind that on Mac You can't connect to Wi-Fi and share it at the same time - only through Ethernet or USB modem.
Why can't I share Wi-Fi on my Mac and connect to another network?
Apple has limited this feature at the software level. If you need to simultaneously receive and broadcast Wi-Fi, use an external USB adapter (e.g., TP-Link TL-WN725N) or customize bridge of networks via Terminal (root rights required).
4. Wi-Fi distribution on Linux (Ubuntu, Debian, Fedora)
IN Linux There's no universal graphical interface for sharing Wi-Fi, but there are flexible command-line tools. The most reliable way is to use hostapd (to create an access point) and dnsmasq (for distributing IP addresses). Below are the instructions for Ubuntu/Debian:
Install the required packages:
sudo apt update
sudo apt install hostapd dnsmasq
Stop the services to adjust the configuration:
sudo systemctl stop hostapd
sudo systemctl stop dnsmasq
Edit the file /etc/hostapd/hostapd.conf (create it if it doesn't exist):
interface=wlan0driver=nl80211
ssid=MyLinuxWiFi
hw_mode=g
channel=6
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
Then set up dnsmasq, having edited /etc/dnsmasq.conf:
interface=wlan0
dhcp-range=192.168.100.100,192.168.100.200,255.255.255.0,24h
Enable packet forwarding:
sudo sysctl -w net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
And finally, start the services:
sudo hostapd /etc/hostapd/hostapd.confsudo dnsmasq
sudo systemctl start hostapd
sudo systemctl start dnsmasq
For Fedora or Arch Linux The steps are similar, but the package names and paths to the configuration files may differ. If the access point is not visible after launching, check if your Wi-Fi adapter mode AP (team iw list | grep "Supported interface modes" must issue AP).
5. Third-party programs for distributing Wi-Fi
If standard methods don't work or you need advanced features (such as speed limiting for connected devices), use specialized utilities. Here are the top 3 proven programs:
| Program | Platform | Peculiarities | Cons |
|---|---|---|---|
| Connectify Hotspot | Windows 7–11 | Support WPA3, traffic limitation, ad blocker |
Paid Pro version for advanced features |
| mHotspot | Windows 7–11 | Free, simple interface, up to 10 devices | Advertising in the free version |
| Baidu WiFi Hotspot | Windows, macOS | Automatic activation at startup, traffic statistics | Chinese software (may have privacy issues) |
For example, in Connectify Can:
- 📊 Limit download speed for each device;
- 🔒 Block access to certain websites;
- 📱 Share the Internet via Bluetooth or Ethernet.
To install, simply download the program from the official website, launch it, and follow the setup wizard. The main thing is Disable the built-in Windows hotspot, to avoid conflicts.
6. Common mistakes and their solutions
Even with proper configuration, Wi-Fi hotspots may not work. Here are the most common issues and how to fix them:
⚠️ Attention: If after turning on the hotspot the devices connect, but the Internet does not work, check the settingsfirewallSometimes it blocks public access. Temporarily disable it or add an exception forsvchost.exe.
| Error | Cause | Solution |
|---|---|---|
Failed to set up mobile hotspot |
Outdated Wi-Fi adapter drivers | Update driver via device Manager or from the manufacturer's website |
| Devices do not connect to the network | Incorrect password or network name | Restart your hotspot and check the case of your password. |
| Low distribution speed | Channel congestion or weak signal | Change the Wi-Fi channel manually (for example, to 11 For 2.4 GHz) |
Hosted Network couldn’t be started |
Service Autoconfig disabled |
Run it through services.msc or by team net start wlansvc |
If the problem is not resolved, try:
- 🔧 Reset network settings:
Settings → Network & Internet → Network reset; - 🔄 Reinstall the Wi-Fi adapter driver (download the latest version from the manufacturer's website, for example, Intel or Realtek);
- 🛠️ Check your laptop for viruses (some malware blocks network connections).
⚠️ Attention: On some laptops with Wi-Fi 6 (For example, Dell XPS 13 or HP Spectre) the built-in hotspot may not work due to a conflict with the technology Mu-MIMOThe solution is to disable it in the adapter settings or use third-party programs.
7. How to boost the signal and increase the distribution speed
If your devices are connecting but your speed is slow, try these optimization methods:
1. Selecting a Wi-Fi channel
By default, Windows selects a channel automatically, but it may be congested by neighboring networks. To find a free channel:
- Download the utility WiFi Analyzer (For Android) or NetSpot (For Windows/macOS).
- Look at which channels are busy and choose the freest one (for example,
1,6or11For2.4 GHz). - Change the channel via command line:
netsh wlan set hostednetwork channel=6
2. Changing the adapter operating mode
IN Device Manager Find your Wi-Fi adapter (for example, Intel AX200), open Properties → Advanced and install:
802.11n/ac Wireless Mode→802.11ac(for maximum speed);Roaming Aggressiveness→Lowest(will reduce reconnections);Transmit Power→Highest(will strengthen the signal).
3. Disabling energy saving
By default, Windows reduces Wi-Fi adapter power to save battery life. To fix this:
- Open
Control Panel → Power Options → Change plan settings → Change advanced settings. - Find
Wireless Network Adapter Settings → Power Saving Modeand installMaximum performance.
Wi-Fi 6E (6 GHz), but devices can't see the network, check your regional channel settings. In some countries, the 6 GHz band is prohibited and must be activated manually via registry editor (key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\Config\EnableWiFi6E).
FAQ: Frequently asked questions about sharing Wi-Fi from a laptop
Is it possible to share Wi-Fi and be connected to another network at the same time?
On Windows - Yes, but only if the main connection is through Ethernet or USB modemIf the laptop is connected to Wi-Fi, you won't be able to share it (an external connection is required).
On macOS - No, Apple blocks simultaneous connection and Wi-Fi distribution. The solution is to use USB adapter or Ethernet.
How many devices can I connect to share from a laptop?
Technical limit - up to 254 devices (depending on the subnet), but in practice:
- On Windows 5-10 devices operate stably;
- On Linux With
hostapd— up to 20; - On macOS — up to 8.
With a large number of connections, the speed will drop due to the limitations of the laptop processor.
Why does sharing stop after sleep or reboot?
This is due to the fact that the service WLanSV does not start automatically. Solutions:
- For Windows: create
.bat-file with commandnetsh wlan start hostednetworkand add it to startup. - For Linux: add
hostapdAnddnsmasqin autostart viasystemd. - For macOS: turn on the option
Automatic startin the sharing settings.
Is it possible to share Wi-Fi from a laptop without a password?
Technically yes, but that's unsafeTo remove the password:
- IN Windows via command line:
netsh wlan set hostednetwork key=(without password). - IN Linux in the file
hostapd.confdelete the linewpa_passphrase.
⚠️ In this case, anyone can connect to your network and intercept your traffic. Use at least WPA2 with a simple password.
How to share internet from a laptop Android TV or Smart TV?
Majority Smart TV (For example, Samsung or LG) do not support connection to Ad-Hoc networks created by Windows via the command line. Solutions:
- Use mobile hotspot (it creates a network in the mode
Infrastructure). - Set up distribution via Connectify (there is an option
Wi-Fi Direct). - Connect TV via cable (
Ethernet) or through USB adapter.