Creating a Wi-Fi hotspot from a laptop 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 other computer. For example, in a hotel with a wired connection, in a country house with a USB modem, or on a trip with a single 4G dongle. But how to do this correctly so that the network works stably and the speed does not drop?

We tested all current methods on Windows 10/11, macOS Ventura/Sonoma And Ubuntu 22.04so that you can choose the best option. The article contains step-by-step instructions with pictures, a comparison of methods in terms of speed and security, as well as solutions to typical problems (for example, when devices are connected, but the Internet does not work). Bonus: equipment compatibility table and checklist for diagnosing problems.

1. Method: Mobile hotspot (the simplest)

Built-in function mobile hotspot - the fastest way to distribute Wi-Fi without additional programs. Works on all modern laptops with adapters Wi-Fi 4/5/6 and is supported by operating systems starting from Windows 10 (version 1607+) And macOS Sierra.

The main advantages of the method:

  • 🔹 Does not require administrator rights (configurable via GUI)
  • 🔹 Automatically controls IP addresses And DHCP - no need to manually enter settings
  • 🔹Supports up to 8 connected devices simultaneously (on Windows 11 - up to 16)
  • 🔹 Saves settings after reboot

How to turn on Windows 10/11:

  1. Open Settings → Network and Internet → Mobile hotspot.
  2. In the "Sharing" drop-down menu, select the connection through which the laptop receives the Internet (for example, Ethernet or Wireless network for USB modem).
  3. Click "Edit" next to the fields Network name And Passwordto set your parameters (password must be at least 8 characters).
  4. Move the “Allow use of my Internet connection” slider to the “On” position.

📊 Which Wi-Fi distribution method do you use most often?
  • Mobile hotspot
  • Command line
  • Third party programs (Connectify, MyPublicWiFi)
  • I don’t distribute Wi-Fi from my laptop

On macOS the path is a little different:

  1. Go to System Preferences → Sharing.
  2. Select "Internet Sharing" on the left (Internet Sharing).
  3. In the "Shared Connection" menu, specify the Internet source (for example, Ethernet or Thunderbolt Bridge for wired connection).
  4. Check the "Wi-Fi" box in the "For computers using" list.
  5. Tap Wi-Fi Settings and set Network name, Channel (we recommend 6 or 11 for minimal interference) and Password (security type - WPA2/WPA3 Personal).
  6. Activate sharing using the button on the left.

⚠️ Attention: On macOS After activating public access, Internet access on the laptop itself may be lost. To get it back, disconnect the hotspot and reconnect to the network.

2. Method: Command line (for advanced users)

If the mobile hotspot does not work (for example, due to corporate policy restrictions or an outdated Wi-Fi driver), help manual configuration via command line. This method is universal for all versions Windows and allows flexible configuration of network parameters, including channel, encryption type And maximum number of connections.

Advantages of the method:

  • 🔹 Works even if there is no “Mobile hotspot” tab in “Settings”
  • 🔹 Allows you to set static IP address for distribution (useful for setting up IP cameras or IoT devices)
  • 🔹 You can choose frequency range (2.4 or 5 GHz) depending on supported devices

Step-by-step instructions for Windows:

  1. Run Command line as administrator (click Win + X → “Terminal (administrator)”).
  2. Check the name of your Wi-Fi adapter with the command:
    netsh wlan show drivers

    In the "Name" line you will see the name (for example, Wi-Fi or Wireless Network Connection).

  3. Create a network named MyWiFi and password 12345678 (replace with your own):
    netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=12345678 keyUsage=persistent
  4. Start distribution:
    netsh wlan start hostednetwork
  5. Allow Internet sharing:
    1. Open Control Panel → Network and Internet → Network and Sharing Center.
    2. Click on the active connection (for example, Ethernet) → “Properties” → “Access” tab.
    3. Check "Allow other network users to use the Internet connection" and select the created network from the list (usually LAN connection* X).

The Wi-Fi driver supports hostednetwork (check with the command `netsh wlan show drivers` - the line "Hosted network support" should be "Yes")|The laptop is connected to the Internet via an Ethernet/USB modem|VPN and proxy servers are disabled|The antivirus does not block network connections-->

Critical detail: After rebooting the laptop, Wi-Fi distribution via the command line is disabled. To run it automatically, create .bat-file with the following content and add it to startup:

