A modern computer or laptop can replace a router if you need to quickly share internet with a smartphone, tablet, or another PC. This is useful when traveling, temporarily unavailable, or creating a separate network with unique settings. Sharing Wi-Fi from a PC It works via a built-in or external adapter, but requires proper configuration—otherwise, the speed will drop and the connection will be interrupted.
Many users encounter common problems: the access point isn't visible to devices, the internet isn't transmitting, or the connection keeps dropping. The causes lie in drivers, firewall settings, or ISP restrictions. In this article, we'll cover all the working methods for Windows 10/11, Linux And macOSWe'll also tell you how to increase speed and protect your network from unauthorized access.
⚠️ Attention: Some providers block internet tethering via PCs due to their plan terms. If your devices connect after setup but there's no internet, check your contract or contact support.
Methods for creating an access point are divided into software (via command line or third-party utilities) and hardware (using additional adapters). The first option is simpler, but the second provides greater stability. The choice depends on your needs: for a one-time phone connection, standard tools are sufficient. Windows, and for constant distribution to several devices it is better to use Connectify or Virtual Router Plus.
1. Checking hardware compatibility
Before setting up sharing, make sure your PC is capable of functioning as an access point. Basic requirements:
- 🖥️ Wi-Fi adapter with mode support
Hosted Network(virtual network). Most modern adapters (including those built into laptops) support this feature, but older models (pre-2015) may not. - 🔄 Drivers must be up-to-date. Outdated versions often block distribution or limit speed to 54 Mbps.
- 🌐 Internet connection via Ethernet, USB modem or a second Wi-Fi adapter (if you are distributing an existing network).
To check support Hosted Network, open command prompt as administrator and enter:
netsh wlan show drivers
Find the line in the results Hosted network support. If it is indicated there Yes — your adapter fits. If No - update drivers or use an external USB adapter (we recommend models with a chip) Realtek RTL8188EU or Qualcomm Atheros AR9271).
⚠️ Attention: On some laptops Lenovo And HP Built-in adapters block BIOS sharing. If the command returns an error, check your settings. Wireless LAN Radio Control in BIOS (should be Enabled).
2. Setting up an access point via the command line (Windows)
The most reliable way is to use built-in tools WindowsIt works without any additional programs and is suitable for Windows 10/11Instructions:
1. Open command line (administrator) through the menu Start or a combination Win + X.
2. Enter the command to create the network:
netsh wlan set hostednetwork mode=allow ssid="Network_Name" key="Password_of_8_characters" keyUsage=persistent
Replace Network_name And Password to your values. The password must contain at least one number or special character.
3. Start the network:
netsh wlan start hostednetwork
4. Allow Internet sharing:
- Open
Control Panel → Network and Sharing Center → Change adapter settings. - Find the connection through which the PC receives the Internet (for example,
Ethernet), right-click →Properties→ tabAccess. - Check the box
Allow other network users to share your Internet connection. - In the drop-down list, select the created network (usually
Local Area Connection* X).
The adapter supports Hosted Network|
Drivers updated|
Password contains ≥8 characters|
Sharing is enabled in your network adapter settings-->
⚠️ Attention: If after running the command netsh wlan start hostednetwork an error appears Failed to start hosted network, check:
- Is the service working?
Autoconfig (WLAN)(openservices.mscand findWLAN Automatic Configuration Service). - Are there any conflicts with the antivirus (for example, Kaspersky or Avast may block distribution).
3. Alternative programs for distributing Wi-Fi
If the command line seems complicated, use specialized utilities. They offer additional features, such as monitoring connected devices, speed limiting, and automatic startup upon PC startup.
Top 3 programs for distributing Wi-Fi from a PC:
| Program | Advantages | Flaws | Price |
|---|---|---|---|
| Connectify Hotspot | Maximum speed, 3G/4G modem support, firewall | Paid license for all functions | From $35/year |
| Virtual Router Plus | Free, simple interface, WPA2 support | No speed limit per device | For free |
| MyPublicWiFi | Connection log, URL filtering, portable version | Advertising in the free version | Free / $20 |
It's enough for most tasks Virtual Router Plus:
- Download the program from official website (avoid unofficial sources!).
- Please enter the network name (
SSID), password and select the connection for distribution. - Click
Start Virtual Router.
⚠️ Attention: Free programs often contain adware. When installing, uncheck any prompts to install. McAfee Safe Connect, AVG TuneUp and other "bonus" utilities.
4. Setting up an access point on Linux (Ubuntu/Debian)
IN Linux Wi-Fi distribution is configured through the terminal using utilities hostapd And dnsmasqThis method is more complicated than in Windows, but gives full control over the network.
Step 1: Installing Packages
sudo apt update
sudo apt install hostapd dnsmasq
Step 2: Configuration hostapd
Open the settings file:
sudo nano /etc/hostapd/hostapd.conf
Add the following lines (replace wlan0 the name of your adapter, you can find it out with the command iwconfig):
interface=wlan0driver=nl80211
ssid=MyLinuxHotspot
hw_mode=g
channel=6
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=YourPassword123
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
Step 3: Configure DHCP
Edit the file /etc/dnsmasq.conf:
interface=wlan0
dhcp-range=192.168.100.100,192.168.100.200,255.255.255.0,24h
Step 4: Start the service
sudo systemctl unmask hostapdsudo systemctl enable hostapd
sudo systemctl start hostapd
sudo systemctl start dnsmasq
⚠️ Attention: In some distributions (for example, Linux Mint) service hostapd may conflict with NetworkManagerBefore starting, stop it with the command:
sudo systemctl stop NetworkManager
How to find out the name of a Wi-Fi adapter in Linux?
Enter the command iwconfigThe adapter name will start with wlan (For example, wlan0 or wlp3s0). If the adapter is not displayed, check the drivers with the command lspci | grep -i network
5. Optimizing connection speed and stability
By default, the access point from a PC is slower than the router. To increase the speed:
- 📶 Select a free channel. Use the utility Wi-Fi Analyzer (Android) or
netsh wlan show allV Windowsto find the least crowded channel (1, 6 or 11 for 2.4 GHz). - 🔄 Disable adapter power saving:
- Open
Device Manager → Network Adapters. - Find your Wi-Fi adapter, right-click →
Properties → Power Management. - Uncheck the box
Allow the computer to turn off this device to save power.
- Open
802.11n (and not 802.11g). To do this, go to the adapter settings (in Device Manager) select the mode 802.11n only.Typical reasons for slow distribution:
| Problem | Solution |
|---|---|
| Speed below 10 Mbps | Update your adapter driver or use a USB adapter that supports it. 802.11ac. |
| Constant breaks | Disable your firewall or add an exception for hostednetwork. |
| The devices do not connect. | Check that the mode is enabled in the adapter settings. Ad-Hoc or Infrastructure. |
6. Security: How to protect your hotspot
An open network or weak password allows attackers to:
- 🕵️ Intercept traffic (including logins/passwords).
- 📥 Use your internet for illegal activities.
- 🖥️ Infect connected devices with viruses.
- 🔐 Encryption: use
WPA2-PSK (AES).WEPAndWPA-TKIPare hacked in a few minutes. - 🔑 Password: at least 12 characters, with numbers, capital letters and special characters (e.g.
WiFi@Home2026!). - 🚫 Hiding the SSID: Disable network name broadcasting in the settings (but this does not protect against experienced hackers!).
- 📋 MAC filtering: Allow connections only to trusted devices (configured in Connectify or through
hostapdV Linux). - Open
Control Panel → Windows Firewall → Advanced settings. - Create a new inbound rule, allowing only the following ports:
80 (HTTP)And443 (HTTPS). - Block all other ports for the zone
Public network. - 🔧 Restart the service
WLAN AutoConfig:net stop wlansvcnet start wlansvc - 🔄 Update the adapter driver manually (download from the manufacturer's website, not through Windows Update).
- 🌐 Check that the correct connection is selected in the sharing settings (e.g.
Ethernet, and notWi-Fi). - 🔗 Run in the command line:
route printMake sure the default route (
0.0.0.0) indicates your primary adapter. - ⚡ Disable the adapter's power saving mode (see section 5).
- 📡 Change your Wi-Fi channel to a less busy one (use Wi-Fi Analyzer).
- 🔄 Restart the access point every 12 hours (to do this, create a task in
Task Schedulerwith the teamnetsh wlan stop hostednetwork & netsh wlan start hostednetwork). - Open
Settings → Network & Internet → Status → Network reset. - Confirm the action and restart your PC.
- After the reset, you will have to set up sharing again.
- Open
System Preferences → Sharing. - Select
Public Internetin the left menu. - In the field
General connectionPlease specify the internet source (e.g.EthernetorThunderbolt). - In the field
For computers usingmarkWi-Fi. - Click
Wi-Fi settingsand ask:- Network Name (
SSID) - Channel (recommended)
6for 2.4 GHz) - Safety:
WPA2/WPA3 Personal - Password (minimum 8 characters)
- Network Name (
- Activate sharing using the button on the left.
- Checking Wi-Fi status:
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I - Network scan:
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s
Minimum safety requirements:
⚠️ Attention: If you distribute the Internet in a public place (cafe, coworking space), be sure to set it up guest network through Virtual Router Plus or ConnectifyThis isolates connected devices from your PC and local network.
For advanced protection in Windows use firewall:
7. Common mistakes and their solutions
Even with proper setup, problems can still arise. Here are the most common ones and how to fix them:
"Failed to start hosted network" (Error 1068)
The devices connect, but the internet doesn't work.
The network drops out periodically
How to reset network settings in Windows?
If nothing helps, reset your network settings to factory defaults:
8. Sharing Wi-Fi with macOS (for Mac users)
On MacBook or iMac Internet distribution is configured through sharing menu:
⚠️ Attention: On macOS Sonoma and newer may require additional permission in System Preferences → Security & Privacy → Firewall. Add a process InternetSharing in exceptions.
To diagnose problems, use terminal:
If the access point does not start, try resetting the network settings:
sudo ifconfig en0 down
sudo ifconfig en0 up
(replace en0 to your adapter, you can find out its name with the command networksetup -listallhardwareports).
FAQ: Frequently Asked Questions
Is it possible to share Wi-Fi from a PC if the internet itself is connected via a USB modem?
Yes, but the speed will be limited by the modem's bandwidth. For example, if the modem only supports 3G (HSPA+), the maximum upload speed will be ~20 Mbps. For stable operation:
- Use a modem that supports
4G LTE(For example, Huawei E3372). - Connect the modem to USB 3.0 (blue port).
- Disable it in your modem settings.
Auto power off when idle.
Why doesn't the access point start automatically after rebooting the PC?
IN Windows The virtual network doesn't persist after reboot. To automate startup:
- Create a file
start_hotspot.batwith lines:@echo offnetsh wlan start hostednetwork
pause - Put it in startup (
Shell:Startup). - Or add a task in
Task Schedulerwith a triggerWhen you log in.
IN Linux add hostapd And dnsmasq to startup:
sudo systemctl enable hostapd
sudo systemctl enable dnsmasq
How to share internet from a PC to an Xbox or PlayStation?
Consoles require a stable connection with low ping. To achieve this:
- Use wired connection PC to the Internet (Ethernet).
- In the access point settings, select a channel
6or11(they are less busy). - Disable adapter power saving (see section 5).
- If the game is lagging, limit the speed for other devices via Connectify (tab
Clients).
⚠️ On PlayStation 5 Manual DNS specification may be required: 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare).
Is it possible to share Wi-Fi from a PC without a password?
Technically yes, but that's extremely unsafeAn open network allows:
- Intercept traffic (including passwords for social networks and banks).
- Connect to your network devices (printers, cameras).
- Use your IP for illegal activities.
If you need a password temporarily (for example, for guests), set it up guest network through Connectify with a time limit (tab Advanced).
How to increase the range of an access point?
The standard Wi-Fi coverage range for a PC is 10–15 meters. To increase it:
- 📡 Use external antenna (For example, TP-Link TL-ANT2406A for USB adapters).
- 🔋 Replace the adapter with a model that supports it
802.11acand power >20 dBm (for example, Asus USB-AC68). - 📍 Place your PC closer to the center of the room (walls and furniture absorb the signal).
- 🔄 Install repeater (repeater) near the boundary of the coverage area.
⚠️ Increase the transmission power above 100 mW (20 dBm) may violate local radio frequency laws. In Russia, the limit is 100 mW for 2.4 GHz frequency.