Do you urgently need internet on your phone, tablet, or second computer, but don't have a router handy? Modern laptops can easily be turned into full-fledged Wi-Fi hotspots—all you need is the right settings. In this article, we'll cover All current methods for distributing Wi-Fi from a laptop (including hidden Windows 11 features), we'll explain why your speed sometimes drops by half, and show you how to bypass your ISP's restrictions if they block such connections.
The advantage of this method isn't just the cost savings on a router. Sharing Wi-Fi from a laptop is useful when traveling, at a dacha, in a hotel with wired internet, or even if your main router suddenly breaks down. It's also the only way to connect devices without an Ethernet port to the internet (for example, iPad or Amazon Kindle), when the cable runs across the entire room. But there are also pitfalls: from problems with IPv6 to automatic network shutdown when switching to sleep mode. We'll tell you how to avoid them.
Important: If you are distributing internet from a laptop that is itself connected to Wi-Fi (and not via cable), the speed for clients will drop by at least 30%. This is due to simultaneous operation of the adapter in two modes: data reception and transmission. We'll explain how to minimize losses.
1. Method for Windows: Built-in access point (no programs required)
The most reliable and secure method is to use the built-in function Mobile hotspot, which is available in Windows 10 and 11. It automatically configures NAT (network address translation) and DHCP (IP address distribution), so even devices with outdated protocols (for example, Windows 7 or Android 5.0).
How to enable:
- Open
Settings → Network & Internet → Mobile Hotspot. - In the drop-down menu
Sharingselect the connection through which the laptop receives the Internet (for example,Ethernetor the name of your Wi-Fi network). - Click
Changenext toNetwork dataand ask:- 🔐 Network name (SSID): in Latin, without spaces (for example,
MyLaptopWiFi). - 🔑 Password: minimum 8 characters, with numbers and capital letters.
- 📶 Range: select
5 GHz, if your devices support it (less interference, higher speed).
- 🔐 Network name (SSID): in Latin, without spaces (for example,
Mobile hotspot in position On.If the button Mobile hotspot is inactive or gives an error "Unable to set up mobile hotspot", the problem is usually one of three things:
- 🚫 The virtual adapter driver is missing.Check in
Device ManageravailabilityMicrosoft Wi-Fi Direct Virtual Adapter. - 🔌 The laptop is connected to the Internet via VPNDisable VPN before setup.
- 🛡️ Firewall or antivirus is blocking distribution. Temporarily disable them (for example, Avast or Kaspersky often interfere).
☑️ Check before turning on the hotspot
A critical detail: if your laptop is connected to the internet via Wi-Fi (not cable), the speed for clients will be limited by the slowest link. For example, if the laptop receives 100 Mbps, but uploads a maximum of 50 Mbps. This is a physical limitation of the Wi-Fi standard (simultaneous operation in both modes).
2. Command Line: Wi-Fi Sharing for Advanced Users
If built-in Mobile hotspot does not work or requires advanced settings (eg changing the Wi-Fi channel or disabling encryption for older devices), use command lineThis method is universal for all versions of Windows, including Windows 7 (where there is no graphical interface for the hotspot).
Instructions:
- Launch
Command prompt as administrator(clickWin + X→Terminal (administrator)). - Enter the command to create the network:
netsh wlan set hostednetwork mode=allow ssid="NetworkName" key="Password123" keyUsage=persistentReplace
Network NameAndPassword123to their values. - Turn on distribution:
netsh wlan start hostednetwork - Allow internet sharing:
- Open
Control Panel → Network and Internet → Network and Sharing Center. - Click on the active connection (for example,
Ethernet) →Properties→ tabAccess. - Check the box
Allow other network users to share your Internet connection. - In the drop-down menu, select the network you created (it will be called
Local Area Connection* X).
- Open
To stop seeding, use the command:
netsh wlan stop hostednetwork
If after running the commands the network does not appear in the list of available ones, check:
- 🔧 Wi-Fi adapter driverHe must support
Hosted Network(check the specifications on the manufacturer's website, for example, for Intel AX200 or Qualcomm Atheros). - 📡 Adapter operating modeSome laptops (eg. Lenovo ThinkPad) require the mode to be turned on
Ad-Hocin BIOS. - 🔄 IP address conflictIf connected devices do not receive an IP address, enter the following in the command line:
ipconfig /release && ipconfig /renew
-->@echo offnetsh wlan start hostednetwork
exit
3. Wi-Fi Sharing on macOS (Including Ventura and Sonoma)
On MacBook Sharing Wi-Fi is even easier than on Windows, but there are some nuances frequency channels And compatibility with older devicesApple uses proprietary protocols to optimize speed, so an iPhone or iPad will connect to such a network faster than Android devices.
Step-by-step instructions:
- Open
System Preferences → Sharing. - In the left menu, select
Public Internet. - In the field
Connection viaPlease specify the internet source (e.g.EthernetorWi-Fi). - In the section
For computers usingmarkWi-Fi. - Click
Wi-Fi settingsand ask:- 🔐 Network name (For example,
MacBookPro_Hotspot). - 🔑 Password (minimum 8 characters).
- 📶 Channel: If the devices do not connect, try manually selecting a channel
6(less congested in apartment buildings).
- 🔐 Network name (For example,
Public Internet and press Start.macOS Features:
- ⚡ Energy saving: If you close the MacBook lid, Wi-Fi sharing will automatically turn off (even in sleep mode with the power plugged in).
- 🍎 Limitations with iCloud: if you have the feature enabled
Continentality(Handoff), some devices may not see the network. - 🔄 Reset settings: If your hotspot stops working after updating macOS, reset your network settings via
System Preferences → Network → Advanced → TCP/IP → Renew DHCP.
4. Linux: Sharing Wi-Fi via the Terminal (Ubuntu, Debian, Arch)
In Linux, Wi-Fi sharing requires manual configuration, but it gives you full control over network parameters. We'll look at a universal method via hostapd And dnsmasq, which works on most distributions, including Ubuntu 22.04, Debian 12 And Arch Linux.
Step 1: Install the required packages:
sudo apt update && sudo apt install hostapd dnsmasq
Step 2: Set Up hostapd (access point):
sudo nano /etc/hostapd/hostapd.conf
Add to file:
interface=wlan0driver=nl80211
ssid=MyLinuxHotspot
hw_mode=g
channel=6
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=SecurePassword123
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
Step 3: Set Up dnsmasq (DHCP server):
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 4: Start the services:
sudo systemctl unmask hostapdsudo systemctl enable hostapd
sudo systemctl start hostapd
sudo systemctl start dnsmasq
If errors of the type occur "Could not set channel for kernel driver", check:
- 🔧 AP mode support your Wi-Fi adapter (command
iw list | grep "AP"must returnAP). - 🚫 Conflict with NetworkManager. Disable it:
sudo systemctl stop NetworkManager. - 🔄 RFKILL blocking. Check:
rfkill listIf Wi-Fi is blocked, unblock it:sudo rfkill unblock wifi.
How to share Wi-Fi without a password (open network)
To create an open network (without password) in the file hostapd.conf delete the lines:
wpa=2wpa_passphrase=SecurePassword123
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
And add:
auth_algs=1
wpa=0
⚠️ Warning: Open networks are vulnerable to the Evil Twin attack. Do not use them to transmit sensitive data.
5. Why is my laptop's Wi-Fi slow (and how to speed it up)
If the internet speed on connected devices is 2-5 times slower than on a laptop, the problem lies in one of four factors:
| Cause | How to check | Solution |
|---|---|---|
| Double load on the Wi-Fi adapter | The laptop is connected to the Internet via Wi-Fi, not a cable. | Connect to the Internet via Ethernet or use a USB Wi-Fi adapter (for example, TP-Link TL-WN823N) |
| Outdated Wi-Fi standard | The protocol is specified in the network settings 802.11g (max 54 Mbps) |
Switch to 802.11n (up to 300 Mbps) or 802.11ac (up to 1 Gbps) in the adapter parameters |
| Interference from other networks | Run the ether analysis program Wi-Fi Analyzer (Android) or linssid (Linux) |
Manually select the least loaded channel (for example, 13 for 2.4 GHz or 149 for 5 GHz) |
| Provider restrictions | The speed drops exactly by half (for example, from 100 to 50 Mbps) | Call your provider's support and find out if they are blocking it. NAT traffic (a common practice among Rostelecom And Beeline) |
The most effective way to speed up distribution - use external USB Wi-Fi adapter (For example, ASUS USB-AC56 or Edimax EW-7811UTC). It will unload the built-in module of the laptop and allow you to distribute the Internet at speeds of up to 867 Mbps (in mode 802.11ac). The cost of such an adapter starts from 1,500 rubles, but it pays for itself thanks to its stable operation.
6. Security: How to protect your network from hacking
Sharing Wi-Fi from a laptop poses risks if security isn't properly configured. Attackers can:
- 🕵️♂️ Intercept traffic (for example, logins from social networks).
- 💻 Connect to your network and use it for illegal activities (your IP will be in the logs).
- 📱 Infect devices with viruses through vulnerabilities in the protocol
WPS.
Minimum protective measures:
- Use WPA3 (or at least WPA2-PSK) instead of the outdated one
WEP. - Turn it off
WPS(This is a protocol with known vulnerabilities, it can be hacked in 2-4 hours). - Hide
SSID(network name) in public places (in the router settings or via the commandnetsh wlan set hostednetwork ssid= hidden=yes). - Limit the number of connected devices (in
hostapd.confaddmax_num_sta=5).
For advanced protection:
- 🔒 MAC address filteringAllow connections only to known devices (in
hostapd.confaddmacaddr_acl=1and list the addresses throughaccept_mac_file). - 🛡️ VLAN isolationSet it up so that connected devices cannot see each other (useful in a hotel or coworking space).
- 🔄 Changing your password regularly. Use password managers (for example, Bitwarden) to generate complex combinations.
arp -a
or a program Wireless Network Watcher (Windows) If you see unfamiliar IP or MAC addresses, change your password immediately.
⚠️ Warning: If you distribute Wi-Fi in a public place (cafe, airport), your laptop becomes vulnerable to attacks like The Man in the Middle (MITM). Disable folder and printer sharing in network settings (Control Panel → Network → Sharing Options).
7. Alternative ways to distribute the Internet (without Wi-Fi)
If your laptop's Wi-Fi is broken or you want to connect a device without a wireless module (for example, Raspberry Pi or an old printer), there are 3 alternative methods:
1. Distribution via Bluetooth (PAN)
- ✅ Suitable for Android, iPhone or a second PC.
- ⚡ Speed: up to 3 Mbps (enough for instant messaging, but not for video).
- 🔧 How to enable:
Settings → Devices → Bluetooth → Advanced options → Allow devices to connect to the Internet.
2. USB cable (Reverse Tethering)
- ✅ Works even without drivers (on Android (root or debug mode required).
- ⚡ Speed: up to 40 Mbps (depending on USB version).
- 🔧 How to enable: activate on your phone
USB modemin the access point settings.
3. Ethernet cable (if the laptop has RJ-45)
- ✅ Maximum speed (up to 1 Gbps).
- 🔧 How to enable: connect the cable to the second PC and enable sharing in the network settings (similar to Wi-Fi).
⚠️ Attention: when distributing the Internet via USB or Bluetooth Your laptop will drain 1.5–2 times faster. Plug it into a power outlet if you plan to use it for a long time.
FAQ: Frequently asked questions about sharing Wi-Fi from a laptop
Is it possible to distribute Wi-Fi if the laptop itself is connected to the Internet via Wi-Fi?
Yes, but the speed for clients will be 2-3 times slower. This is because the laptop's Wi-Fi adapter operates in two modes simultaneously: client (data reception) and access points (transmission). Physically, it can't transmit data at a speed faster than half the incoming speed. For example, if a laptop receives 100 Mbps, clients will receive ~30–50 Mbps.
Solution: Connect your laptop to the internet via Ethernet cable or use external USB Wi-Fi adapter (For example, TP-Link TL-WN725N) for distribution.
Why do devices connect to the network, but the Internet doesn't work?
The reason in 90% of cases is incorrect NAT or DHCP settings. Check:
- Is Internet Sharing enabled in your primary connection settings (in
Network and Control Centerfor Windows orSystem settingsfor macOS). - Are your devices receiving an IP address? Check your phone/tablet's Wi-Fi settings: if the IP starts with
169.254, then DHCP is not working. - Is your firewall blocking traffic? Temporarily disable it and test the connection.
If you use command line In Windows, make sure that after the command netsh wlan start hostednetwork you have allowed public access in Connection properties.
How to share Wi-Fi from a Linux laptop without hostapd?
If hostapd is not supported by your Wi-Fi adapter (for example, on older laptops with adapters Broadcom), use create_ap — a script that automates the setup:
- Install dependencies:
sudo apt install util-linux procps hostapd iproute2 iw haveged dnsmasq - Download the script:
git clone https://github.com/oblique/create_apcd create_ap - Start the access point:
sudo ./create_ap wlan0 eth0 MyNetwork MyPasswordHere
wlan0— Wi-Fi interface,eth0— interface with the Internet (Ethernet).
The script will automatically configure NAT And DHCP, so no additional commands are needed.
Is it possible to distribute Wi-Fi from a laptop? iPhone or iPad without password?
Technically yes, but Apple blocks connections to open networks by default. To bypass this limitation:
- Create a network on your laptop without a password (V
hostapd.confdelete lines withwpa). - On iPhone go to
Settings → Wi-Fi, find your network and clickConnect. - When the warning appears
"Unable to connect to the network", clickConnect without internet. - Open
Settings → General → VPN and device management → Configuration settingsand manually specify:IP address:192.168.100.2Subnet mask:255.255.255.0Router:192.168.100.1(your laptop's IP)
⚠️ After this, the Internet will work, but all data will be transmitted unencryptedDo not use this network for banking transactions!
How can I prevent Wi-Fi from disabling when I close my laptop lid?
By default, Windows and macOS turn off Wi-Fi when entering sleep mode. To avoid this:
For Windows:
- Open
Control Panel → Power Options → Change plan settings → Change advanced power settings. - Find the section
Wireless Network Adapter Settings → Power Saving Modeand installMaximum performance. - Turn it off
Allow hybrid sleepin the sectionDream.
For macOS:
- Open
System Preferences → Battery. - Uncheck the box
Enable sleep modes when running on battery power. - Install
Turn off display when idleonNever(but this will increase battery consumption).
To be on the safe side, plug your laptop into a power outlet - some models (for example, Dell XPS) ignore power saving settings when the battery is low.