Turning your laptop into a full-fledged Wi-Fi hotspot is easier than you think. This feature is a lifesaver when you don't have a router handy and need to share internet with a smartphone, tablet, or second computer. Modern operating systems support virtual access point mode (SoftAP), but not all users know how to activate it without losing speed and security.
In this article we will look at all current methods — from standard tools Windows 11 And macOS Ventura to the command line and third-party utilities. You will learn how to avoid common errors (for example, Failed to set up mobile hotspot), what settings optimize the distribution speed, and why it is sometimes better to use USB tethering instead of Wi-Fi. We'll also compare the energy consumption of each method and provide a troubleshooting checklist.
Important: If you are distributing the Internet with mobile 4G/5G modem, check your carrier's plan—some block traffic re-sharing. For stable operation, you'll also need a Wi-Fi adapter driver that supports it. Hosted Network (V Windows) or AP Mode (V Linux).
1. Sharing Wi-Fi using standard Windows settings (without programs)
The easiest way is to use the built-in function Mobile HotspotIt is available in Windows 10/11 and doesn't require administrator rights (if you're already logged in). However, this method has limitations: for example, you can't change the Wi-Fi channel or enable WPA3.
To activate the distribution:
- 🖥️ Open
Settings → Network & Internet → Mobile Hotspot. - 🔄 In the field
Sharingselect the connection from which the Internet will be distributed (for example, Ethernet or Wireless network). - 🔐 Click
Changeto set the network name (SSID) and password (minimum 8 characters). - 🔺 Toggle the slider
Allow use of my internet connectionin positionOn
If the button Mobile hotspot is inactive or an error appears 0x80004005, the problem may be with the Wi-Fi driver. Update it via device Manager or download from the laptop manufacturer's website (for example, for Intel AX200 or Qualcomm Atheros).
⚠️ Attention: IN Windows 11 when distributing throughMobile hotspotturns on automaticallyIPv6, which may conflict with some devices (for example, old printers). If you can't connect, disconnectIPv6in the properties of the network adapter.
2. Sharing Wi-Fi via the command line (netsh)
A method for advanced users that gives more control over network settings. For example, here you can set Wi-Fi channel manually (useful in apartment buildings) or use WPA2-PSK/AES instead of vulnerable WPA2-TKIP.
Instructions:
- Launch
Command lineas administrator (Win + X → Terminal (Admin)). - 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:
netsh wlan show hostednetwork setting=security(if you need to change the password or encryption type).
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
Make sure your Wi-Fi adapter supports Hosted Network (check with the command netsh wlan show drivers)|Disable your antivirus (it may block the creation of a virtual adapter)|Make sure your primary internet connection is active|Set a password of at least 8 characters (otherwise Windows will refuse to create the network)-->
Critical detail: if after the command netsh wlan start hostednetwork an error appears Failed to start hosted network, then your Wi-Fi adapter doesn't support SoftAP mode. In this case, the only solution is to replace the adapter or use an external USB module (e.g., TP-Link TL-WN725N).
3. Wi-Fi Sharing on macOS (Including Ventura and Sonoma)
On MacBook Wi-Fi distribution is configured via Internet access sharing. Peculiarity macOS — support for two modes simultaneously: 802.11n (up to 150 Mbps) and 802.11ac (up to 867 Mbps), but the speed will be limited by the slowest connected device.
Step-by-step instructions:
- 🍎 Open
System Preferences → Sharing. - 🔄 Select an internet source (e.g. Ethernet or Thunderbolt Bridge).
- 📡 On the list
For computers usingmarkWi-Fi. - 🔐 Click
Wi-Fi settingsand ask:- Network Name (
SSID) - Channel (recommended)
6for 2.4 GHz or36for 5 GHz) - Safety:
WPA2/WPA3 Personal - Password (minimum 8 characters)
- Network Name (
- ✅ Enable the checkbox
Internet access sharingin the left menu.
On macOS Sonoma an option appeared Restrict access to the local network — Enable it if you're sharing internet in a public place. This will block interactions between connected devices (for example, access to shared folders).
⚠️ Attention: If after activating the distribution the Internet disappears on the MacBook, check the settingsDNS. Sometimes macOS drops them on192.168.2.1Manually enter DNS from Google (8.8.8.8) or Cloudflare (1.1.1.1).
4. Wi-Fi distribution in Linux (Ubuntu, Debian, Arch)
IN Linux Utilities are usually used to distribute Wi-Fi hostapd (to create an access point) and dnsmasq (for DHCP). The method requires permissions. sudo and does not work on all adapters (check the mode support) AP team iw list | grep"AP").
A universal way for Ubuntu 22.04+:
- Install packages:
sudo apt update && sudo apt install hostapd dnsmasq - Stop services:
sudo systemctl stop hostapdsudo systemctl stop 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 hostapd /etc/hostapd/hostapd.conf
To automatically start at boot, create a service:
sudo systemctl enable hostapd
sudo systemctl start hostapd
If the adapter does not support AP mode, try the alternative - create_ap:
sudo git clone https://github.com/oblitum/create_ap.gitcd create_ap
sudo make install
sudo create_ap wlan0 eth0 MyLinuxWiFi 12345678
How to check if your Wi-Fi adapter supports AP mode?
Run the command iw list and find the line Supported interface modesIf the list contains AP, the adapter is suitable for distribution. If not, an external module will be required (for example, Alfa AWUS036ACH).
5. Third-party programs for distributing Wi-Fi
If standard methods don't work, utilities like MyPublicWiFi, Connectify or Virtual Router PlusTheir advantages:
- 🔧 More settings (for example,
Speed Limitfor connected devices). - 📊 Real-time traffic statistics.
- 🔄 Automatic connection restoration if the connection is interrupted.
- 🛡️ Built-in
firewallto block unwanted connections.
Cons: Most programs are paid (for example, Connectify Hotspot (costs $35 per year), while free versions limit the number of connected devices or display ads. They can also conflict with antivirus software (Kaspersky, ESET).
| Program | Free version | Max devices | WPA3 support | Peculiarities |
|---|---|---|---|---|
| MyPublicWiFi | Yes | 10 | No | Simple interface, no ads |
| Connectify Hotspot | No (trial 7 days) | Unlimited | Yes | Support for 3G/4G modems, VPN passthrough |
| Virtual Router Plus | Yes | 5 | No | Open source but outdated interface |
| Baidu WiFi Hotspot | Yes | 8 | No | Support for Chinese networks, built-in translator |
⚠️ Attention: Programs like Maryfi or Ostoto Hotspot may contain adware (pop-up ads) or collect traffic data. Before installing, check the program's reputation on VirusTotal and review the privacy policy.
6. Alternative methods of distributing the Internet (without Wi-Fi)
If Wi-Fi sharing is not possible (for example, due to a faulty adapter), consider alternatives:
- 🔌 USB tethering: Connect your smartphone to your laptop via USB and turn it on
Modem modein the phone settings. The speed is higher than Wi-Fi, but requires drivers (RNDIS For Android or Apple Mobile Device USB For iPhone). - 🔵 Bluetooth tethering: Slower (up to 3 Mbps), but saves battery life. Suitable for transferring small files or messaging apps.
- 🌐 Ethernet Bridge: if the laptop has
Ethernet port, connect it to the router with a cable, and then distribute the Internet via Wi-Fi throughMobile hotspotThis will reduce latency (ping) in games.
For USB-tetring on Windows manual configuration may be required IPv4:
Control Panel → Network and Internet → Network and Sharing Center → Change adapter settings → Ethernet Properties → IPv4 → Specify IP manually (e.g. 192.168.42.1)
7. Optimizing distribution speed and security
Even if the access point is working, the speed may be slower than expected. Here's how to fix it:
- 📶 Select a free channel: use utilities like Wi-Fi Analyzer (Android) or NetSpot (Windows/macOS) to find the least crowded channel. For 2.4 GHz, avoid channels
1, 6, 11- They are most often overloaded. - 🔒 Encryption: always use
WPA2-PSK (AES)orWPA3.WEPAndWPA-TKIPhacked in minutes. - 🔋 Energy saving: V Windows turn off the mode
Energy savingfor Wi-Fi adapter in Device Manager (tabPower management). - 🚫 Device limitation: If more than 5 devices are connected to the access point, the speed drops by 30-40%. Connectify You can set a limit.
To test the speed use Speedtest.net or Fast.comIf the distribution speed is below 50% of the original, check:
- Are there any torrents or updates running on the primary device?
- Is it not turned on?
VPN(it may limit bandwidth). - Is it not used?
Qos(quality of service) in the network settings.
8. Common mistakes and their solutions
Wi-Fi sharing can fail for dozens of reasons, from a simple lack of drivers to antivirus software conflicts. Here are the most common errors and how to fix them:
| Error | Cause | Solution |
|---|---|---|
Failed to set up mobile hotspot (Windows) |
IP conflict or disabled Microsoft Hosted Network Virtual Adapter |
Run the commands:
|
The device cannot connect to the network |
Incorrect password or incompatible security protocol | Check the case of the characters in the password. Change the encryption type to WPA2-PSK. |
No internet access (there is a connection, but websites don't open) |
Not configured General access or the settings are lost DNS |
IN Windows: Settings → Network → Configure adapter settings → Properties → IPv4 → Set DNS to 8.8.8.8. |
hostapd: Configuration file contains unknown field (Linux) |
Error in the configuration file hostapd.conf |
Check the file syntax. Here's an example of the correct format:
|
If the issue persists, reset your network settings:
- IN Windows:
netsh int ip resetnetsh winsock reset - IN macOS:
sudo ifconfig en0 downsudo ifconfig en0 up
⚠️ Attention: On some laptops Lenovo And HP option disabled in BIOSWireless LAN RadioIf Wi-Fi doesn't turn on at all, go to BIOS (F2/Delwhen loading) and check the settings of the wireless modules.
FAQ: Frequently asked questions about sharing Wi-Fi from a laptop
Is it possible to share Wi-Fi from a laptop if the laptop itself is connected to Wi-Fi (and not via cable)?
Technically yes, but it creates double NAT, which can lead to problems with online games, IP telephony, or torrents. Speed will also drop by 30-50%. It's best to connect your laptop to the internet via Ethernet or through USB modem.
Why is the upload speed lower than on the main connection?
This is normal: when distributing data, traffic passes through the laptop's processor, which adds latency. Other factors include:
- Encryption type (
WPA3slowerWPA2on older devices). - Number of connected devices (each takes up ~10% of the speed).
- Wi-Fi mode (
802.11nvs802.11ac).
For maximum speed use 5 GHz and limit the number of devices to 3-4.
How to share Wi-Fi from a laptop iPhone or iPad?
Problems with connection Apple- devices usually do not arise, but sometimes iOS refuses to connect to the network with WPA2-TKIP. Solution:
- On your laptop, change the security type to
WPA2-PSK (AES). - On iPhone Forget the network (
Settings → Wi-Fi → ⓘ → Forget this network) and reconnect. - If it doesn't help, reset your network settings. iPhone (
Settings → General → Transfer/Reset → Reset network settings).
Is it possible to share Wi-Fi from a laptop without a password (open network)?
Technically yes, but that's extremely unsafeIn the open network:
- Anyone can intercept your traffic (including passwords and cookies).
- Your laptop will become vulnerable to attacks (
ARP-spoofing,MITM). - The provider may block the IP for suspicious activity.
If you need an open network (for example, for smart devices without Wi-Fi support), use guest access with device isolation (available in Connectify or on some routers).
How long can a laptop run in hotspot mode on battery power?
Depends on the model and load:
- Laptops with Intel Core i3/i5 processors (For example, Lenovo ThinkPad T480): 3-5 hours.
- ARM-based Ultrabooks (For example, Apple M1/M2): 6-8 hours.
- Gaming laptops (For example, ASUS ROG Strix): 1.5-2 hours (due to high power consumption).
To extend operating time:
- Turn off the keyboard backlight.
- Reduce screen brightness to 50%.
- Activate the mode
Battery saving(Windows) orOptimized charging(macOS).