Have you found yourself in a situation where you urgently need Internet on your phone or a second computer, but you only have a laptop with a network connection at hand? Give away Wi-Fi from laptop you can do it in 2-3 minutes - without a router, additional programs and deep knowledge of networks. This instruction is suitable for Windows 10/11, macOS and even Linux, and will also help to avoid common errors due to which the access point refuses to work.
We will analyze all the current methods: from standard operating system tools to hidden functions that few people know about. You will learn how to set up distribution via Command line, Mobile hotspot, and also what to do if devices do not see the created network or connect, but the Internet does not work. We will pay special attention to security - how to protect your access point from strangers and why you should not use simple passwords like 12345678.
1. Preparing a laptop for Wi-Fi distribution: what you need to check in advance
Before setting up distribution, make sure that your laptop is technically capable of becoming an access point. Here are the key points that are often missed:
- 🔄 The Wi-Fi adapter must support the
Hosted Network. Most modern laptops (especially those with Intel AX200/AX210 or Qualcomm Atheros) they can do this, but on older models (before 2015) there may be problems. You can check it viaDevice Manager- if there is a tab in the adapter propertiesAdditionallywith parameterWireless Mode, everything is fine. - 📶 The laptop must be connected to the Internet. You can only distribute a connection that is already working: via cable (Ethernet), via a USB modem or mobile Internet (3G/4G/5G). If the laptop itself receives Wi-Fi from another router, it will not be possible to distribute it as a repeat access point (special bridge settings are required).
- 🔒 Antivirus or firewall is not blocking the network. Programs like Kaspersky, Avast or built-in
Windows Defendersometimes prevent the creation of a virtual network. During setup, disable them or add an exception forsvchost.exe.
If you are using Windows 10/11, the easiest way to check compatibility is to run Command line as administrator and enter:
netsh wlan show drivers
In the results, find the line Hosted network support - there should be Yes. If it's worth No, update the adapter driver from the manufacturer's official website (not through Windows Update!).
- Lenovo
- HP
- Dell
- Asus
- Acer
- Apple MacBook
- Other
2. Method 1: Mobile hotspot in Windows 10 and 11 (the easiest)
Recent versions of Windows have a built-in feature Mobile hotspot, which allows you to distribute the Internet from a laptop in literally 3 clicks. This method is suitable for 90% of users and does not require knowledge of commands.
Instructions:
- Open
Windows Settings(keysWin + I) and 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 dataand set:- 🔑 Network name (SSID): Latin alphabet, without spaces (for example,
MyLaptopWiFi). - 🔐 Password: minimum 8 characters, with numbers and letters (for example,
P@ssw0rd2026).
- 🔑 Network name (SSID): Latin alphabet, without spaces (for example,
Mobile hotspot.Done! Now other devices will see your network in the list of available Wi-Fi. If the connection does not work, check:
- 🔌 The laptop remains connected to the Internet (for example, the Ethernet cable did not fall off).
- 📱 Wi-Fi is turned on on your phone/tablet and there are no restrictions on MAC addresses.
- 🔄 The correct source connection is selected in the hotspot settings (sometimes Windows resets it to
Wireless network, which is incorrect).
The laptop is connected to the Internet|Wi-Fi is turned on on the laptop|VPN is disabled on the phone|The password was entered without errors
-->
⚠️ Attention: If after connecting the device the Internet does not work, but the network statusConnected, check your firewall settings. BControl Panel → Windows Firewall → Advanced Settingsfind the ruleInternet Connection Sharing (ICS)and make sure it is enabled for the private network.
3. Method 2: Command Line (for Windows 7/8/10/11)
If Mobile hotspot does not work (for example, due to old drivers) or you need more control over your network settings, use Command line. This method is universal and works even on Windows 7.
Step by step instructions:
- Run
Command lineas administrator (right click onStart → Command Prompt (Administrator)). - Create a virtual network with a name and password (replace
MyWiFiAndPassword123to yours):netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=Password123 - 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 connectionand select the created connection from the list (usuallyLAN connection* X).
- Open
Critical detail: after rebooting the laptop, the distribution will automatically turn off. To resume it, run the command again netsh wlan start hostednetwork. If you need to autorun, create .bat-file with this command and add it to Autoload.
What to do if the command doesn't work?
If after entering netsh wlan start hostednetwork error appears Failed to start hosted network, the reasons may be as follows:
1. The Wi-Fi adapter driver is out of date (update it manually from the manufacturer’s website).
2. The adapter does not support the mode Hosted Network (check via netsh wlan show drivers).
3. Service WLAN auto-configuration disabled (enable it in services.msc).
4. Conflict with VPN or antivirus (disable them during setup).
| Error | Reason | Solution |
|---|---|---|
Failed to start hosted network |
The driver does not support the mode | Update the driver or use an external Wi-Fi adapter |
The specified network already exists |
The network has not been deleted since the last session | Execute netsh wlan stop hostednetwork, then netsh wlan set hostednetwork mode=disallow and configure again |
| Devices connect, but there is no Internet | Sharing (ICS) is not configured | Check the settings in Properties → Access for main connection |
| Network disappears after sleep/hibernation | Power saving disables adapter | B Device Manager disable shutdown permission to save power |
4. Method 3: Sharing Wi-Fi from MacBook (macOS)
On MacBook or iMac distributing the Internet is even easier than on Windows - Apple has provided an intuitive interface. The main condition: your Mac must be connected to the network via Ethernet, USB modem or Wi-Fi (in the latter case, the distribution will work as a signal repeater).
Instructions for macOS Ventura/Monterey/Big Sur:
- Open
System Preferences → Sharing. - From the left menu select
Internet Sharing. - In the field
Share connectionindicate the Internet source (for example,Ethernet). - In the section
For computers usingcheck the box next to itWi-Fi. - Click
Wi-Fi Settingsand configure:- 📛 Network name (SSID): Defaults to your Mac's name, but can be changed.
- 🔐 Channel: If there are many access points in your local network, select a channel
6or11(less busy). - 🔑 Security: be sure to install
WPA2/WPA3 Personal.
Sharing and check the box to the left of Internet Sharing, then click Start.macOS Features:
- 🍎 Maximum number of connected devices — 10 (versus 8 in Windows).
- 🔄 When distributing via Wi-Fi (not Ethernet) Internet speed may drop by 30-40% due to double load on the adapter.
- 🔒 Default password is generated automatically and displayed in the settings window. It can be changed, but must be at least 8 characters long.
If distribution via Wi-Fi is unstable, connect your MacBook to the Internet via cable (Ethernet) - this will eliminate delays and connection interruptions.
5. Method 4: Distributing Wi-Fi from a laptop on Linux (Ubuntu, Mint, Fedora)
Users Linux We are often faced with the myth that distributing Wi-Fi is difficult. In fact, in modern distributions (for example, Ubuntu 22.04 or Linux Mint 21) this is no more difficult to do than in Windows. The main thing is to know the right commands.
Universal method via nmcli (NetworkManager):
- Make sure
NetworkManagersupports distribution:nmcli -vThere should be a version in the output
1.10or newer. - Create an access point:
nmcli dev wifi hotspot ifname wlan0 ssid MyLinuxWiFi password "SecurePass123"Replace
wlan0to the name of your Wi-Fi adapter (you can find it out viaip a), andMyLinuxWiFiAndSecurePass123- to the desired name and password. - Enable Internet sharing (if connected via Ethernet):
sudo sysctl -w net.ipv4.ip_forward=1sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADEHere
eth0— the name of the network interface through which Linux receives the Internet.
For constant distribution (so as not to configure after each reboot):
- 📝 Create a script with the commands above and add it to
startup. - 🔧 Use
hostapd+dnsmasqfor advanced settings (for example, MAC address restrictions). - 🛠️ If the adapter does not support AP mode, buy an external Wi-Fi module with a chipset Ralink RT5370 or Atheros AR9271 (they are guaranteed to work).
In Linux, Wi-Fi distribution via nmcli - the most reliable method, but if you need advanced settings (for example, device filtering), use hostapd.
6. Common problems and their solutions
Even after proper configuration, Wi-Fi distribution may not work properly. Here are typical scenarios and how to fix them:
- 🚫 Devices do not see the network:
- Check if Wi-Fi is turned on on your laptop (sometimes the adapter turns off after sleep).
- Make sure that the network name (SSID) does not contain Cyrillic or special characters (for example,
#,@). - Restart distribution:
netsh wlan stop hostednetwork→netsh wlan start hostednetwork(for Windows).
- 🔌 There is a connection, but the Internet does not work:
- On Windows, check that
Properties → AccessThe correct connection has been selected for sharing. - On your device (phone/tablet), disable VPN or proxy.
- Try manually setting DNS on the connected device:
8.8.8.8(Google) or1.1.1.1(Cloudflare).
- On Windows, check that
- 🔄 The network keeps dropping out:
- Disable power saving for Wi-Fi adapter in
Device Manager. - If the laptop is on battery, plug it in - some adapters reduce power when the charge is low.
- Change the Wi-Fi channel manually (for example, with
autoon6), if there are many other networks nearby.
- Disable power saving for Wi-Fi adapter in
⚠️ Attention: If you distribute the Internet received throughmobile hotspot(USB modem), some operators (for example, MegaFon or Beeline) can block such traffic. In this case, connect your phone to your laptop via USB and useUSB tetringinstead of Wi-Fi.
7. Security: how to protect your access point
By distributing Wi-Fi from a laptop, you open access to your local network. To avoid unauthorized connection or data leakage, follow these rules:
- 🔐 Use a complex password:
- Minimum 12 characters, including capital letters, numbers and special characters (for example,
L@pt0p_WiFi_2026!). - Do not use personal information (dates of birth, names) or common combinations like
qwerty123.
- Minimum 12 characters, including capital letters, numbers and special characters (for example,
- 🔄 Limit the number of connected devices:
- On Windows via
Command lineyou can set a limit:netsh wlan set hostednetwork maxpeers=3(where3— maximum number of devices). - On macOS the default limit is 10 devices, but you can lower it via
terminal.
- On Windows via
- 📡 Hide the network (SSID):
- On Windows:
netsh wlan set hostednetwork ssid=MyHiddenWiFi key=MyPass keyUsage=persistent hidden=yes. - On macOS: in the hotspot settings, uncheck
Broadcast network name. - Disadvantage: devices will have to enter the network name manually.
- On Windows:
- 🛡️ Disable distribution when not needed:
- In public places (cafes, airports) your network can become a target for attacks.
- On Windows:
netsh wlan stop hostednetwork. - On macOS: Uncheck
Internet Sharing.
If you need to share Wi-Fi regularly (for example, when traveling), consider purchasing portable router (For example, TP-Link TL-WR902AC or GL.iNet Mango). It consumes less power than a laptop and supports more devices simultaneously.
FAQ: Frequently asked questions about distributing Wi-Fi from a laptop
Is it possible to share Wi-Fi if the laptop itself is connected to another Wi-Fi network?
Technically yes, but with caveats:
- B Windows this is only possible if the main router supports
WDS(seamless roaming) or you configurebridgebetween adapters. In most cases, it is easier to connect your laptop to the Internet via cable. - On macOS there is an option
Range extensionin the Wi-Fi settings, but it does not work with all routers. - B Linux for this you need
relaydordnsmasqwith manual adjustment.
If your goal is to simply share the Internet from your phone, use USB tetring (connect your phone to your laptop via cable and turn on Modem mode in your phone settings).
Why is the Internet speed when distributing from a laptop lower than directly?
This is normal, and here's why:
- Double load on Wi-Fi adapter: if the laptop itself receives the Internet via Wi-Fi and distributes it, the adapter operates in two modes simultaneously, which reduces the speed by 30-50%. Solution: connect your laptop to the Internet via cable (
Ethernet). - Processor limitations: The laptop spends resources encrypting traffic (especially when
WPA2), which can slow down weak cars (for example, with Intel Celeron or Pentium). - Energy Saving Settings: Windows and macOS by default limit the power of the Wi-Fi adapter when running on battery power. Disable this mode in
Control Panel → Power Options.
For maximum speed:
- Use
5 GHzinstead of2.4 GHz(if the adapter supports it). - Set a fixed channel (eg
36or48for 5 GHz). - Disable background downloads on your laptop (torrents, updates).
How to distribute Wi-Fi from a laptop to Xbox/PlayStation?
Game consoles (Xbox Series X/S, PlayStation 5/4) can connect to the access point from a laptop, but there are some nuances:
- NAT type: When distributed from Windows or macOS, consoles often receive
NAT Type 3(strict), which interferes with multiplayer. Solution:- On Windows: in
Command linedo:netsh interface ipv4 set subinterface "Подключение по локальной сети* X" mtu=1472 store=persistent(where
X— the number of your virtual adapter). - On macOS: turn on
Internet SharingthroughEthernet, not Wi-Fi.
- On Windows: in
- IP conflicts: If the console does not receive an IP address, manually set it in the console's network settings (for example,
192.168.137.100with mask255.255.255.0and gateway192.168.137.1). - Port 3074: for PlayStation Port forwarding may be required. On Windows this is done via:
netsh interface portproxy add v4tov4 listenport=3074 listenaddress=0.0.0.0 connectport=3074 connectaddress=192.168.137.1
If problems persist, it is better to use a separate router or USB tetring from the phone.
Is it possible to share Wi-Fi from a laptop without a password?
Technically yes, but it's extremely unsafe. An open network allows you to:
- Intercept your traffic (including website passwords if they are transmitted without
HTTPS). - Connect to your local network and devices (printers, network drives).
- Consume your traffic (for example, to download torrents).
If you still need a password temporarily (for example, for guests), use:
- B Windows:
netsh wlan set hostednetwork ssid=GuestWiFi key= keyUsage=persistent(emptykeymeans no password). - On macOS: In the hotspot settings, select
No security(not recommended!).
Alternative: create guest network with limited access (for example, only to the Internet, without local resources). On Linux this is done via iptables:
iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPTiptables -A FORWARD -i eth0 -o wlan0 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i wlan0 -o wlan0 -j DROP
This will prevent devices on Wi-Fi from communicating with each other.
How to distribute Wi-Fi from a laptop to Smart TV?
Smart TV (from Samsung, LG, Sony etc.) can connect to the access point from a laptop, but there are some peculiarities:
- Frequency support: Many TVs do not work with
5 GHz(especially older models). Set up distribution to2.4 GHz. - IP address: If TV does not receive IP automatically, set it manually (for example,
192.168.137.101with mask255.255.255.0). - DNS: for some services (for example, YouTube or Netflix) may need to specify DNS
8.8.8.8. - DLNA/Miracast: if you plan to cast the screen from a laptop to TV, make sure that the access point is enabled in the settings
WPA2-PSK(notWPA3, which some TVs do not support).
If the TV does not connect:
- Reboot it and your laptop.
- Try changing the network name (SSID) to a shorter one (for example,
TV). - Disable the option on your TV
Smart Network Switch(if any).