Turn your laptop into a full-fledged Wi-Fi hotspot It's easier than it seems. Just a few clicks and your laptop will start sharing internet with smartphones, tablets, and other devices. This will be a lifesaver when traveling, at the dacha, or when your router suddenly breaks. But how can you avoid common mistakes, and why does the network sometimes fail?
We have tested all current methods on Windows 10/11, macOS Ventura/Sonoma And Ubuntu/DebianThis article contains only working methods with explanations of "why"—not just menu screenshots. You'll learn how to bypass provider restrictions and why. Not all laptops support sharing., and what to do if the devices do not connect.
Spoiler: the built-in OS tools are sufficient for most tasks. Additional programs like Connectify or mHotspot They are only needed for advanced features, such as traffic limiting or ad blocking. We'll also reveal A little-known command line trick that saves the day when Windows stubbornly refuses to share the Internet via Wi-Fi..
Compatibility Check: Does Your Laptop Support Wi-Fi Sharing?
Before setting up a network, make sure your device is capable of functioning as an access point. Here are the key points:
- 🖥️ Wi-Fi adapter: must support the mode
Hosted Network(in Windows) orAP mode(in Linux/macOS). Most modern adapters (from Intel, Qualcomm Atheros, Broadcom) They can do this, but cheap Chinese modules can't. - 🔄 Drivers: Outdated or faulty drivers are the main cause of errors. For example, Windows 7 the distribution often worked out of the box, but in Windows 11 An update may be required.
- 📶 Connection type: If the laptop receives internet via a cable (Ethernet) or a USB modem, there will be no problems. But when distributing mobile Internet (4G/5G) Some providers block such traffic.
How to check the adapter in Windows:
- Open
Command lineas administrator (clickWin + X→Terminal (administrator)). - Enter the command:
netsh wlan show drivers - Find the line
Hosted network support. If thereYes— the adapter fits. IfNo— update drivers or buy an external Wi-Fi module.
⚠️ Attention: On laptops with Realtek With adapters (especially the RTL8188/RTL8192 series), sharing often becomes unstable. In this case, the only solution is to replace the adapter or use a USB Wi-Fi dongle (e.g., TP-Link TL-WN725N).
Method 1: Share Wi-Fi via Mobile Hotspot (Windows 10/11)
The simplest method is a built-in function Mobile HotspotShe appeared in Windows 10 and works more reliably than the command line. Suitable for sharing internet via Ethernet, a 4G modem, or even another Wi-Fi connection (if the laptop is connected to the network via cable).
Step-by-step instructions:
- Open
Parameters(Win + I) →Network and Internet→Mobile hotspot. - In the field
Sharing an Internet connectionselect a source (egEthernetorLocal Area Network Connection*). - Click
Changenext toNetwork datato ask:- 🔑 Network name (SSID): in Latin, without spaces (for example,
MyLaptopWiFi). - 🔒 Password: minimum 8 characters, with numbers and letters.
- 📡 Range: If the devices do not see the network, try changing from
5 GHzon2.4 GHz(or vice versa).
- 🔑 Network name (SSID): in Latin, without spaces (for example,
Allow use of my internet connection.Disable VPN and proxy | Make sure your laptop is connected to the internet | Check that your antivirus software (like Avast or Kaspersky) isn't blocking your network | Restart your laptop if the hotspot doesn't work the first time -->
If an error appears after switching on Failed to set up mobile hotspot, try:
- 🔄 Restart your laptop and router (if you have internet access through it).
- 🔧 Update your Wi-Fi adapter driver via
device Manager. - 🛡️ Temporarily disable Windows Firewall (
Control Panel → Firewall → Turn on or off).
⚠️ Please note: Some providers (eg. Beeline or Tele2) block mobile internet access due to technical issues. In this case, the hotspot will still turn on, but devices won't be able to access the network. The solution is to connect your laptop to the internet via a cable or use a USB modem with an unlimited data plan.
Method 2: Command Prompt (for Windows 7/8/10/11)
If the "Mobile Hotspot" doesn't work or you need advanced settings (for example, changing the Wi-Fi channel), this will help command lineThis method is universal and works even on older versions of Windows.
Perform in order:
- Launch
Command lineon behalf of the 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 internet sharing:
- Open
Control Panel → Network and Sharing Center → Change adapter settings. - Find your primary connection (eg.
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 (the name will be something likeLocal Area Connection* 12).
- Open
To stop seeding, use the command:
netsh wlan stop hostednetwork
| Team | Description |
|---|---|
netsh wlan show hostednetwork settings=security |
Shows the current network security settings (including password). |
netsh wlan set hostednetwork mode=disallow |
Disables distribution mode (useful if the network cannot be removed using standard methods). |
netsh wlan show drivers | find "Hosted" |
Quick check for hostednetwork support. |
Method 3: Sharing Wi-Fi on macOS (Ventura, Sonoma, and later)
On MacBook The process is even simpler than on Windows. Apple has built the sharing feature into the system settings, but there are some nuances with some models (for example, MacBook Air M1/M2 may require additional permissions).
Instructions:
- Open
System Preferences→General access. - In the left menu, select
Public Internet. - In the field
General connectionPlease provide the source (eg.EthernetorThunderbolt Bridge). - On the list
For computers usingmarkWi-Fi. - Click
Wi-Fi settingsand configure:- 📛 Network name: The default is the name of your Mac.
- 🔐 Security: select
WPA2/WPA3 Personal. - 🔑 Password: minimum 8 characters.
- 📡 Channel: If the network is unstable, try channels
1,6or11(they intersect the least).
General access in the left menu and confirm the action.If the devices do not connect after turning on:
- 🔄 Restart your MacBook.
- 🛠️ Reset network settings:
System Preferences → Network → Advanced → TCP/IP → Renew DHCP. - 🚫 Check if it's blocking Little Snitch or other firewall traffic.
⚠️ Note: On macOS Monterey and older when distributing the Internet via USB/Thunderbolt Ethernet The connection with the connected cable may be lost. The solution is to use an adapter. USB-C → Ethernet with a chip Realtek RTL8153 (for example, from Anker or Baseus).
Method 4: Sharing Wi-Fi on Linux (Ubuntu, Debian, Fedora)
In Linux, Wi-Fi sharing is configured through the terminal, but the process varies depending on the distribution. We'll look at a universal method with hostapd And dnsmasq, which works on most systems.
Step 1. Install the required packages:
sudo apt update
sudo apt install hostapd dnsmasq
Step 2: Stop any services that may be causing conflicts:
sudo systemctl stop hostapd
sudo systemctl stop dnsmasq
Step 3: Set up hostapd:
- Open the configuration file:
sudo nano /etc/hostapd/hostapd.conf - Add the following lines (replace
MyWiFiAnd12345678to your data):interface=wlan0driver=nl80211
ssid=MyWiFi
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
Step 4: Set up dnsmasq for distributing IP addresses:
sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
sudo nano /etc/dnsmasq.conf
Add:
interface=wlan0
dhcp-range=192.168.100.100,192.168.100.200,255.255.255.0,24h
Step 5. Start the services:
sudo hostapd /etc/hostapd/hostapd.conf &
sudo dnsmasq
Step 6. Enable traffic forwarding:
sudo sysctl net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
How to autostart an access point in Linux
To avoid entering commands after each reboot, create a service:
1. Create a file /etc/systemd/system/wifi-ap.service with contents:
[Unit]Description=WiFi Access Point
After=network.target
[Service]
Type=simple
ExecStart=/usr/sbin/hostapd /etc/hostapd/hostapd.conf
ExecStop=/usr/bin/killall hostapd
[Install]
WantedBy=multi-user.target
2. Enable autoload:
sudo systemctl enable wifi-ap.service
sudo systemctl start wifi-ap.service
⚠️ Note: On some distributions (e.g. Arch Linux) instead ofhostapdcan be usedcreate_apInstall it throughsudo pacman -S create_apand run with the commandsudo create_ap wlan0 eth0 MyWiFi 12345678.
Common problems and their solutions
Even after proper configuration, the access point may still operate unstable. Here are the most common errors and how to fix them:
| Problem | Cause | Solution |
|---|---|---|
| The devices connect, but there is no internet. | Sharing is not configured or the provider is blocking | Check your access settings in Connection properties (Windows) or disable VPN |
| The network is not visible on the phone | Incorrect band (5 GHz vs 2.4 GHz) or weak signal | Change the channel in the settings or reduce the distance to the laptop |
| Error: "Failed to start hosted network" | The adapter driver does not support AP mode. | Update your driver or use an external Wi-Fi adapter. |
| Low distribution speed | Channel congestion or provider restrictions | Change the Wi-Fi channel or connect your laptop to the router with a cable. |
If nothing helps, try:
- 🔄 Reset network settings:
- In Windows:
Settings → Network & Internet → Network reset. - On macOS: Delete the file
/Library/Preferences/SystemConfiguration/NetworkInterfaces.plistand restart your Mac.
- In Windows:
- 🛡️ Disable antivirus: Avast, Kaspersky And ESET distribution is often blocked.
- 📡 Use other software: If the built-in tools don't work, try Virtual Router Plus (Windows) or Linux AP (for Linux).
Security: How to Secure Your Access Point
An open network without a password poses a risk not only to your traffic but also to the devices connecting to it. Follow these rules:
- 🔐 Use WPA2/WPA3: Never set up an encrypted network
WEP(it gets hacked in minutes). - 🔄 Change your password regularly: especially if you distribute Wi-Fi in public places.
- 🚫 Limit the number of devices: in the router settings (or through
hostapdIn Linux, you can set a connection limit. - 🕵️ Hide your SSID: in the access point settings, disable network name broadcasting (
ignore_broadcast_ssid=1Vhostapd.conf). - 🛡️ Turn on the firewall: Set up rules to block unauthorized access to your laptop's local resources.
How to check who is connected to your network:
- In Windows:
netsh wlan show hostednetwork settings=security(will show connected devices if the driver supports this function). - In Linux:
sudo arp-scan --interface=wlan0 --localnet(installarp-scanthroughsudo apt install arp-scan). - On macOS: Open
System monitoring→Net→Wi-Fi.
⚠️ Attention: If you are distributing the Internet in a cafe, airport or other public place, use VPN on a laptop (For example, ProtonVPN or Windscribe). This will protect your data from being intercepted through vulnerabilities in Wi-Fi protocols.
FAQ: Answers to Frequently Asked Questions
Is it possible to share Wi-Fi from a laptop if the laptop itself is connected to another Wi-Fi network?
Technically yes, but this creates a "double load" on the adapter: it simultaneously receives and transmits the signal. As a result, the speed drops by 2-3 times, and the network may periodically disconnect. It's better to connect your laptop to the internet via cable or USB modem.
The exception is laptops with MIMO adapters (For example, Intel AX200/AX210), which can handle such a load.
Why does Wi-Fi sharing turn off after sleep/hibernation?
This is standard behavior for Windows and macOS: when waking from sleep, the network adapters reboot, and the virtual access point disappears. Solutions:
- In Windows: Create a task in
Task Scheduler, which will automatically launchnetsh wlan start hostednetworkafter waking up. - On macOS: Disable network sleep in
System Preferences → Energy Saver → Options.
How to increase the range of an access point?
The standard range of a laptop is 10-15 meters indoors. To increase it:
- 📡 Use external Wi-Fi adapter with an antenna (for example, TP-Link TL-WN822N).
- 🔋 Connect your laptop to a power source - when running on battery power, the transmitter power may be reduced.
- 📶 Change the channel to a less busy one (use utilities like WiFi Analyzer for Android or NetSpot for macOS/Windows).
- 🪟 Place your laptop closer to the center of the room and avoid obstacles (walls, metal objects).
If you need a radius greater than 30 meters, consider purchasing Wi-Fi repeater (repeater) or setting bridge mode on the router.
Is it possible to distribute Wi-Fi from a laptop? iPhone or Android without password?
Technically yes, but:
- 🔓 In Windows when creating a network through
netshA password is required (minimum 8 characters). This can only be bypassed using third-party programs like Virtual Router Plus, but it's not safe. - 🍎 On macOS a password is also required, but you can use a simple one (for example,
12345678). - 🤖 On Android Connecting to an open network will trigger a risk warning, and some apps (such as banking apps) may block your connection.
We do not recommend sharing Wi-Fi without a password, as this allows any connected device to intercept your traffic.
How many devices can I connect to a hotspot on a laptop?
The theoretical limit is up to 10-15 devices, but in practice everything depends on:
- 🖥️ Laptop performance: weak processors (eg Intel Celeron or AMD Athlon) may not be able to handle the load.
- 📶 Type of Wi-Fi adapter: adapters with support
MU-MIMO(For example, Intel AX200) cope better with multiple connections. - 🌐 Type of traffic: Streaming video or online gaming eats up more resources than browsing websites.
If you need to connect more devices, use router or access point (For example, TP-Link TL-WA850RE).