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 addressesAndDHCP- 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:
- Open
Settings → Network and Internet → Mobile hotspot. - In the "Sharing" drop-down menu, select the connection through which the laptop receives the Internet (for example,
EthernetorWireless networkfor USB modem). - Click "Edit" next to the fields
Network nameAndPasswordto set your parameters (password must be at least 8 characters). - Move the “Allow use of my Internet connection” slider to the “On” position.
- 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:
- Go to
System Preferences → Sharing. - Select "Internet Sharing" on the left (
Internet Sharing). - In the "Shared Connection" menu, specify the Internet source (for example,
EthernetorThunderbolt Bridgefor wired connection). - Check the "Wi-Fi" box in the "For computers using" list.
- Tap Wi-Fi Settings and set
Network name,Channel(we recommend6or11for minimal interference) andPassword(security type -WPA2/WPA3 Personal). - 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 addressfor 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:
- Run
Command line as administrator(clickWin + X→ “Terminal (administrator)”). - Check the name of your Wi-Fi adapter with the command:
netsh wlan show driversIn the "Name" line you will see the name (for example,
Wi-FiorWireless Network Connection). - Create a network named
MyWiFiand password12345678(replace with your own):netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=12345678 keyUsage=persistent - Start distribution:
netsh wlan start hostednetwork - Allow Internet sharing:
- Open
Control Panel → Network and Internet → Network and Sharing Center. - Click on the active connection (for example,
Ethernet) → “Properties” → “Access” tab. - Check "Allow other network users to use the Internet connection" and select the created network from the list (usually
LAN connection* X).
- Open
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 offnetsh 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):
- Download the program from official website and install.
- Run the utility as administrator.
- In the field
Network Name (SSID)enter the network name (for example,HomeWiFi). - B
Network Keyenter a password (minimum 8 characters). - Check the box
Enable Internet Sharingand select your internet source from the drop-down menu. - 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):
- Make sure your Wi-Fi adapter supports
AP(Access Point). Check with the command:iw list | grep "AP"There should be a line
* AP. - Create an access point:
nmcli dev wifi hotspot ifname wlp3s0 ssid MyLinuxWiFi password "12345678"(replace
wlp3s0to the name of your adapter - look it up with the commandip a). - Activate Internet sharing:
sudo sysctl -w net.ipv4.ip_forward=1sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE(replace
eth0to 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.confAnd/etc/dnsmasq.conf - 🔹 Start services:
sudo systemctl start hostapdAndsudo 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 Usein 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(commandnetsh wlan show drivers). - 🔹 Try changing
channelin the network settings (for example, with6on11).
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, chooseWPA2-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 filteringin 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 modein 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, andWireless network(if the modem is detected as a network adapter) orLocal 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:
- Open
Device Manager(Win + X → Device Manager). - Find in the list
Network adaptersyour Wi-Fi module (for example, Intel Wi-Fi 6 AX200). - Right click →
Properties → Driver → Roll Back. If the button is inactive, download the driver from the laptop manufacturer's website (not from Windows Update!). - 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:
- Open
Terminaland enter:sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingPrimaryInterfaceDeviceName en0(replace
en0on your network interface - look at it with the commandnetworksetup -listallhardwareports). - Restart your Mac.
- Check for a tab
Shared InternetinSystem 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
channelto 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 inDevice Manager → Adapter Properties → Advanced).