Connecting to the Internet via Wi-Fi directly — a relevant task when it is not possible or desirable to use a router. For example, if your ISP provides cable access, but you want to distribute the internet to several devices without additional equipment. Or when you need to temporarily connect a laptop, smartphone, or Smart TV to the network without unnecessary wires.
In this article we will look at all the working methods: from creation virtual access point on Windows and Android before setup Ad-Hoc-networks and the use of modern standards Wi-Fi DirectWe will also consider typical mistakes (for example, lack of support for the 802.11s standard on older adapters) and we will give recommendations on how to enhance the signal when connected directly.
Important: Direct Wi-Fi sharing without a router is limited in the number of connected devices (usually no more than 8-10) and speed. For a stable home network, it's best to use specialized equipment.
1. What does it mean to “connect to the Internet directly via Wi-Fi”?
The term "direct connection via Wi-Fi"This method involves setting up a wireless network without a router. Instead, one of the following devices acts as the internet "distributor":
- 🖥️ Computer or laptop with Wi-Fi adapter (via
Hosted Networkin Windows ornmcliin Linux). - 📱 Smartphone (Access Point mode or Wi-Fi Direct).
- 📺 Smart TV or a prefix (if supported)
P2P-connections).
The main difference from the classic router scheme is the absence of NAT (network address translation), which can create problems with some online services (for example, Netflix or Zoom may block such connections).
⚠️ Note: Direct Internet sharing from a PC to other devices does not support Simultaneous connection to another Wi-Fi network. This means that if your laptop is sharing the internet, it won't be able to connect to another network.
Advantages of direct connection:
- ⚡ Quick setup (no need to configure the router).
- 💰 Savings on the purchase of additional equipment.
- 🔄 Flexibility (you can quickly switch between devices).
2. Method 1: Sharing Wi-Fi from Windows (Hosted Network)
The most common method for laptops and PCs with Windows 10/11. It uses a built-in function Hosted Network, which turns your computer into a virtual router. This is suitable for internet connections via Ethernet or a USB modem.
Instructions:
- Open
Command lineas administrator (clickWin + X→Terminal (Administrator)). - Enter the command to check support:
netsh wlan show driversLook for the line
Hosted network support: yes. If thereNo— update your Wi-Fi adapter driver. - Create a network (replace
MyWiFiAnd12345678to your name and password):netsh wlan set hostednetwork mode=allow ssid=MyWiFi key=12345678 - Start the distribution:
netsh wlan start hostednetwork - Open
Control Panel → Network Connections, find a new connectionWireless Network* X, right-click →Properties → AccessAllow other users to share your internet connection.
Is the internet cable connected to the PC?|Do you have administrator rights?|Are your Wi-Fi drivers updated?|Is your antivirus/firewall disabled?-->
If an error appears after launching Failed to start hosted network, try:
- 🔧 Reinstall the Wi-Fi adapter driver (download from the manufacturer's website, not through Windows Update).
- 🔄 Disable and enable the adapter again
Device Manager. - 🛡️ Temporarily disable your firewall or antivirus (for example, Kaspersky may block distribution).
⚠️ Note: After restarting your PC, Wi-Fi sharing will be disabled. To enable it automatically, create.bat-file with commandnetsh wlan start hostednetworkand add it to startup.
3. Method 2: Wi-Fi Direct for Smart TVs and Smartphones
Wi-Fi Direct — a technology that allows devices to connect to each other without a router. It's most often used for file transfer, but some models Smart TV (For example, Samsung QLED 2022+ or LG OLED C2) support Internet access via such a connection.
How to set up:
- On your smartphone (Android) activate
Wi-Fi Directin the settings (Connections → Wi-Fi → Wi-Fi Direct). - On your TV, go to
Network → Wi-Fi Directand select your phone's name. - Confirm pairing on both devices.
- Turn on your smartphone
Tethering → Wi-Fi Hotspot(if the Internet is connected via a mobile network) or distribute the Internet from a cable connection (viaUSB-ethernet adapter).
Restrictions:
- 📶 The speed will be lower than when connected via a router (maximum ~150 Mbps).
- 🔋 Your smartphone's battery drains quickly (it's recommended to keep it charging).
- 🔄 Not all applications on TV support operation via Wi-Fi Direct (For example, YouTube may give an error
no internet connection).
| Device | Wi-Fi Direct support | Max. speed | Notes |
|---|---|---|---|
| Samsung Smart TV (2018–2026) | Yes | up to 200 Mbit/s | The software needs to be updated to the latest version. |
| LG OLED/NANO (2020–2026) | Yes | up to 150 Mbit/s | Works only with Android 10+ |
| Sony Bravia (2019–2026) | Partially | up to 100 Mbit/s | It needs to be enabled in the service menu (Service Settings → Network) |
| Xiaomi Mi TV | No | — | Use Miracast for screen sharing |
4. Method 3: Ad-Hoc network for older devices
Ad-Hoc (from the Latin "special") is an outdated wireless networking standard that allowed devices to connect directly. It is supported by Windows 7/8 and some older adapters, but does not work with most modern gadgets (e.g., iPhone or Android 12+).
How to set up on Windows:
- Open
Control Panel → Network and Sharing Center → Set up a new connection. - Select
Setting up a wireless computer-to-computer network. - Set the network name (
SSID), security type (WPA2-Personal) and password. - Turn on Internet Sharing (as in method with
Hosted Network).
Problems and solutions:
- 🖧 The device does not see the network: Update your Wi-Fi adapter driver or use an external USB adapter that supports it.
Ad-Hoc(For example, TP-Link TL-WN725N). - 🔌 No internet access: Check your sharing settings in
Connection properties. - 🛑 Error "Failed to save settings": Start the service
Automatic Configuration WLAN(services.msc).
⚠️ Attention: Ad-Hoc networks do not support IPv6, which may cause problems accessing some sites (for example, Google or Facebook may not open correctly).
How to check if your adapter supports Ad-Hoc?
Open device Manager, find your Wi-Fi adapter, right-click → Properties → Advanced. Look for parameters Ad Hoc 11n or 802.11n ModeIf they are not there, the adapter does not support this mode.
5. Method 4: Sharing from an Android smartphone (tethering)
Any modern smartphone on Android or iOS can distribute the Internet via Wi-Fi, USB, or Bluetooth. For direct connection to other devices, it is more convenient to use Wi-Fi hotspot.
Step-by-step instructions for Android:
- Open
Settings → Connections → Hotspot & Tethering. - Select
Mobile hotspot. - Set up a network name (
SSID), password and frequency range (2.4 GHzor5 GHz). - Activate the access point.
Peculiarities:
- 📶 5 GHz provides greater speed, but a shorter range (suitable for rooms without walls).
- 🔋 When using tethering, your smartphone's battery drains 30-50% faster. Use a charger.
- 📱 On iPhone the function is called
Modem modeand is located inSettings → Cellular.
| Parameter | Recommended value | Explanation |
|---|---|---|
| Range | 2.4 GHz | Passes through walls better, but slower |
| Channel width | 20 MHz | More stable connection than 40 MHz |
| Security type | WPA2-PSK | The most reliable option for Android |
| Auto power off | Never | Otherwise, the access point will turn off when idle. |
6. Method 5: Direct connection via USB (Reverse Tethering)
Reverse Tethering Reverse tethering (RT) is a method whereby internet from a PC is transmitted to a smartphone or tablet via a USB cable. This is useful if the device's Wi-Fi module is broken or you need to conserve battery life.
Instructions for Android:
- Connect your smartphone to your PC via USB.
- Turn on your phone
USB debugging(Settings → About phone → Build number(click 7 times) →For Developers → USB Debugging). - Install on PC Android SDK Platform Tools (download from the website Google).
- Open
Command linein the folder withadband enter:adb tcpip 5555adb shell netcfg usb0 dhcp
adb shell setprop net.dns1 8.8.8.8 - On your PC, open
Network connections, find the connectionRemote NDIS, right-click →Properties → Accessand enable internet sharing.
Restrictions:
- 🔌 Works only when connected via USB (you can't move far from the PC).
- 📱 Requires developer rights and may not work on some firmware (for example, MIUI from Xiaomi).
- 🔄 The speed is limited by the USB 2.0 bandwidth (~480 Mbps, but in reality ~100–200 Mbps).
7. Common mistakes and their solutions
Even with proper configuration, direct Wi-Fi sharing can be unstable. Let's look at the most common issues:
| Error | Cause | Solution |
|---|---|---|
Failed to start hosted network |
Wi-Fi driver does not support Hosted Network |
Update your driver or use an external adapter. |
| The devices connect, but there is no internet. | Sharing is not configured | Check the settings in Connection Properties → Access |
| Network disappears after reboot | Hosted Network is not saved |
Create .bat-file for autorun |
| Low speed (less than 10 Mbps) | Interference on the 2.4 GHz channel | Switch to 5 GHz or change the channel manually |
| Smart TV does not connect to the access point | Incompatibility of Wi-Fi standards | Change the security type to WPA2-PSK (AES) |
If nothing helps:
- 🔧 Check it out MAC filtering on the main router (if the Internet goes through it).
- 🔄 Restart all devices (sometimes this helps even with correct settings).
- 📡 Install Wi-Fi repeater (For example, TP-Link RE605X), if the signal is weak.
⚠️ Please note: Some internet service providers (eg. Rostelecom or Beeline) block Wi-Fi distribution from a connected cable unless the contract specifies multiple devices. In this case, direct distribution will not work; a router will be required.
8. How to boost the signal with a direct connection?
Direct Wi-Fi distribution often suffers from a weak signal, especially if devices are in different rooms. Here are ways to improve coverage:
- 📡 Use an external antenna: Some USB adapters (eg. Asus USB-AC56) support the connection of antennas with a gain of up to
9 dBi. - 🔋 Positioning the device: Place the distributing device (laptop or smartphone) on an elevated surface, away from metal objects.
- 🔄 Changing the channel: Set the channel manually
6or11in the access point settings (they are less loaded). - 🛡️ Disable Wi-Fi power saving: On Windows, disable the option
Allow the computer to turn off this device to save powerin the adapter properties.
For maximum stability:
- 🖥️ If you are distributing from a PC, use Powerline adapters (For example, TP-Link AV1000) to transmit the Internet through electrical wiring, and then distribute Wi-Fi.
- 📶 Turn on the mode on your smartphone
Maximum performancein the access point settings (available on some firmware versions, for example, ColorOS from Oppo).
FAQ: Frequently Asked Questions
Is it possible to share Wi-Fi from a PC if the internet itself is connected via Wi-Fi (not a cable)?
Technically it is possible, but most Wi-Fi adapters do not allow this (they do not support the mode) Client + AP simultaneously). Exceptions are adapters with chipsets Medatek MT7612 or Qualcomm Atheros, but even in this case the speed will be extremely low.
Solution: Connect to the Internet via a USB modem or cable, or use a second Wi-Fi adapter (USB) specifically for sharing.
Why does Windows say "No Internet access" when connecting to an access point?
This means that the PC is not configured Internet access sharing. Check:
- Open
Control Panel → Network Connections. - Find the connection through which the PC receives the Internet (for example,
Ethernet). - Right click →
Properties → Access. - Check the box
Allow other network users to share your internet connection. - From the drop-down list, select the wireless connection you created (for example,
Local Area Connection* 12).
If it doesn't help, disable your antivirus (for example, Avast or ESET distribution is often blocked).
How many devices can be connected to a direct Wi-Fi network?
The theoretical limit is up to 254 devices (due to protocol peculiarities DHCP). However, in practice:
- 🖥️ Windows (Hosted Network): 8–10 devices (after that, lags begin).
- 📱 Android (hotspot): 5–8 devices (depending on the smartphone model).
- 📺 Wi-Fi Direct: usually only 1 device.
When the limit is exceeded, the speed drops by 2-3 times, and the ping increases to 500+ ms.
Is it possible to play online games via a direct Wi-Fi connection?
Technically yes, but with some caveats:
- 🎮 Ping will be 20-50 ms higher than with a router.
- 🔄 Possible packet losses (up to 5–10%) due to the lack of buffering at the router level.
- 🚫 Some games (for example, CS2 or Valorant) may block connections through
Hosted Networkas "suspicious."
Recommendation: For gaming, it is better to use a router or at least Powerline adapters for a stable connection.
How to protect a direct Wi-Fi network from hacking?
Direct networks are more vulnerable than routers because they often use simplified authentication protocols. Minimum security measures:
- 🔐 Use WPA2-PSK (AES) instead of
WEPor open network. - 🔄 Change your password every 2-3 months (especially if you connect other people's devices).
- 🖥️ On Windows, disable
WPS(if it is suddenly enabled in the adapter settings). - 📱 On Android, hide the access point SSID (in the modem settings).
For maximum protection, please set up MAC address filtering (but this is inconvenient if you often connect new devices).