Turning your laptop into a Wi-Fi hotspot is easier than it seems. This function saves you when you don’t have a router at hand, but you need to distribute the Internet to a smartphone, tablet or second computer. For example, in a hotel with a wired connection, in a country house with a USB modem, or when the main router suddenly breaks down. But not everyone knows that laptop can work as a full-fledged router — with setting the network name, password and even limiting connected devices.
In this article we will look at all the ways to create an access point: from built-in tools Windows 10/11, macOS And Linux to specialized programs like Connectify or mHotspot. We will pay special attention hidden settings that allow you to bypass ISP restrictions on Internet distribution via a mobile hotspot. We’ll also find out why sometimes the speed through distribution drops by 2-3 times and how to fix it.
1. Preparing the laptop: what to check before setting up
Before turning on Wi-Fi distribution, make sure that your laptop is technically capable of this. Basic requirements:
- 🖥️ Wi-Fi adapter with mode support
AP (Access Point). Almost all modern laptops (after 2012) are equipped with it, but it may not work on older models. - 🔌 Active Internet connection. This could be Ethernet (wire), USB modem (3G/4G) or even a second Wi-Fi adapter (if the laptop is connected to another network).
- 🔒 Administrator rights. Without them, you cannot change network settings or run the command line as an administrator.
- 🛡️ Disabled antivirus/firewall. Programs like Kaspersky or Avast may block the distribution, considering it suspicious activity.
To check if your Wi-Fi adapter supports access point mode, open Command line (Win + R → enter cmd → Enter) and run the command:
netsh wlan show drivers
In the results, find the line Hosted network support. If it says Yes - everything is fine. If No — update the adapter driver on the manufacturer’s website (for example, for Intel or Qualcomm Atheros) or use an external USB-Wi-Fi module.
⚠️ Attention: On some laptops Lenovo And HP the function is disabled in BIOS/UFEIWi-Fi Direct, which is needed for distribution. Go to the BIOS (usually theF2orDelat boot) and enable it in the sectionAdvanced → Wireless.
2. Method 1: Mobile hotspot in Windows 10/11 (the easiest)
Modern versions of Windows have a built-in tool "Mobile hotspot", which allows you to distribute the Internet in a few clicks. This method is suitable for most users and does not require knowledge of commands.
Instructions:
- Open
Options(Win + I) → go toNetwork and Internet → Mobile hotspot. - In the drop down menu
Sharingselect the connection through which the laptop receives the Internet (for example,EthernetorLocal network connection). - Click
Editnext toNetwork name and passwordto set your parameters (minimum 8 characters for password). - Turn on the switch
Allow use of my internet connection.
Done! Now other devices can connect to the created network. The default maximum number of connections is 8 devices, but it can be increased through the registry (more on that below).
⚠️ Attention: If, after turning on the hotspot, the Internet disappears on the laptop itself, check your firewall settings. Add an exception forsvchost.exeinWindows Defender Firewall → Allow application interaction.
Wi-Fi on the laptop is turned on
Antivirus is temporarily disabled
The correct Internet source has been selected (Ethernet/USB modem)
The network password contains letters and numbers -->
3. Method 2: Command Line (for Windows 7/8/10/11)
If Mobile Hotspot does not work or you need advanced settings (for example, changing the Wi-Fi channel), use command line. This method is universal and works even on older versions of Windows.
Steps:
- Run
Command line as administrator(Win + X → Command Prompt (Administrator)). - Create a network named
MyWiFiand password12345678(replace with your own):
netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=12345678
- Start distribution:
netsh wlan start hostednetwork
- Allow Internet sharing:
- Open
Control Panel → Network and Sharing Center → Change adapter settings. - Find the connection through which the laptop receives the Internet (for example,
Ethernet), right click →Properties → Access. - Check the box
Allow other network users to use your Internet connection. - In the drop-down menu, select the created connection (usually
LAN connection* X).
- Open
To stop distribution, do:
netsh wlan stop hostednetwork
This method is flexible: you can change the Wi-Fi channel (automatic by default), limit the number of connections, or even configure QoS (quality of service) to prioritize traffic. For example, so that games or video calls are given priority.
If distribution does not start automatically after a reboot, create a file start_hotspot.bat with the team netsh wlan start hostednetwork and add it to startup (Shell:Startup).
4. Method 3: Third-party programs (Connectify, mHotspot, MyPublicWiFi)
If the built-in Windows tools do not suit you, use specialized utilities. They offer additional features:
- 📊 Traffic Management (speed limit for connected devices).
- 🔄 Automatic start distributions when turning on the laptop.
- 🛡️ MAC Address Filtering (allow connection only to certain devices).
- 📱 Distribution via 3G/4G modem (even if Windows doesn't allow it).
Comparison of popular programs:
| Program | Free version | Max. devices | Add. functions | Windows 11 support |
|---|---|---|---|---|
| Connectify Hotspot | Yes (with restrictions) | 5 | Firewall, adblock, traffic monitoring | Yes |
| mHotspot | Yes | 10 | View connected devices, change SSID | Yes |
| MyPublicWiFi | Yes | Unlimited | URL filtering, connection log | Yes |
| Virtual Router Plus | Yes | 8 | Simple interface, no unnecessary features | No |
Example setup in Connectify:
- Download and install the program from the official website.
- In the field
Hotspot Nameenter the network name (for example,HomeWiFi). - B
Passwordenter a password (minimum 8 characters). - B
Internet to Shareselect internet source. - Click
Start Hotspot.
⚠️ Attention: Some antiviruses (for example, ESET NOD32) block programs for distributing Wi-Fi, considering them potentially dangerous. Add the utility to exceptions or temporarily disable protection.
Built-in Windows mobile hotspot
Connectify Hotspot
mHotspot
MyPublicWiFi
Another one (I’ll write in the comments) -->
5. Method 4: Wi-Fi distribution on macOS (without additional programs)
On MacBook creating an access point is even easier than on Windows. The function is built into the system and works stably, but there are nuances with some providers (for example, Beeline or MTS may block distribution via USB modem).
Instructions:
- Open
System Preferences → Sharing. - From the left menu select
Shared Internet. - In the field
General connectionindicate the Internet source (for example,EthernetorThunderbolt Bridge). - In the section
For computers usingcheck the box next to itWi-Fi. - Click
Wi-Fi Settingsand set:- Network name (
SSID) - Channel (better to choose
Auto) - Security:
WPA2/WPA3 Personal - Password (minimum 8 characters)
- Network name (
Shared Internet checkbox on the left.If the distribution does not work, check:
- 🔄 Reboot MacBook - sometimes the Wi-Fi module freezes.
- 🔌 Disable VPN (eg. NordVPN or ProtonVPN) as it may conflict with sharing.
- 📡 Change the Wi-Fi channel manually (for example, to
6or11) if there is interference from other networks.
How to share Internet from MacBook to iPhone without password?
If both devices are signed in to the same Apple ID, you can use the Instant Hotspot:
1. On iPhone, turn on Wi-Fi And Bluetooth.
2. On a MacBook, in the menu bar, click on the Wi-Fi icon → select your iPhone.
The connection will occur automatically without entering a password.
6. Method 5: Wi-Fi distribution on Linux (Ubuntu, Debian, Fedora)
In Linux, you can create an access point through the terminal or graphical utilities like NetworkManager. Let's consider both options.
Method 1: Via NetworkManager (GUI)
- Click on the network icon in the upper right corner →
Edit Connections. - Click
Add→ selectWi-Fi. - In the field
Connection nameenter a name (for example,LinuxHotspot). - B
SSIDenter the network name inWi-Fi SecurityselectWPA & WPA2 Personaland set a password. - Go to the tab
Wi-Fi→ inModeselectHotspot. - Save and activate the connection.
Method 2: Via terminal (universal)
Install hostapd And dnsmasq:
sudo apt update && sudo apt install hostapd dnsmasq
Edit the config hostapd:
sudo nano /etc/hostapd/hostapd.conf
Add the following lines (replace MyWiFi And MyPass123 to 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=MyPass123
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 stop:
sudo systemctl stop hostapd
⚠️ Attention: On some distributions (for example, Arch Linux) may need to be disabledsystemd-networkd, since it conflicts withhostapd. Run:sudo systemctl disable systemd-networkd
7. Problem solving: why Wi-Fi distribution doesn’t work
Even after proper configuration, the access point may not work. Here top 7 reasons and their solutions:
| Problem | Reason | Solution |
|---|---|---|
| Devices connect, but there is no Internet | Sharing is not configured | Check your settings Public access in Connection properties (Windows) or System settings (macOS). |
| The network does not appear in the Wi-Fi list | Wi-Fi adapter does not support AP mode | Update your driver or use an external USB adapter (such as TP-Link TL-WN725N). |
| Upload speed is very slow | Wi-Fi channel is overloaded | Change the channel manually (for example, to 1 or 11) through netsh wlan set hostednetwork channel=11. |
| Distribution turns off after sleep/hibernation | Power saving disables adapter | Disable Allow device to turn off to save power in Device Manager. |
| You cannot distribute 3G/4G from a USB modem | Provider restriction | Use the program Connectify with option Bypass ISP Restrictions. |
If the problem is not resolved, check:
- 🔍 Windows logs: open
Event Log → Applications and Services → Microsoft → Windows → WLAN-AutoConfig. - 📡 Adapter Status: in
Device Managerthere should be no exclamation marks next toNetwork adapters. - 🔄 Rebooting the router: If the laptop is connected to the router via cable, reboot it.
If the distribution works, but the speed is lower than expected, try disabling QoS in the router settings or reduce MTU up to 1400 (via command netsh interface ipv4 set subinterface "Local network connection* X" mtu=1400).
8. FAQ: Frequently asked questions about distributing Wi-Fi from a laptop
Is it possible to distribute Wi-Fi from a laptop if the Internet is via a USB modem (3G/4G)?
Yes, but there are nuances:
- On Windows some modems (for example, from MegaFon or Yota) block the distribution. Use Connectify with the option to bypass restrictions.
- On macOS Distribution via USB modem works stably, but a reboot may be required.
- On Linux check if the modem is recognized as a network interface (
lsusbAndifconfig).
If the modem does not work, try connecting it via Bluetooth PAN (pair with a laptop and use it as an Internet source).
How many devices can be connected to the access point from a laptop?
Depends on the distribution method:
- Built-in Windows mobile hotspot: up to 8 devices (can be increased to 20 via the registry).
- Command line (
hostednetwork): up to 10–15 devices, but the speed will drop. - Third party programs: Connectify - up to 5 in the free version, mHotspot - up to 10.
- macOS/Linux: up to 20–30 devices, but requires manual configuration
dnsmasq.
To increase the limit in Windows:
- Open
Registry Editor(Win + R → regedit). - Follow the path
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WcmSvc\Tethering. - Create a parameter
DWORD (32-bit)with nameDeviceNameMaxand meaning20. - Restart your laptop.
How can I make the access point automatically turn on when I start the laptop?
Auto start methods:
- Windows:
- Create a file
start_hotspot.batwith the teamnetsh wlan start hostednetwork. - Place it in your startup folder:
shell:startup.
- Create a file
- macOS:
- Open
System Settings → Users and Groups → Login Items. - Add a script with the command
networksetup -setairportpower en0 on(replaceen0to your interface).
- Open
- Linux:
- Add
hostapdto startup:sudo systemctl enable hostapd. - Set up
cronto run at startup:@reboot sudo systemctl start hostapd.
- Add
For Windows can also be used Job Scheduler:
- Open
Job Scheduler(taskschd.msc). - Create a task with a trigger
When you start your computer. - In the action, specify the launch of the program
netsh wlan start hostednetwork.
Is it possible to distribute Wi-Fi from a laptop if the laptop itself is connected to another Wi-Fi network?
Technically yes, but with reservations:
- On Windows it's called
Wi-Fi Repeater(repeater). This requires two Wi-Fi cards or supportVirtual Wi-Fi. Use the program Virtual Router Plus or commands:netsh wlan set hostednetwork mode=allownetsh wlan start hostednetworkThen in
Network Sharing CenterAllow sharing for your main Wi-Fi connection. - On macOS There are no built-in tools, but you can use the utility Internet Sharing with setting
Wi-Fi Options. - On Linux configure
hostapdAnddnsmasqto operate in repeater mode (requires manual configuration/etc/hostapd/hostapd.conf).
Important: the speed will be lower due to double data transmission (the laptop first receives the signal, then retransmits it).
How to protect your access point from hacking?
Basic safety precautions:
- 🔐 Use WPA2-PSK (AES) or WPA3. Avoid
WEP(cracks in minutes) andOpen network. - 🔄 Change your password once every 1-2 months (especially if you distribute it in public places).
- 📱 Limit the number of connected devices (for example, via
hostapdor Connectify). - 🕵️ Hide the SSID (network name) if you distribute only to trusted devices:
netsh wlan set hostednetwork ssid=MyWiFi key=MyPass123 keyUsage=persistent
For advanced protection on Linux:
- Set up
MAC filteringinhostapd.conf:
macaddr_acl=1
accept_mac_file=/etc/hostapd/hostapd.accept
Where hostapd.accept — a file with a list of allowed MAC addresses.