@echo off

netsh wlan start hostednetwork

exit

3. Method: Third-party programs (for advanced functions)

If standard methods do not suit you (for example, you need to limit traffic for connected devices or keep an activity log), specialized software will help. We tested 5 popular programs and chose the top 3 in terms of stability and functionality.

Comparison of Wi-Fi distribution programs:

Program Free version Max. devices Add. functions Supported OS
Connectify Hotspot Yes (with restrictions) 5 Traffic filtering, ad blocker, speed monitoring Windows 7–11
MyPublicWiFi Yes 10 Connection log, site blocking, autorun Windows 7–11
Baidu WiFi Hotspot Yes 32 5 GHz support, QOS for traffic prioritization Windows 7–11, macOS

How to set up distribution in MyPublicWiFi (recommended for beginners):

  1. Download the program from official website and install.
  2. Run the utility as administrator.
  3. In the field Network Name (SSID) enter the network name (for example, HomeWiFi).
  4. B Network Key enter a password (minimum 8 characters).
  5. Check the box Enable Internet Sharing and select your internet source from the drop-down menu.
  6. Click Set up and Start Hotspot.

💡

B Connectify Hotspot Pro You can configure "Repeater mode" (Repeater Mode) so that the laptop not only distributes Wi-Fi, but also strengthens the signal from the main router. Useful in large apartments or offices.

⚠️ Attention: Some antiviruses (for example, Kaspersky Internet Security or ESET NOD32) block Wi-Fi distribution through third-party programs. Add utilities to exceptions or temporarily disable protection during setup.

4. Setting up a wireless network on Linux

On Ubuntu, Debian or Fedora Wi-Fi can be distributed through built-in utilities nmcli (NetworkManager) or hostapd. The first method is simpler and suitable for one-time tasks, the second is for a permanent access point with advanced settings.

Method with nmcli (for Ubuntu 20.04/22.04):

  1. Make sure your Wi-Fi adapter supports AP (Access Point). Check with the command:
    iw list | grep "AP"

    There should be a line * AP.

  2. Create an access point:
    nmcli dev wifi hotspot ifname wlp3s0 ssid MyLinuxWiFi password "12345678"

    (replace wlp3s0 to the name of your adapter - look it up with the command ip a).

  3. Activate Internet sharing:
    sudo sysctl -w net.ipv4.ip_forward=1
    

    sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

    (replace eth0 to your wired connection).

For a permanent access point with hostapd you will need:

  • 🔹 Install packages: sudo apt install hostapd dnsmasq
  • 🔹 Set up configuration files /etc/hostapd/hostapd.conf And /etc/dnsmasq.conf
  • 🔹 Start services: sudo systemctl start hostapd And sudo systemctl start dnsmasq

Example config for hostapd

interface=wlp3s0

driver=nl80211

ssid=MyLinuxAP

hw_mode=g

channel=6

wpa=2

wpa_passphrase=12345678

wpa_key_mgmt=WPA-PSK

rsn_pairwise=CCMP

5. Solving common problems

Even after proper configuration, devices may not connect to the network or the Internet may work intermittently. We have collected top 5 mistakes and ways to correct them.

Problem 1: Devices connect, but the Internet does not work

  • 🔹 Check if it is enabled General Internet Use in the connection settings (see the section on the command line).
  • 🔹 Disable Windows firewall or add an exception for the network profile.
  • 🔹 If you use VPN, disable it - some services block sharing.

Problem 2: The network is not detected

  • 🔹 Make sure the Wi-Fi adapter is turned on (some laptops have a hardware button or combination Fn + F2/F12).
  • 🔹 Check if the driver supports the mode hostednetwork (command netsh wlan show drivers).
  • 🔹 Try changing channel in the network settings (for example, with 6 on 11).

💡

If Wi-Fi distribution stops working after updating Windows, roll back the adapter driver to the previous version via "Device Manager" → "Adapter Properties" → "Driver" → "Roll Back".

6. Optimize speed and security

By default, the access point on a laptop is slower than the router due to processor and adapter limitations. But the speed can be increased by 30–50% if:

