Sharing Wi-Fi from a laptop is a versatile solution when you don't have a router handy but need internet access on multiple devices. A smartphone, tablet, second computer, or even a smart speaker can all be connected to the network created by your laptop. But how do you do it correctly to avoid losing speed, encountering errors, and opening up loopholes for hackers?
In this article, we will look at all the current methods of distributing Wi-Fi from a laptop Windows 10/11, macOS And Linux, including hidden settings and workarounds for common problems. You'll learn which method is the most stable, how to boost the signal, and why the speed is sometimes cut in half. And also— How to share internet from a laptop if you only have an Ethernet cable and no Wi-Fi access (for example, in a hotel or dorm).
1. Share Wi-Fi via Mobile Hotspot (Windows 10/11)
The easiest way is to use the built-in function Mobile HotspotIt works on all laptops with Windows 10 (version 1607 and later) and Windows 11, if the Wi-Fi adapter drivers support the mode SoftAP (This is 99% of modern devices). The main advantage is that you don't need to enter commands or install programs.
How to enable:
- 🖥️ Open
Settings → Network & Internet → Mobile Hotspot. - 🔄 In the field "Sharing" select the connection through which the laptop receives the Internet (for example,
EthernetorWireless network). - 🔑 Click "Change"to set the network name (
SSID) and password (at least 8 characters, preferably with numbers). - 🔺 Move the slider Distribution is permitted. in position "On".
If the button Mobile Hotspot is inactive or gives an error "Unable to set up mobile hotspot", check:
- 🔌 Is the laptop connected to the Internet (for example, via a cable or USB modem).
- 🔄 Are your Wi-Fi adapter drivers updated (check
Device Manager → Network Adapters). - 🚫 Is your antivirus blocking the distribution (for example, Kaspersky or Avast - they need to be temporarily disabled).
☑️ What to do if the hotspot won't turn on
⚠️ Attention: If you are distributing the Internet via 3G/4G modem (For example, Yota or Megaphone), some operators block such traffic or count it as "data transfer to other devices" (which may incur higher charges). Check the terms in your personal account.
2. Sharing Wi-Fi via the command line (Windows)
If Mobile Hotspot isn't working or you need more control over the network (like changing the Wi-Fi channel), use command lineThis method is universal and works even on older versions of Windows.
Step-by-step instructions:
- Launch Command prompt as administrator (click
Win + X→Terminal (Administrator)). - Enter the command to create the network:
netsh wlan set hostednetwork mode=allow ssid="MyWiFi" key="12345678" keyUsage=persistentReplace
MyWiFito the desired network name, and12345678— to the password. - Start the distribution:
netsh wlan start hostednetwork - Allow internet 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" → tab "Access". - Check the box Allow other network users to connect through your Internet connection and select the created network from the list (it will be called
Local Area Connection* X).
- Open
To stop seeding, enter:
netsh wlan stop hostednetwork
⚠️ Note: After restarting your laptop, distribution via the command line is disabled. To start it automatically, create.bat-file with commandnetsh wlan start hostednetworkand add it to startup.
How to change Wi-Fi channel to reduce interference
If your network is unstable, try manually setting the Wi-Fi channel (it's automatically selected by default, but it may be congested). To do this, enter the following in the command line:
netsh wlan set hostednetwork channel=6
Where 6 — channel number (1–14 are available, but 1–13 are legally used in Russia). To find out which channels are free, use programs like WiFi Analyzer (Android) or inSSIDer (Windows).
3. Sharing Wi-Fi on macOS (no additional software required)
On laptops MacBook Sharing Wi-Fi is even easier than on Windows. The feature is built into the system and works reliably, but there's a catch: At the same time, you can only share the Internet via Wi-Fi OR Bluetooth (but not together).
Instructions:
- 🍎 Open
System Preferences → Sharing. - 🔄 In the left menu, select Common Internet.
- 📶 In the field Share connection select
Wi-Fi. - 🔺 In the section "For computers using" mark
Wi-Fi. - 🔑 Click Wi-Fi Settings and ask:
- Network Name (
SSID); - Channel (better to leave
Auto); - Security type:
WPA2/WPA3 Personal; - Password (minimum 8 characters).
- Network Name (
- 🔺 Check the box "Public Access" in the left menu and confirm the action.
If the distribution does not start, check:
- 🔌 Is your MacBook connected to the Internet (for example, via Ethernet or USB modem).
- 🔄 Is your firewall blocking the distribution?
System Preferences → Security & Privacy → Firewall). - 📡 Does your Mac model support Wi-Fi sharing (very old MacBook Air/MacBook Pro models may not have this feature).
4. Wi-Fi distribution on Linux (Ubuntu, Mint, Debian)
In Linux, you can share Wi-Fi through the terminal or graphical utilities like NetworkManagerThe method depends on the distribution, but the general procedure is the same. Below are the instructions for Ubuntu/Debian-based systems.
Method 1: Through NetworkManager (graphical interface)
- 🐧 Open network settings (Wi-Fi icon in the taskbar → "Edit Connections").
- 🔄 Click "Add" → select
Wi-Fi (Hotspot). - 🔑 Set the network name (
SSID), password and save. - 🔺 Activate the created access point.
Method 2: Via terminal (universal method)
- Install
hostapdAnddnsmasq:sudo apt update && sudo apt install hostapd dnsmasq - Set up
hostapd(create a file/etc/hostapd/hostapd.conf):interface=wlan0driver=nl80211
ssid=MyLinuxWiFi
hw_mode=g
channel=6
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK - Start the access point:
sudo systemctl start hostapd - Turn on internet sharing (e.g. with
eth0onwlan0):sudo sysctl net.ipv4.ip_forward=1sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
⚠️ Note: On some laptops with Broadcom-Wi-Fi chips (for example, in old ones) MacBook under Linux)hostapdmay not work. In this case, usecreate_ap:sudo apt install create-ap
sudo create_ap wlan0 eth0 MyLinuxWiFi 12345678
5. Third-party programs for distributing Wi-Fi
If built-in Windows/macOS/Linux tools don't work, third-party software can help. We tested five popular programs and selected the most reliable:
| Program | Supported OS | Pros | Cons |
|---|---|---|---|
| Connectify Hotspot | Windows 7–11 | Simple interface, support WPA3, speed limit for devices |
Paid version (free version is limited) |
| MyPublicWiFi | Windows 7–11 | Free, lightweight, shows connected devices | No support 5 GHz, outdated design |
| Baidu WiFi Hotspot | Windows 10/11 | Automatic channel selection, support 802.11ac |
Chinese software (may have privacy issues) |
| Virtual Router Plus | Windows 7–11 | Open-source, no installation required (portable version) | Hasn't been updated since 2016 and may not work with newer drivers. |
How to use (using example) MyPublicWiFi):
- 📥 Download the program from official website (avoid third party sources!).
- 🔄 Install and run as administrator.
- 🔑 In the field «Network Name (SSID)» enter the network name in «Network Key» - password.
- 🔺 In the section «Internet Sharing» select the internet source (for example,
Ethernet). - 🖥️ Click «Set up and Start Hotspot».
6. How to boost the signal of your Wi-Fi network
If your devices are having trouble getting a network connection from your laptop, try these methods:
- 📡 Change the Wi-Fi channel: By default, Windows/macOS selects a channel automatically, but it may be overloaded. Use programs WiFi Analyzer (Android) or NetSpot (Windows/macOS) to find a free channel (e.g. 1, 6 or 11 for
2.4 GHz). - 🔋 Disable power saving for your Wi-Fi adapter:
- Windows:
Device Manager → Network Adapters → [Your Wi-Fi] → Properties → Power Management→ uncheck the box Allow the computer to turn off this device to save power. - macOS:
System Preferences → Battery → Battery optimization→ turn off.
- Windows:
- 📶 Use an external antenna: Some laptops (for example, business series Lenovo ThinkPad or Dell Latitude) support the connection of external Wi-Fi antennas via the port
M.2or USB. This will increase the range by 2-3 times. - 🔄 Update your Wi-Fi adapter driver: Outdated drivers limit the transfer power. Download the latest ones from the laptop manufacturer's website (not from Device Manager!).
If the laptop distributes Wi-Fi at a frequency 2.4 GHz, and the connected devices support 5 GHz, try to force switch to 5 GHz (if the adapter allows it). To do this, enter the following in the Windows command line:
netsh wlan set hostednetwork mode=allow ssid="MyWiFi" key="12345678" keyUsage=persistent channel=36
Where 36 - channel for 5 GHz (channels 36-48 and 149-165 are available).
7. Typical problems and their solutions
Sharing Wi-Fi from a laptop can cause errors. We've compiled the most common ones and how to fix them:
| Problem | Cause | Solution |
|---|---|---|
| Mobile Hotspot won't turn on (Windows) | No support SoftAP in the driver |
Update your Wi-Fi driver from your laptop manufacturer's website (not via Windows Update!) |
| The devices connect, but there is no internet. | Sharing is not configured | Check your settings Public access in the connection properties (see section 2) |
| The distribution speed is very slow | Provider limitation or channel overload | Change the Wi-Fi channel and disconnect other devices from the laptop's network. |
| Wi-Fi disconnects after sleep/hibernation | Power settings | Disable power saving for your Wi-Fi adapter (see section 6) |
| Unable to change password on Mobile Hotspot | Windows limitation | Use the command line (section 2) or third-party programs |
If the laptop distributes the Internet via 3G/4G modem, and the speed is “cut” by 2-3 times, this may be due to:
- 📶 Operator restrictions (some tariffs block data sharing).
- 🔌 Insufficient power from the USB port (the modem is not receiving enough power). Use USB hub with external power supply.
- 🔄 Overloading the laptop's processor (Wi-Fi sharing + modem activity + background tasks). Close unnecessary programs.
8. Security: How to protect your Wi-Fi
Sharing Wi-Fi from a laptop creates a fully-fledged network that can be hacked. Follow these rules to avoid data leakage or unauthorized access:
- 🔐 Use only
WPA2-PSKorWPA3Never share Wi-Fi without a password or with an outdated one.WEP(it gets hacked in minutes). - 🔑 Complex password: Minimum 12 characters with letters, numbers and special characters (e.g.
WiFi@MyLaptop2026!). Don't use simple combinations like12345678. - 🖥️ Turn off distribution when it is not neededA constantly active hotspot increases the risk of attack.
- 🛡️ Turn on the firewall:
- Windows:
Settings → Update & Security → Windows Security → Firewall & Network Protection. - macOS:
System Preferences → Security & Privacy → Firewall.
- Windows:
- 🔍 Check connected devices:
- Windows:
Settings → Network & Internet → Wi-Fi → Manage known networks → [Your network] → View properties(there will be a list of devices). - macOS: Use the utility
nmapin the terminal:
(replacebrew install nmapnmap -sn 192.168.x.0/24xto your subnet).
- Windows:
If you are distributing Wi-Fi in a public place (for example, in a cafe or co-working space), never use the same network for personal purposes (online banking, email). It's better to create a separate connection via VPN (for example, ProtonVPN or Windscribe).
FAQ: Frequently Asked Questions
Is it possible to share Wi-Fi from a laptop if I only have an Ethernet cable (no Wi-Fi itself)?
Yes! Your laptop can receive internet via a cable and share it via Wi-Fi. To do this:
- Connect the cable to the laptop.
- Turn on Mobile Hotspot (Windows) or Internet Sharing (macOS) with Internet as the source.
Ethernet. - If it doesn't work, use the command line (section 2) or third-party programs.
This is relevant for hotels, hostels or offices where there is no Wi-Fi, but there is wired Internet.
Why is the upload speed lower than on the laptop itself?
This is normal: when distributing, some bandwidth is spent on network maintenance. Typical reasons for speed drops:
- 📶 The laptop's Wi-Fi adapter is in the "Off" mode
802.11n(maximum 150-300 Mbps), even if you have Gigabit Ethernet. - 🔄 Processor overload (especially on weak laptops).
- 📡 Interference from other networks (change the Wi-Fi channel).
To reduce losses, turn off background downloads on your laptop and use 5 GHz (if devices support it).
Is it possible to share Wi-Fi from an Android/iOS laptop and play online games?
Technically yes, but there will be high pings (delays) due to double routing (traffic goes: Game → Phone → Laptop → Internet). For online games (for example, CS2, Fortnite, PUBG Mobile) better:
- Connect directly to the router.
- Use a laptop with wired internet (
Ethernet) and distribute Wi-Fi on5 GHz. - Disable all background tasks on your laptop (torrents, updates).
If your ping is still high, try reducing it. MTU (maximum packet size) up to 1400:
netsh interface ipv4 set subinterface "Local Area Connection* X" mtu=1400 store=persistent
(replace X to your connection number).
How to share Wi-Fi from a laptop to a Smart TV or set-top box (Android TV, Apple TV)?
The principle is the same, but there are some nuances:
- 📺 Smart TV (Samsung, LG, Sony):
- Select the created network in the TV's Wi-Fi settings.
- If the TV does not connect, try disconnecting it
WPA3in the distribution settings (use onlyWPA2).
- 🍎 Apple TV:
- Go to
Settings → Networkand select the laptop network. - If Apple TV doesn't see the network, check that your laptop is distributing Wi-Fi at the frequency
2.4 GHz(Apple TV older than 4th generation does not support5 GHzin hotspot mode).
- Go to
- 🎮 Android TV (Nvidia Shield, Xiaomi Mi Box):
- You may need to enter the following in your Wi-Fi settings:
IPmanually (if DHCP does not work). Use:IP: 192.168.137.X (where X is a number from 2 to 254)Gateway: 192.168.137.1
DNS: 8.8.8.8
- You may need to enter the following in your Wi-Fi settings:
Is it possible to share Wi-Fi from a laptop if I only have a USB modem (Yota, Megafon, MTS)?
Yes, but there are limitations:
- 📶 Most USB modems (Huawei E3372, ZTE MF823) support data sharing, but some operators block it on tariff plans (for example, "unlimited Internet for one device only").
- 🔌 The modem must be connected to the laptop in mode
NDIS(and notModem Mode). Check inDevice Manager— the modem should be displayed as a network adapter, not as a COM port. - 🔄 If the distribution doesn't work, try:
- Update the modem firmware (download from the operator’s website).
- Use the program DC-Unlocker to unlock the distribution mode (risky, may void the warranty!).
- Buy a router with a USB port (for example, TP-Link TL-MR3020), which can distribute Internet from modems.
⚠️ Please note: Sharing internet from USB modems may be considered a violation of your plan's terms. For example, Megaphone And Beeline may limit speed or block your SIM card for "improper use."