Modern laptops can not only connect to Wi-Fi but also become a wireless internet source themselves. This feature is indispensable when you need to quickly set up a network for a smartphone, tablet, or other device and don't have a router handy. However, not everyone knows that Sharing Wi-Fi from a laptop has its own nuances: from choosing the right channel to ensuring connection security.
In this article we will look at all the ways to create an access point on Windows 10/11, macOS And LinuxWe'll also explain how to avoid common mistakes. You'll learn which settings affect signal speed and stability, how to protect your network from unauthorized access, and what to do if devices won't connect. We'll pay special attention to hidden parameters, which are rarely mentioned in standard instructions.
Preparing your laptop for Wi-Fi sharing
Before turning your laptop into a hotspot, make sure it meets two key requirements: Wi-Fi adapter and properly configured Internet connection. Most modern models (for example, Lenovo ThinkPad, Dell XPS or HP Pavilion) are equipped with built-in adapters, but older devices may require an external USB module.
Check your current network connection. If you are using Ethernet (cable) or mobile Internet (3G/4G modem), there won't be any problems. However, when distributing via the same Wi-Fi to which the laptop is connected (for example, from a router), problems may arise. IP address conflictsIn this case, it is better to use a wired connection or disconnect from the main network.
- 🔧 Check your drivers: Update your Wi-Fi adapter driver via
device Manager(Windows) orTerminal(macOS/Linux). Outdated versions often cause distribution errors. - 📶 Rate the signal: If your laptop is connected to a weak Wi-Fi network, the signal will be even worse. Use programs like NetSpot to analyze the interference level.
- 🔒 Disable VPNVPNs can block traffic to other devices. Temporarily disable them before setting up.
⚠️ Attention: On some corporate laptops (e.g. with Windows 10 Pro (In a domain, Wi-Fi sharing may be blocked by security policies. In this case, administrator rights or approval from the IT department will be required.)
Sharing Wi-Fi on Windows 10 and 11: 3 Proven Methods
Microsoft offers several built-in tools for creating a hotspot. Let's look at them in order, from the simplest to the more complex but flexible.
Method 1: Mobile Hotspot (Recommended for Beginners)
This is the fastest method that doesn't require the command line. Suitable for Windows 10 (version 1607 and later) And Windows 11:
- Open
Settings → Network & Internet → Mobile Hotspot. - In the drop-down menu
Sharingselect the connection through which the laptop receives the Internet (for example,EthernetorWireless network). - Click
Changeto set the network name (SSID) and password (minimum 8 characters). - Activate the switch
Allow use of my internet connection.
Done! Now other devices can connect to the created network. Please note that by default Windows uses Channel 6 in the 2.4 GHz band. If there are many networks on this channel in your area, the signal will be unstable. To change the channel, you will need command line (see Method 3).
Method 2: Via "Computer-to-computer network" (for older versions of Windows)
If you have Windows 7/8 or Windows 10 Before version 1607, use this method:
- Open
Control Panel → Network and Sharing Center → Set up a new connection. - Select
Setting up a computer-to-computer network. - Set the network name, security type (
WPA2-Personal(recommended) and password. - Check the box
Save network settings.
Once the network is created, go to Connection properties and on the tab Access Allow other users to use your laptop's internet connection. This method is less secure than Mobile hotspot, and may require a manual restart after sleep/hibernation.
Method 3: Command Line (Maximum Control)
For advanced users who need advanced settings (for example, choosing a channel or 5 GHz range), the method through CMDHere are the step-by-step instructions:
netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=12345678 keyUsage=persistent
netsh wlan start hostednetwork
Replace MyWiFi to the desired network name, and 12345678 — to the password. To stop distribution, use the command:
netsh wlan stop hostednetwork
To change the channel or range, do:
netsh wlan set hostednetwork channel=11 band=2.4GHz
⚠️ Attention: After rebooting the laptop, distribution via the command line is disabled. To automate the launch, create .bat-file with commands and add it to startup.
Make sure your Wi-Fi adapter is turned on|Check that your laptop is connected to the internet|Disable VPN and antivirus firewalls|Set a password of at least 8 characters-->
Setting up a hotspot on macOS (Ventura and later)
Apple has simplified the process of sharing the Internet with MacBook to a minimum. Unlike Windows, there's no need to enter commands here—everything is configured through a graphical interface. However, there are some nuances with device compatibility: some older smartphones (eg. iPhone 6s or Android 7.0) may not connect to a network created on macOS Sonoma.
Instructions for macOS Ventura/Sonoma/Sequoia:
- Open
System Preferences → Sharing. - In the left menu, select
Public Internet. - In the field
General connectionPlease specify the internet source (e.g.EthernetorThunderbolt). - In the section
For computers usingcheck the box next to itWi-Fi. - Click
Wi-Fi settingsand ask:- Network Name (
SSID) - Channel (recommended)
149for 5 GHz or6for 2.4 GHz) - Security type (
WPA2/WPA3 Personal) - Password (minimum 8 characters)
- Network Name (
Start.macOS automatically selects the least crowded channel in the 5 GHz band if your MacBook supports this standard (2018 models and later). This significantly reduces interference from neighboring networks. To check the supported bands, close System report (Apple Menu → About This Mac → System Report → Wi-Fi).
| MacBook model | 5 GHz support | Max. distribution speed |
|---|---|---|
| MacBook Air (M1/M2, 2020–2026) | Yes (802.11ax) | up to 1.2 Gbps |
| MacBook Pro 13" (2017–2019) | Yes (802.11ac) | up to 867 Mbps |
| MacBook (Retina, 12", 2015–2017) | Yes (802.11ac) | up to 433 Mbps |
| MacBook Pro 15" (2016 and later) | No (2.4 GHz only) | up to 150 Mbit/s |
Sharing Wi-Fi from a Linux laptop (Ubuntu, Debian, Fedora)
Linux offers flexible tools for creating an access point, but the process requires knowledge of commands. We'll look at two methods: nmcli (for distributions with NetworkManager) And hostapd (for advanced users).
Method 1: Using NetworkManager (Easy)
Suitable for Ubuntu 22.04+, Debian 11+, Fedora 36+:
- Make sure that
NetworkManagersupports distribution:nmcli dev wifi listIf the command lists networks, everything is fine.
- Create an access point:
nmcli dev wifi hotspot ifname wlp3s0 ssid LinuxHotspot password"12345678"Replace
wlp3s0the name of your Wi-Fi adapter (you can find it out with the commandip a). - Enable Internet Sharing:
sudo sysctl -w net.ipv4.ip_forward=1sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADEHere
eth0— the interface through which the laptop receives the Internet (for example, Ethernet).
Method 2: hostapd + dnsmasq (for advanced users)
This method allows you to customize hidden network, MAC address filtering and other advanced features. You will need to install the following packages:
sudo apt install hostapd dnsmasq
Next, edit the configuration files:
/etc/hostapd/hostapd.conf— network settings (name, password, channel)./etc/dnsmasq.conf— DHCP parameters (IP address distribution).- 📡 Channel congestion: In the 2.4 GHz band, most routers use channels 1, 6, and 11. If your laptop is distributing Wi-Fi on the same channel as 5 neighboring networks, interference will occur.
- 🔋 Energy saving: Your Wi-Fi adapter may be in power saving mode in your Windows/macOS power settings, reducing signal strength.
- 🔄 Double NAT: If the laptop is connected to another Wi-Fi network itself (not via cable), double address translation occurs, which slows down the connection.
Example of minimal configuration for hostapd.conf:
interface=wlp3s0driver=nl80211
ssid=MyLinuxWiFi
hw_mode=g
channel=7
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
After configuration, start the services:
sudo systemctl start hostapd
sudo systemctl start dnsmasq
⚠️ Attention: On some distributions (for example, Arch Linux) you may need to disable the built-insystemd-networkd, since it conflicts withhostapd. Use the commandsudo systemctl disable systemd-networkd.
How to find out the name of a Wi-Fi adapter in Linux?
In the terminal, run the command ip a or iwconfigLook for an interface with a name starting with wlp (For example, wlp3s0) or wlan (For example, wlan0).
Optimizing distribution speed and stability
Even if the network is successfully created, internet speed on connected devices may be slow. This is due to several factors:
To improve the quality of distribution:
- Change the channel to a less busy one. To do this, scan the airwaves with the program WiFi Analyzer (Android) or NetSpot (macOS/Windows). Optimal channels for 2.4 GHz:
1,11(in Russia) or13(in Europe). For 5 GHz, select channels36–48or149–165. - Turn off power saving for Wi-Fi adapter:
- Windows:
Device Manager → Network Adapters → Your adapter's properties → Power Management → Uncheck "Allow the computer to turn off...". - macOS:
System Preferences → Energy Saver → Disable "Battery Optimization".
- Windows:
867 Mbps (against 150 Mbps in 2.4 GHz).| Problem | Cause | Solution |
|---|---|---|
| Low speed | 2.4 GHz channel congestion | Switch to 5 GHz or change the channel |
| Frequent breaks | Saving Wi-Fi adapter power | Disable power saving mode |
| The devices do not connect. | Incompatibility of standards (e.g. WPA3) | Change the security type to WPA2 |
| No internet access | Network Address Translation (NAT) is not configured. | Check your firewall and routing settings |
Security: How to Protect Your Network from Hacking
Sharing Wi-Fi from a laptop is convenient, but also risky if you don't ensure proper security. Attackers can:
- 🔓 Connect to your network and intercept traffic (for example, social media passwords).
- 📥 Download prohibited content from your IP address.
- 🦠 Spread viruses to connected devices.
Minimum safety measures:
- Use WPA2/WPA3: Never set up a network with open access (no password) or outdated encryption
WEP, which can be hacked in minutes. - Complex password: Minimum 12 characters, with a combination of letters, numbers, and special characters. Example:
WiFi@Home2026!. - Hide your SSID (Don't reveal the network name): This won't protect you from professional hackers, but it will reduce the number of accidental connections. In Windows, this is done through the registry; in Linux, through a parameter.
ignore_broadcast_ssid=1Vhostapd.conf. - MAC filtering: Allow only certain devices to connect. In Linux, this is configured in
hostapd.confvia parametermacaddr_acl=1and the listaccept_mac_file.
Additional measures for advanced users:
- Isolate devices: Configure the firewall so that connected gadgets cannot see each other (option
AP IsolationVhostapd). - Limit your bandwidth: In Linux this is done via
tc(Traffic Control) to prevent one device from taking up the entire channel. - Enable logging: Keep a connection log using
hostapdorsyslogto monitor suspicious activity.
⚠️ AttentionIf you're distributing Wi-Fi in a public place (such as a cafe or coworking space), never use the same network as your laptop. Create a separate connection via a USB modem or a second Ethernet port to avoid data leaks.
Common mistakes and their solutions
Even with proper setup, problems can still arise. We've compiled the most common errors and how to fix them.
1. The devices connect, but there is no internet.
Reasons and solutions:
- Public access is not enabled: In Windows, check that
Connection properties(on the tabAccess) the box is tickedAllow other users.... - The firewall is blocking traffic: Temporarily disable it or add an exception for
ICS (Internet Connection Sharing). - IP address conflict: If the laptop and devices receive addresses from the same subnet (for example,
192.168.1.x), change the DHCP range. In Linux, this is done in/etc/dnsmasq.conf:
dhcp-range=192.168.42.100,192.168.42.200,255.255.255.0,24h
2. The laptop does not create a network (error "Failed to start the hosted network")
This error is specific to Windows and is related to:
- Lack of support: Some Wi-Fi adapters (for example, in older Asus or Acer) do not support the mode
AP (Access Point)Check the specifications of your model. - Outdated drivers: Update them manually from the manufacturer's website (not via Windows Update!).
- Conflict of services: Turn it off
WLAN AutoConfig Service:
net stop wlansvc
net start wlansvc
3. Low speed or frequent breaks
The problem may lie in:
- Laptop overheatingThe Wi-Fi adapter heats up under load, causing a decrease in speed. Use a cooling pad.
- Incompatibility of standards: If the laptop is distributing
802.11n(Wi-Fi 4), and the smartphone only supports802.11ac(Wi-Fi 5), speed will be limited150 Mbps. Update the adapter driver. - Interference from other devicesMicrowaves, wireless mice, and Bluetooth speakers operate on the 2.4 GHz frequency. Switch to 5 GHz.
How to check if your adapter supports AP mode?
In Windows, open a command prompt and type:
netsh wlan show drivers
Look for the line Hosted network support: yes. If there No, your adapter will not be able to distribute Wi-Fi.
FAQ: Frequently asked questions about sharing Wi-Fi from a laptop
Is it possible to share Wi-Fi from a laptop if it is connected to another Wi-Fi network?
Technically yes, but it creates double NAT, which can cause problems with some applications (such as online games or IP telephony). It's better to connect your laptop to the internet via Ethernet or USB modem.
How many devices can I connect to a hotspot on a laptop?
The limitation depends on the operating system and hardware capabilities:
- Windows: up to 8 devices (service limitation
ICS). - macOS: up to 10 devices (may vary depending on model).
- Linux: up to 20+ (depending on settings)
hostapdand processor power).
When connecting more than 5 devices, expect reduced speed and increased latency (ping).
Why does my laptop stop distributing Wi-Fi after sleep/hibernation?
This is a common problem on Windows and macOS. Solutions:
- IN Windows create
.bat-file with network startup commands and add it toTask Schedulerto the eventWhen waking up from sleep. - IN macOS disable the option
Turn off Wi-Fi when going to sleepin the energy saving settings. - IN Linux add a restart script
hostapdVsystemd-service.
How to share Wi-Fi from a laptop to an Android smartphone if it won't connect?
The problem is often related to incompatibility of security standards or channels:
- Change the encryption type from
WPA3onWPA2. - If you are using 5 GHz, try switching to 2.4 GHz (some budget smartphones do not support 5 GHz).
- Make sure that the phone is turned off on your smartphone.
Modem mode(it may conflict with the connection to another access point). - Update your smartphone's firmware—older versions of Android (below 10) have bugs with connecting to ad-hoc networks.
Is it possible to share Wi-Fi from a laptop without a password?
Technically yes, but that's extremely unsafeWithout a password, the following people will be able to connect to your network:
- Neighbors, which will lead to a decrease in speed.
- Attackers who can intercept your traffic (for example, logins/passwords from websites).
- Bots that scan networks to spread viruses.
If you need a password temporarily (for example, for guests), use guest access with a time or speed limit. In Linux, this is configured via hostapd with parameter wpa_psk_file, where you can specify temporary passwords.