You can turn your laptop into a fully-fledged Wi-Fi router in 5 minutes—without purchasing any additional equipment. This is a lifesaver when you don't have a router and need to share internet with a smartphone, tablet, or a second computer. For example, at a hotel with a wired connection, at a dacha with a USB modem, or on a trip with just a 4G dongle.
We have tested all current methods on Windows 10/11, macOS Ventura/Sonoma and popular distributions Linux (Ubuntu, Mint). This article includes step-by-step instructions with images, a data transfer speed comparison, and solutions to common errors. Important: Some methods require administrator rights and may be blocked by security policies on corporate laptops.
If you need to share the Internet from your laptop one-time (e.g., for guests), a built-in mobile hotspot is suitable. For permanent use, it's better to set up a virtual router via the command line or specialized utilities like Connectify or mHotspot.
Method 1: Mobile hotspot (Windows 10/11)
The simplest method is a built-in function Mobile hotspot, which appeared in Windows 10 and saved in Windows 11. It automatically configures the network, encryption, and manages connected devices.
How to enable:
- 🖥️ Open
Settings → Network & Internet → Mobile Hotspot. - 🔄 In the drop-down menu
Sharing an Internet connectionSelect a source (Ethernet, Wi-Fi, or USB modem connection). - 🔐 Click
Changenext toNetwork datato set the network name (SSID) and password (minimum 8 characters). - 🔺 Toggle the slider
Internet sharing via Wi-Fiin positionOn
By default, the network operates in the range 2.4 GHz at a speed of up to 150 MbpsTo increase the speed to 866 Mbps (if your laptop supports 5 GHz), use command line (method 2).
The Wi-Fi adapter driver has been updated to the latest version.
The laptop is connected to a power source (Wi-Fi distribution drains the battery)
VPN is disabled on client devices (may block the connection)
-->
⚠️ Note: On some laptops Lenovo And HP with preinstalled Windows The mobile hotspot feature can be disabled in the BIOS. To enable it, go toBIOS/UEFI(usually by keyF2orDelat boot) and enable the optionWireless LAN Radio Control.
Method 2: Command Prompt (Universal Method for Windows)
This method works even if in Parameters the tab is missing Mobile hotspotIt allows you to flexibly configure the Wi-Fi channel, security type and range (2.4 GHz or 5 GHz).
Open Command prompt as administrator (click Win + X → Terminal (administrator)) and enter the commands sequentially:
netsh wlan set hostednetwork mode=allow ssid="MyWiFi" key="12345678" keyUsage=persistent
netsh wlan start hostednetwork
Where:
MyWiFi— the name of your network (can be replaced).12345678— password (minimum 8 characters).
To allow other devices to access the internet, open Control Panel → Network and Internet → Network and Sharing Center → Change adapter settings. Find your primary connection (e.g. Ethernet), right-click → Properties → Access. Check the box. Allow other network users to share your Internet connection and select the created network from the list (Local Area Connection* X).
| Parameter | Default value | Recommended value |
|---|---|---|
| Frequency range | 2.4 GHz |
5 GHz (if supported by the adapter) |
| Channel | Auto | 36 or 149 (less busy) |
| Security type | WPA2-PSK |
WPA3-PSK (if there is support) |
| Max devices | 10 | Up to 64 (limited by adapter driver) |
3. Method: Specialized programs
Third-party utilities simplify setup and add useful features, such as traffic limiting, device blacklisting, and automatic shutdown timers. We tested three popular programs:
- 🔧 Connectify Hotspot — paid, but with a free trial period. Supports
WPA3, shows the speed of connected devices and allows you to block ads at the DNS level. - 🌐 mHotspot — free, portable (no installation required). Can share the Internet even with
3G/4G modem. - 🛡️ Baidu WiFi Hotspot — Chinese-language, but with a Russian patch. It can bypass restrictions from some providers (for example, Beeline or Megaphone with MAC address binding).
Example of setting in Connectify:
- Download and install the program from official website.
- In the field
Internet to ShareSelect a source (Ethernet, Wi-Fi or 4G). - Ask
Hotspot Name(network name) andPassword. - Tab
Clientswill show all connected devices and their IP addresses.
⚠️ Attention: Free versions of programs (for example, mHotspot) can embed ads in the DNS queries they issue. To avoid this, manually enter the DNS from Cloudflare (1.1.1.1) or Google (8.8.8.8) in the connection settings.
Built-in Windows Mobile Hotspot
Connectify Hotspot
mHotspot
Command line
Another one (I'll write in the comments)-->
Method 4: Sharing Wi-Fi with macOS (Sonoma, Ventura, Monterey)
On MacBook Sharing the Internet is even easier than on Windows. The function Internet access sharing built into the system and supports all types of connections: Ethernet, Wi-Fi (bridge mode), Thunderbolt and even iPhone via USB-tethering.
Instructions:
- Open
System Preferences → Sharing. - In the left menu, select
Internet access sharing. - In the field
Connection viaPlease provide the source (eg.EthernetorThunderbolt). - In the section
For computers usingmarkWi-Fi. - Click
Wi-Fi settingsand ask:- 📛
Network name(For example,MacBook-Pro-Hotspot) - 🔒
Channel(recommended)149For5 GHz) - 🔑
Password(minimum 8 characters) - 🛡️
Security— chooseWPA2/WPA3 Personal
- 📛
Internet access sharing and press Start.On MacBooks with M1/M2/M3 chips, Wi-Fi distribution in the 5 GHz band works more reliably than on models with Intel processors, thanks to an improved wireless module.
Method 5: Linux (Ubuntu, Mint, Debian)
In Linux, Wi-Fi distribution is implemented through utilities hostapd (to create an access point) and dnsmasq (for DHCP) This method requires root privileges (sudo) and works on most distributions.
Install the required packages:
sudo apt update
sudo apt install hostapd dnsmasq
Next, edit the configuration file hostapd:
sudo nano /etc/hostapd/hostapd.conf
Add to file:
interface=wlan0driver=nl80211
ssid=LinuxHotspot
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
Start the access point:
sudo systemctl unmask hostapdsudo systemctl enable hostapd
sudo systemctl start hostapd
To automatically distribute the Internet, set up iptables:
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADEsudo iptables -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT
⚠️ Note: On some laptops with Broadcom-adapters (for example, in old ones) MacBook (under Linux) additional driver configuration may be required. Install the package firmware-b43-installer and reboot the system.
How to check if your Wi-Fi adapter supports AP (Access Point) mode?
Open the terminal and enter the command:
iw list | grep "AP"
If there is a line in the output AP — your adapter supports Wi-Fi sharing. If not, you'll need to use a USB Wi-Fi adapter with a chip. Ralink or Atheros (eg, TP-Link TL-WN722N).
6. Solving typical problems
Even with proper setup, errors can still occur. Here are the most common ones and how to fix them:
| Problem | Cause | Solution |
|---|---|---|
| The devices connect, but the internet doesn't work. | Sharing is not configured | Check your settings Public access V Connection properties (Windows) or System settings (macOS). |
| The network is not visible on the phone | Invalid channel or range | Try changing the channel to 6 (2.4 GHz) or 36 (5 GHz) in the host spot settings. |
| Low speed (less than 10 Mbps) | 2.4 GHz channel congestion | Switch to 5 GHz or change the channel using the utility WiFi Analyzer (Android) or NetSpot (macOS/Windows). |
| Error: "Failed to start hosted network" | The adapter driver does not support hostednetwork |
Update the driver from the laptop manufacturer's website or use the program Connectify. |
If your laptop doesn't distribute Wi-Fi after an update Windows, reset the TCP/IP stack:
netsh int ip reset
netsh winsock reset
Then restart your computer.
7. Security: How to protect your access point
An open Wi-Fi network poses a risk of data leakage or unauthorized access to your devices. Follow these rules:
- 🔐 Use
WPA3-PSKinstead ofWPA2(if supported). - 🔄 Change your password every 2–3 months (especially if you share the Internet in public places).
- 🚫 Turn off the access point when it is not needed.
- 🛡️ Turn on your firewall and check that
Additional parametersOnly outgoing traffic is allowed for connected devices.
To restrict access by MAC addresses (on Windows):
- Find out the MAC addresses of trusted devices (on your phone:
Settings → About phone → Status → Wi-Fi MAC address). - Open
Network and Sharing Center → Change adapter settings. - Right-click on the virtual adapter →
Properties → Settings → Advanced. - Find the parameter
Network AddressorMAC Filterand add allowed addresses.
On macOS And Linux MAC filtering can be configured via hostapd.conf, adding the lines:
macaddr_acl=1
accept_mac_file=/etc/hostapd/accept_mac.list
Where accept_mac.list — a text file with a list of allowed MAC addresses.
8. Alternative options for distributing Internet
If Wi-Fi distribution is not possible (for example, the adapter is broken), use these methods:
- 🔌 USB cable (Reverse Tethering): Connect your phone to your laptop via USB, turn it on
USB modemin your phone's settings. On Windows, a driver may be required. RNDIS. - 🔄 Bluetooth modem: Slower than Wi-Fi (up to
3 Mbps), but saves battery power. It turns on inSettings → Devices → Bluetooth. - 🌍 Ethernet hub: If you have multiple devices with a port
RJ-45, connect them through a switch to the laptop. Configuration requiredICS(Internet Sharing).
For Android smartphones with support Wi-Fi Direct (For example, Samsung Galaxy or Xiaomi) you can organize an access point using the function Mobile hotspot, and then connect the laptop to the phone via Wi-Fi Direct for sharing files without the Internet.
FAQ: Frequently Asked Questions
Is it possible to share Wi-Fi from a laptop if the laptop itself is connected to Wi-Fi?
Yes, but with reservations. Windows This is only possible if the underlying network is using WPA2, and the virtual hotspot is another channel. On macOS turn on the mode Sharing → Wi-Fi and select the source Wi-Fi (The laptop will act as both a client and an access point.) Speed will drop by 30–50% due to relay overhead.
Why is the speed via shared Wi-Fi lower than via cable?
This is normal: wireless data transmission is always slower than wired data transmission due to interference, standard limitations 802.11 and encryption overhead. For example, if your Ethernet gives 100 Mbps, via Wi-Fi you will receive 60–80 Mbps (on 2.4 GHz) or 80–95 Mbps (on 5 GHz).
How to share Wi-Fi from a laptop Chromebook?
On Chromebook There is no built-in hotspot function, but you can use Linux container (if enabled Crostini) and set up hostapd as in the method for Linux. Alternatively, connect Chromebook to the phone via USB and turn it on USB modem.
Will Wi-Fi hotspots work on airplanes?
No. Most airlines prohibit the use of devices in transmitting mode (including hotspots) during flights. Only airplane mode or connecting to on-board Wi-Fi (if provided by the airline).
Is it possible to distribute Wi-Fi from a laptop? Smart TV or prefix (Xiaomi Mi Box, Apple TV)?
Yes, but there are some nuances:
- Smart TV (Samsung, LG, Sony) connect to the hotspot like regular devices, but may not see networks in range
5 GHz(check your TV settings). - Apple TV requires a network with
WPA2-PSK (AES)- other encryption types are not supported. - On Xiaomi Mi Box or NVIDIA Shield Disable the option before connecting
Wi-Fi scannerin the developer settings (may cause conflicts).