Find yourself without a router and need to share internet with your smartphone, tablet, or second computer? A laptop running Windows, macOS, or Linux can easily be transformed into a fully-fledged Wi-Fi hotspot—all you need is the right settings. In this article, we'll cover all the current methods for sharing internet from a laptop, including hidden operating system features, the command line, and third-party programs. We'll also cover common errors (such as devices connecting but the internet not working) and how to troubleshoot them.
It's important to understand: sharing Wi-Fi from a laptop is a temporary solution. It's suitable for emergency situations (traveling, disconnecting the router, or using guest access), but it's not a replacement for a full-fledged router. Connection speed will be limited by the device's specifications. Wi-Fi adapter laptop, and the number of connected devices is determined by the operating system's capabilities. For example, in Windows 10/11, by default, you can share the Internet to a maximum of 8 devices simultaneously, while even budget routers support 10–30 clients.
Before you begin setting up, please check two key points:
1. Make sure your laptop is connected to the internet (via Ethernet, USB modem, or mobile network).
2. Check if it supports Wi-Fi adapter mode SoftAP (Software Access Point). To do this, open device Manager → Network adapters and find the words in the module title Wireless, Wi-Fi or 802.11If the adapter is missing or appears with an exclamation mark, first install the drivers from the manufacturer's website (Intel, Qualcomm Atheros, Broadcom and others).
1. Share Wi-Fi via Mobile Hotspot (Windows 10/11)
The easiest and most reliable way for Windows users is the built-in function Mobile HotspotIt works without any additional programs or commands, but it has limitations: for example, it does not allow you to change the network name (SSID) to Cyrillic or use Wi-Fi channels higher than 11 (which can reduce speed on busy networks).
To enable hotspot:
- Open
Parameters(keysWin + I) →Network and Internet→Mobile hotspot. - In the drop-down menu
Sharing an Internet connectionselect a source (eg Ethernet or Local Area Network Connection). - Click
Changeto set the network name (SSID) and password (minimum 8 characters). - Toggle the slider
Internet Sharingin positionOn
If the button On is inactive or an error appears Failed to set up mobile hotspot, the reasons may be the following:
- 🔌 There is no internet connection - check that the laptop receives an IP address from the provider (in
Network and Control Centerthe status should beInternet, and notNo network access). - 🔄 IP address conflict - If you have a static IP configured, temporarily switch to automatic acquisition (DHCP).
- 📡 The Wi-Fi adapter driver is out of date. - update it through
device Manageror from the manufacturer's website.
☑️ Check before turning on the hotspot
⚠️ Attention: In some corporate or educational networks, administrators block internet tethering via Group Policy. If you're connected to such a network, the hotspot may not work even with the correct settings.
2. Command Prompt: A Universal Method for Windows
If the Mobile Hotspot refuses to work, try setting up distribution via command line (CMD). This method gives you more control: you can choose the Wi-Fi channel, change the security standard (for example, to WPA3) and even increase the number of connected devices.
Open CMD as administrator (click Win + X → Terminal (Administrator)) and execute the commands in order:
netsh wlan set hostednetwork mode=allow ssid="MyWiFi" key="12345678" keyUsage=persistent
netsh wlan start hostednetwork
Where:
ssid="MyWiFi"— the name of your network (can be replaced with any name, but without spaces and Cyrillic letters).key="12345678"— password (minimum 8 characters).
After creating the network, you need to enable 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, where X is a number).
To stop seeding, run:
netsh wlan stop hostednetwork
⚠️ Attention: After restarting your laptop, Wi-Fi sharing via the command line will be disabled. To re-enable it, run the command again. netsh wlan start hostednetwork.
3. Sharing Wi-Fi on macOS (no additional software required)
On laptops MacBook Sharing the internet is even easier than on Windows. Apple has built in the feature Internet Sharing in the system preferences, and it works stably even on older versions of macOS (starting with Yosemite). The main limitation is that you can connect no more than 10 devices (versus 8 in Windows).
Instructions for macOS Ventura and newer:
- Open
System Preferences→General access. - In the left menu, select
Internet access sharing. - In the field
Connection viaPlease specify the internet source (e.g. Ethernet or Thunderbolt Bridge). - In the section
For computers usingcheck the box next to itWi-Fi. - Click
Wi-Fi settingsand ask:- Network Name (SSID)
- Channel (recommended)
6or11for less interference) - Password (minimum 8 characters)
- Security type (WPA2/WPA3 Personal)
Internet access sharing and press Start.If after enabling distribution, devices cannot connect:
- 🔄 Restart Wi-Fi on your MacBook: open
System Preferences→Net→Wi-Fi→ clickDisable, thenConnect. - 🛡️ Disable your firewall: temporarily turn off
DefenderVSystem Preferences→Protection and security→Firewall. - 📡 Change Wi-Fi channelIn densely populated areas, channels 1, 6, and 11 are often congested. Try channel 3 or 9.
How to share internet from a MacBook running older versions of macOS (pre-Catalina)
1. Open System Preferences → General access.
2. Select the Internet source in the field Connection via.
3. In the section For computers using mark Wi-Fi.
4. Click Wi-Fi settings and set up the network.
5. Enable sharing by checking the box on the left.
4. Wi-Fi distribution in Linux (Ubuntu, Debian, Arch)
In Linux, you can distribute Wi-Fi in several ways: through graphical utilities (NetworkManager), command line (nmcli, hostapd) or specialized programs like create_apLet's consider the most universal method using nmcli (works in Ubuntu, Debian, Fedora and others).
Step 1: Install NetworkManager (if not installed):
sudo apt update && sudo apt install network-manager
Step 2: Create an access point:
sudo nmcli dev wifi hotspot ifname wlan0 ssid"LinuxWiFi" password"12345678"
Where:
wlan0— the name of your Wi-Fi adapter (check with the commandip aoriwconfig).ssid"LinuxWiFi"— network name.password"12345678"- password.
Step 3. Enable internet sharing (if connected via Ethernet):
sudo sysctl -w net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
To disable distribution, run:
sudo nmcli dev disconnect wlan0
If nmcli your adapter does not support it or gives an error, use create_ap:
sudo apt install create_ap
sudo create_ap wlan0 eth0 MyWiFi 12345678
⚠️ Attention: In some Linux distributions (eg. Arch) manual installation of packages may be requiredhostapdAnddnsmasq. Also make sure that your Wi-Fi adapter supports the modeAP(check with commandiw list | grep"AP").
5. Third-party programs for distributing Wi-Fi
If built-in tools don't work, specialized utilities can help. They offer advanced settings (such as speed limits for connected devices or MAC address blacklisting), but caution is advised: some programs may contain ads or collect data.
| Program | Platform | Advantages | Flaws |
|---|---|---|---|
| Connectify Hotspot | Windows | Simple interface, WPA3 support, traffic limitation | Paid version (free version is limited) |
| MyPublicWiFi | Windows | Free, lightweight, supports device blacklisting | No Windows 11 support (as of 2026) |
| Baidu WiFi Hotspot | Windows, macOS | Cross-platform, connected device analytics | Chinese software, privacy issues possible |
| Linux: create_ap | Linux | Works on most distributions, flexible settings | Requires command line knowledge |
Example of setup MyPublicWiFi:
- Download the program from official website and install.
- Run the utility as administrator.
- In the field
Network Name (SSID)Enter the network name. - In the field
Network KeyPlease enter your password. - In the section
Internet SharingSelect an internet source. - Click
Set up and Start Hotspot.
6. Troubleshooting: Devices connect, but the Internet doesn't work
A common situation: a smartphone or tablet connects to a shared network, but pages don't load, and an exclamation mark appears next to the Wi-Fi indicator. Causes and solutions:
- 🔌 Incorrect internet source: the wrong adapter is selected in the hotspot settings (for example, Wi-Fi instead of Ethernet). Check in
Parameters→Network and Internet→Mobile hotspot. - 🔄 IP address conflict: If the IP address is manually entered on the connected device, it may match the range of the distributing network. Solution: On the client device, enable
Obtain IP automatically (DHCP). - 🛡️ Blocked by firewall: temporarily disable Windows Defender or add a network exception. macOS check the settings in
System Preferences→Protection and security→Firewall. - 📡 Provider restrictions: Some internet providers block distribution MAC addressThe solution is to call support and check if it is allowed. retransmission (sometimes option required
IPoEinstead ofPPPoE).
If the problem persists, run diagnostics:
- On the connected device, open a command prompt (Termux for Android, Terminal for macOS/Linux) and run:
- If the ping works (responses are displayed), but websites don't open, the problem is with the DNS. Manually enter Google's DNS (
8.8.8.8And8.8.4.4). - If ping doesn't work, check the sharing settings on your laptop (see section 2).
ping 8.8.8.8
7. Security: How to protect your network
By sharing Wi-Fi from your laptop, you're opening up access to your local network. To minimize the risks:
- 🔐 Use a complex password: at least 12 characters with numbers, capital letters, and special characters. Avoid simple combinations like
12345678orqwerty. - 🔄 Enable WPA3: if your adapter supports WPA3-Personal, select it instead WPA2This will protect against dictionary attacks.
- 📡 Limit the number of devices: in the hotspot settings, specify the maximum number of connections (by default in Windows it is 8).
- 🛡️ Turn off file sharing: V
Network and Control Centerset the profile for the distributed networkPublic network. - 🕵️ Control your connected devices: Check your customer list periodically (in Connectify or through the command
arp -aV CMD).
If you are distributing internet in a public place (cafe, train station), consider:
- 🔒 VPN for the distributing machine: install ProtonVPN or Windscribe on a laptop to encrypt traffic.
- ⏱️ Time limit: in programs like Connectify You can set the hotspot to turn off automatically after a specified interval.
⚠️ Attention: Don't use Wi-Fi hotspots to transfer sensitive data (such as accessing bank accounts) without a VPN. The local network between your laptop and connected devices is not encrypted!
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 the Internet via a USB modem?
Yes, but there are some nuances. If the modem provides the laptop with internet PPPoE or L2TP, first set up the connection in Parameters → Network and Internet → Dialing a numberThen select this connection as a source in the settings. Mobile hotspotIf the modem is operating in mode NDIS (displayed as a network card), there will be no problems.
Why is the internet speed when sharing from a laptop lower than through a router?
Reasons:
- Wi-Fi adapter limitations: Most laptops come with adapters 1x1 MIMO (one antenna), while routers use 2x2 MIMO or 4x4 MIMO, which increases throughput.
- CPU load: the laptop spends resources on encrypting traffic (especially when WPA3), while the router has a specialized processor.
- Interference: If there are many nearby networks on the same channel, the speed drops. Try changing the channel manually (in Windows This can be done through
netsh).
Solution: Connect your laptop to the router via cable and share its Wi-Fi (mode) repeater), and not the Internet directly.
Is it possible to share Wi-Fi from a laptop? Android TV or Smart TV?
Yes, but there are limitations:
- 📺 Android TV (For example, Nvidia Shield, Xiaomi Mi Box): connects without problems, but may not support networks with WPA3 (use WPA2-PSK).
- 🖥️ Smart TV on Tizen/WebOS (Samsung, LG): sometimes require manual IP and DNS entry. In TV settings, select
IP settings→Manuallyand write:- IP:
192.168.137.X(where X is a number from 2 to 254) - Gateway:
192.168.137.1 - DNS:
8.8.8.8
- IP:
How to share Wi-Fi from a laptop without a password (open network)?
It is possible, but highly not recommended For security reasons. If you still need to:
- In Windows: in the team
netsh wlan set hostednetworkskip the parameterkey(but many devices will refuse to connect to an unsecured network). - On Linux: use
create_apwith a flag--no-virtand do not specify a password.
⚠️ Risks of an open network:
- Anyone connected can intercept your traffic (including passwords).
- The laptop will become vulnerable to attacks (eg. ARP-spoofing).
- The provider may block the IP for suspicious activity.
Is it possible to share Wi-Fi from a laptop if it doesn't have an Ethernet port?
Yes, there are several options:
- 4G/5G USB modem: Connect the modem to your laptop, wait for it to connect to the Internet, then distribute Wi-Fi using any of the methods described.
- USB-Ethernet adapter: If the Internet comes via a cable, but the laptop does not have an Ethernet port, use an adapter (costs ~500₽).
- Bridge Mode (Windows):
- Connect your laptop to a different Wi-Fi network.
- Open
Network and Sharing Center→Changing adapter settings. - Select Wi-Fi And Ethernet (or another network), right-click →
Setting up the bridge. - Then share the Wi-Fi via
Mobile hotspot, selecting the bridge as the source.
⚠️ When distributing via Wi-Fi (option 3), the speed will drop by half due to adapter limitations.