Turning a laptop into a router and sharing internet with a phone is a task that every second user faces. This is especially true when traveling without fixed Wi-Fi, or when your home router suddenly breaks down. But how do you set up sharing correctly to avoid connection errors, slow speeds, or sudden connection drops?
In this article we will look at All current methods for distributing Wi-Fi from a laptop — from standard Windows tools to third-party utilities and the command line. You'll learn how to connect iPhone or Android- smartphone to the established network, what settings optimize speed, and what to do if the phone "doesn't see" the signal. And for owners MacBook For Linux distributions, we have prepared separate instructions taking into account the specific features of these systems.
Important: If your laptop is connected to the Internet via Ethernet-cable or USB modemWi-Fi sharing is possible on 99% of devices. However, if the internet connection is accessed via Wi-Fi (for example, if you're connected to a neighbor's network), limitations may arise—we'll discuss those as well.
1. Share Wi-Fi via Mobile Hotspot in Windows 10 and 11
The easiest and most reliable way is to use the built-in function Mobile HotspotIt works on all laptops with Windows 10 (starting with version 1607) And Windows 11, if the wireless adapter drivers support the mode SoftAP (this is checked automatically).
To enable distribution:
- Open
Settings → Network & Internet → Mobile Hotspot. - In the drop-down menu "Sharing" select the connection through which the laptop receives the Internet (for example,
EthernetorLocal Area Network Connection). - Click "Change" next to the network name and password fields to set your parameters (the password must be at least 8 characters long).
- Move the slider Distribution is permitted. to the "On" position.
Now, on your phone, find the created access point in the list of networks (you specified the name in step 3) and connect to it by entering the password. If the internet on your phone doesn't work after connecting, check if the Windows firewall is enabled—sometimes it blocks sharing.
Make sure your laptop is connected to the internet|Check that your Wi-Fi adapter driver is up to date|Disable your VPN (it may conflict with your hotspot)|Restart your laptop if the feature doesn't turn on-->
⚠️ Attention: On some laptops with Realtek- The "Mobile Hotspot" feature may not work with adapters due to outdated drivers. In this case, use the command line method (section 3) or update the driver manually via device Manager.
2. Setting up Wi-Fi sharing on a MacBook (macOS)
To the owners MacBook lucky: in macOS Internet sharing can be set up in 3 clicks. The main requirement is that your Mac must be connected to the network via Ethernet or USB modem (distribution from Wi-Fi to Wi-Fi is possible, but often works unstable).
Instructions:
- 🍎 Open
System Preferences → Sharing. - 🔄 In the left menu, select "Common Internet".
- 📶 In the field "Connecting via:" Please specify the internet source (e.g.
Ethernet). - 📱 In the field "For computers using:" mark
Wi-Fi. - ⚙️ Click Wi-Fi Settingsto set the network name and password (minimum 8 characters).
- ☑️ Check the box to the left of "Common Internet" and press "Start".
On iPhone or Android- On your phone, find the created network in the Wi-Fi settings and connect. If the internet doesn't appear, check that System Preferences → Network → Wi-Fi the parameter is enabled Distribute IP addresses in DHCP mode.
What to do if your MacBook doesn't share the Internet?
If after connecting your phone shows "No Internet access", try:
1. Disable macOS Firewall System Preferences → Security & Privacy → Firewall.
2. Restart your MacBook by holding down Shift (safe mode), then repeat the setup.
3. Reset network settings via Terminal:
sudo ifconfig en0 down
sudo ifconfig en0 up
(replace en0 on your network interface, you can find it out with the command networksetup -listallhardwareports).
3. Sharing Wi-Fi via the command line (Windows)
If Mobile Hotspot doesn't work or you need advanced settings (like choosing a Wi-Fi channel), use command lineThis method is universal and works even on older versions of Windows.
Open Command prompt as administrator and do it in order:
netsh wlan set hostednetwork mode=allow ssid="Network_Name" key="Password_of_8_characters"
netsh wlan start hostednetwork
To enable internet sharing:
- Open
Control Panel → Network and Internet → Network and Sharing Center. - Click on the connection through which the laptop receives the Internet (for example,
Ethernet). - Select Properties → Access.
- Mark Allow other network users to connect to your Internet connection.
- In the drop-down menu, select the connection you created (usually it’s called
Local Area Connection* X).
The phone will now be able to connect to the network. To disable network sharing, enter the following in the command line:
netsh wlan stop hostednetwork
⚠️ Attention: After restarting your laptop, Wi-Fi sharing via the command line will be disabled. To enable it automatically, create.bat-file with commandnetsh wlan start hostednetworkand add it to startup.
4. Using third-party programs to distribute Wi-Fi
If standard methods don't work, third-party utilities can help. They offer additional features, such as traffic control, Wi-Fi channel selection, and speed limiting for connected devices.
| Program | Supported OS | Peculiarities | Download link |
|---|---|---|---|
| Connectify Hotspot | Windows 7/10/11 | Paid, but there's a trial period. Supports 3G/4G data sharing and has a built-in firewall. | Official website |
| MyPublicWiFi | Windows 7/10/11 | Free, simple interface, shows a list of connected devices. | Official website |
| Virtual Router Plus | Windows 7/10 | Open source, but may conflict with some antivirus software. | GitHub |
| Baidu WiFi Hotspot | Windows, macOS | Supports up to 30 connected devices, there is a mobile application for control. | Official website |
Example of setting in MyPublicWiFi:
- 📥 Download and install the program from the official website.
- 🔧 In the field "Network Name" Enter the network name.
- 🔐 In the field "Password" Set a password (minimum 8 characters).
- 🌐 In "Internet Sharing" select the internet source (for example,
Ethernet). - ▶️ Click "Set up and Start Hotspot".
Connectify Hotspot|MyPublicWiFi|Virtual Router Plus|Baidu WiFi Hotspot|I don't use any programs-->
5. Sharing Wi-Fi from a Linux laptop
In Linux distributions, Wi-Fi distribution is configured through the terminal or graphical utilities such as NetworkManagerLet's consider both options.
Method 1: Via NetworkManager (GUI)
- 🐧 Open
Settings → Network. - 📶 Click on the Wi-Fi icon and select Use as an access point.
- 🔧 Set the network name (SSID) and password.
- ☑️ Activate the option.
Method 2: Via terminal (universal method)
Install the package hostapd And dnsmasq:
sudo apt install hostapd dnsmasq
Then create a configuration file for hostapd:
sudo nano /etc/hostapd/hostapd.conf
Paste into file:
interface=wlan0driver=nl80211
ssid=Your_Network_Name
hw_mode=g
channel=6
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=Your_password
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
Save the file (Ctrl+O, then Ctrl+X) and start the access point:
sudo systemctl start hostapd
sudo systemctl start dnsmasq
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
(replace eth0 to your network interface for the Internet).-->
6. Why doesn’t my phone connect to the shared Wi-Fi?
If you followed the instructions but your phone still doesn't see the network or can't connect, check the following:
| Problem | Possible cause | Solution |
|---|---|---|
| The phone doesn't see the network | The laptop's Wi-Fi adapter is disabled or does not support access point mode. | Update your adapter driver via device Manager or check its inclusion in BIOS/UEFI |
| "Connected, no internet" | Sharing is not configured or is blocked by a firewall. | Check your sharing settings (section 3) and temporarily disable your firewall |
| The network appears and disappears | Wi-Fi channel conflict or adapter power saving | Set a fixed channel (e.g. 6 or 11) in the access point settings |
| Slow speed | Bandwidth throttling or background updates on a laptop | Disable downloads/updates on your laptop or limit the speed in your router software settings. |
If the problem persists, try:
- 🔄 Reboot both a laptop and a phone.
- 📵 Forget the network on the phone and reconnect.
- 🛠️ Reset network settings on the laptop:
netsh winsock resetnetsh int ip reset
7. Optimizing Distribution: How to Speed Up Wi-Fi and Save Battery
Sharing Wi-Fi increases the load on the processor and adapter, which leads to rapid battery discharge and possible overheating laptop. To minimize these effects:
- 🔋 Connect your laptop to a power outlet — Wi-Fi distribution consumes up to 20% additional energy.
- 📉 Limit your speed for connected devices (if you use third-party programs).
- 📡 Choose the optimal channel - use programs like WiFi Analyzer (Android) or NetSpot (Windows/macOS) for channel load analysis.
- ⏱️ Turn off the hotspotwhen it's not needed - this will extend the laptop's battery life.
To speed up the connection:
- 🚀 Use the standard
802.11n(5 GHz), if your adapter and phone support it. - 🔗 Turn off background app refresh on your phone (especially Google Play, App Store, messengers).
- 📵 If the signal is weak, reduce the distance between your laptop and phone or use repeater.
FAQ: Frequently asked questions about sharing Wi-Fi from a laptop
Is it possible to share Wi-Fi from a laptop if it is itself connected to the Internet via Wi-Fi?
Technically, it's possible, but it depends on the wireless adapter driver. Many adapters don't support simultaneous Wi-Fi connection and tethering (distribution mode). SoftAP + STA). In this case:
- Use Ethernet or USB modem to connect a laptop to the Internet.
- Try third party programs like Connectify, which sometimes circumvent this limitation.
How many devices can be connected to the shared Wi-Fi?
Limitations depend on the OS and program:
- Windows (standard hotspot): up to 8 devices.
- macOS: up to 10 devices.
- Third-party programs (For example, Connectify): up to 30 devices in the paid version.
However, the more devices are connected, the more the speed drops and the higher the load on the processor.
How to share Wi-Fi from a laptop without a password?
It is possible, but extremely unsafe — outsiders will be able to connect to your network. If you still need to:
- IN Windows Create a network without a password using the command line:
netsh wlan set hostednetwork mode=allow ssid="Network_Name" key="" keyUsage=persistent - IN macOS In the sharing settings, leave the password field blank.
⚠️ Warning: Open networks are vulnerable to attacks like MITM (traffic interception). Do not use them to transmit confidential data.
Why does Wi-Fi hotspot turn off after sleep or hibernation?
This is standard Windows/macOS behavior to save energy. To avoid this:
- IN Windows Disable the adapter from going into power saving mode:
Control Panel → Device Manager → Network Adapters → [Your adapter] → Properties → Power Management → Uncheck "Allow the computer to turn off..." - IN macOS Disable network sleep mode:
System Preferences → Energy Saver → Uncheck "Pause network activity..."
Is it possible to share internet from a laptop to a Smart TV or game console?
Yes, there's no fundamental difference. Set up distribution using any of the methods described, then:
- On Smart TV (Samsung, LG, Sony) Select the created network in the Wi-Fi settings.
- On PlayStation or Xbox go to
Settings → Network → Set up Internet connectionand select Wi-Fi.
If your device doesn't connect, check if it supports it. WPA2-PSK (the default encryption standard). For older devices (e.g., PS3) you may need to change the encryption type to WPA or WEP (not safe!).