Tips for speeding up:

  • 🔹 Use 5 GHz band (if the adapter supports it). On the command line, enter:
    netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=12345678 keyUsage=persistent freq=5
  • 🔹 Limit the number of connected devices to 3-4 (each additional device takes ~20% of the speed).
  • 🔹 Disable background downloads on your laptop (torrents, cloud synchronization).
  • 🔹 If you distribute the Internet via USB modem, connect it to the port USB 3.0 (blue connector).

How to protect your network from hacking:

  • 🔹 Use WPA3-Personal (available in Windows since version 2004). If devices do not support, choose WPA2-PSK (AES).
  • 🔹 Disable WPS — this protocol is vulnerable to brute force attacks.
  • 🔹 Change your password every 2-3 months (especially if you distribute Wi-Fi in public places).
  • 🔹 Turn on MAC filtering in the program settings (if you use Connectify or MyPublicWiFi).

7. Alternative Internet distribution options

If you can't distribute Wi-Fi from your laptop, consider alternatives:

Methods without a laptop:

  • 🔹 USB tethering from a smartphone: connect the phone to the laptop via USB, turn on Modem mode in Android/iOS settings. The speed is limited only by the tariff of the mobile operator.
  • 🔹 Travel router (For example, TP-Link TL-WR902AC or GL.iNet AR750S): a compact device with a battery that converts wired Internet or 4G into Wi-Fi.
  • 🔹 Powerline adapters (For example, TP-Link AV1000): they transmit the Internet via electrical wiring and then distribute it via Wi-Fi. Useful in hotels with wired internet.

Comparison of alternatives:

Method Speed Cost Mobility Difficulty setting up
Distribution from a laptop Up to 300 Mbps (depending on adapter) Free High Average
USB tethering Up to 150 Mbps (LTE) Free (traffic according to tariff) Maximum Low
Travel router Up to 1 Gbps (Wi-Fi 6) From 2,000 ₽ High Low

FAQ: Frequently asked questions

Is it possible to distribute Wi-Fi from a laptop if the Internet is via a USB modem (Yota, Megafon, MTS)?

Yes, but there are nuances:

  • 🔹 On Windows in the mobile hotspot, select not as the source Ethernet, and Wireless network (if the modem is detected as a network adapter) or Local network connection (if the modem emulates Ethernet).
  • 🔹 Some modems (for example, Huawei E3372) block the distribution. In this case, flashing the firmware to the mode will help NDIS (instructions are on 4PDA).
  • 🔹 The speed will be 10–15% lower due to double signal conversion (4G → USB → Wi-Fi).

Why did Wi-Fi distribution stop working after updating Windows?

Most often the Wi-Fi adapter driver is to blame. Procedure:

  1. Open Device Manager (Win + X → Device Manager).
  2. Find in the list Network adapters your Wi-Fi module (for example, Intel Wi-Fi 6 AX200).
  3. Right click → Properties → Driver → Roll Back. If the button is inactive, download the driver from the laptop manufacturer's website (not from Windows Update!).
  4. Reboot your laptop and repeat the hotspot setup.

How to distribute Wi-Fi from a laptop on macOS if there is no “Internet Sharing” tab?

On some versions of macOS (for example, Monterey) the tab can be hidden. Solution:

  1. Open Terminal and enter:
    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingPrimaryInterfaceDeviceName en0

    (replace en0 on your network interface - look at it with the command networksetup -listallhardwareports).

  2. Restart your Mac.
  3. Check for a tab Shared Internet in System settings.

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 caveats:

  • 🔹 On Windows this is only possible through third party programs (for example, Connectify in mode Wi-Fi Repeater). A standard mobile hotspot cannot relay Wi-Fi.
  • 🔹 The speed will drop by 2-3 times due to double data transfer (reception + distribution).
  • 🔹 Some routers block such connections (function AP Isolation).

How to increase the range of an access point on a laptop?

The range depends on the power of the Wi-Fi adapter, but it can be improved a little:

  • 🔹 Use external antenna (if the laptop supports connection, for example, Dell Latitude or Lenovo ThinkPad).
  • 🔹 Change it channel to a less busy one (check the channel load with the program WiFi Analyzer for Android or NetSpot for macOS/Windows).
  • 🔹 Place the laptop on a hill (for example, on a closet) - this reduces interference from walls and furniture.
  • 🔹 If the adapter supports MIMO, enable this feature in the driver (check in Device Manager → Adapter Properties → Advanced).