Wireless Internet connections have long been a standard, but what to do if you don’t have an Ethernet cable at hand and your laptop stubbornly doesn’t see the network? The situation is familiar to many: you’ve moved to a new apartment, you’ve forgotten your router password, or you just want to connect to someone else’s network (with permission, of course). In this article we will analyze all possible ways to connect a laptop to Wi-Fi wirelessly - from basic to exotic, including bypassing locks and restoring access.
We will not limit ourselves to the standard “find the network in the tray” instruction. Instead, you will learn how to connect via WPS (even if there is no button on the router), how to use a smartphone as a modem, how to manually add a network via netsh on Windows or nmcli in Linux, and what to do if the laptop “does not see” the network at all. There is also a table with connection error codes and their solutions, which you will not find in the official documentation.
1. Standard connection via control panel (Windows 10/11)
Let's start with the most obvious - but not always working - method. In 90% of cases, the problem lies not in the laptop, but in the router settings or adapter drivers. Here's how to connect correctly:
Open notification panel in the lower right corner of the screen (Wi-Fi icon). If the icon is crossed out or gray, it means that wireless adapter is disabled or the driver is not installed. Click on the icon and select the desired network from the list. If there is no network, click Network Troubleshooting (Windows 11) or Diagnostics (Windows 10).
- 🔍 Network not showing? Check if the mode is enabled Airplane Mode (key
Fn + F2/F12on most laptops). - 🔑 Requests a password but you don't know it? Look at it on the router sticker (link to the section about resetting the password below).
- ⚡ Is the connection dropping? Try disabling power saving for the Wi-Fi adapter in
Device Manager.
If an error appears after entering your password "Cannot connect to this network", try remove network from saved ones and connect again:
- Go to
Settings → Network and Internet → Wi-Fi → Manage known networks. - Find the problematic network, click
Forget. - Restart your laptop and try connecting again.
- Asus
- Lenovo
- HP
- Acer
- Dell
- Apple MacBook
- Other
2. Connection via WPS (even if there is no button on the router)
WPS (Wi-Fi Protected Setup) is a quick connection technology without entering a password. Many people think that it only works through a physical button on the router, but this is not so. There are three ways to activate WPS:
- Via the router web interface (192.168.0.1 or 192.168.1.1). Go to settings, find the section
WPSand activate the function. On your laptop, select the network and clickConnect via WPS(in Windows 11 this option is hidden - see spoiler below). - Via PIN code. On some routers (for example, TP-Link or Keenetic) you can generate a PIN in the web interface and enter it on your laptop.
- Via mobile application. U Xiaomi, Huawei And ASUS There are proprietary utilities for managing the router from a smartphone, where you can enable WPS remotely.
Where is the WPS button hidden in Windows 11?
In Windows 11, the WPS option is hidden in the connection menu. To see it:
1. Open Settings → Network and Internet → Wi-Fi.
2. Click Additional options (bottom of page).
3. In the section WPS setup select Connect via the WPS button on the router.
4. Press the WPS button on the router within 2 minutes.
Important: WPS is vulnerable to brute force attacks, so after connecting, disable this feature in the router settings. If your router is older than 2018, it is better to use the standard password.
⚠️ Attention: Some providers (eg Rostelecom or MTS) block WPS by default. To unblock, call support and ask to enable the function in your personal account.
3. Manually adding a network via the command line (if Windows does not “see” Wi-Fi)
If the laptop does not display any networks, the problem may be with the drivers or adapter settings. Before taking the device to the service, try adding the network manually via netsh:
netsh wlan add profile filename="C:\путь\к\файлу.xml"
But where can I get this file? You can generate it yourself. Here is the template for the network MyWiFi with password 12345678 (replace with your data):
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1"><name>MyWiFi</name>
<SSIDConfig>
<SSID>
<name>MyWiFi</name>
</SSID>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>auto</connectionMode>
<MSM>
<security>
<authEncryption>
<authentication>WPA2PSK</authentication>
<encryption>AES</encryption>
<useOneX>false</useOneX>
</authEncryption>
<sharedKey>
<keyType>passPhrase</keyType>
<protected>false</protected>
<keyMaterial>12345678</keyMaterial>
</sharedKey>
</security>
</MSM>
</WLANProfile>
Save the code to a file wifi.xml and run the command above. If an error appears "Failed to add profile", check:
- 📡 Is the Wi-Fi adapter turned on? in
Device Manager(sectionNetwork adapters). - 🔧 Are drivers installed?. To check, enter on the command line:
pnputil /enum-drivers. - 🛡️ Is your antivirus blocking the connection? (For example, Kaspersky or Avast).
Is Wi-Fi turned on on the laptop (Fn + F2/F12 key)
Are the adapter drivers updated (via Device Manager)
Is the VPN or proxy disabled (may block the connection)
Is the password entered correctly (case is important)
-->
4. Connection via smartphone (modem, USB tethering, Bluetooth)
If there is no router at all or it is broken, you can use your smartphone as an Internet source. There are three ways:
| Method | Speed | Battery consumption | Features |
|---|---|---|---|
| Hotspot (Wi-Fi) | High (up to 150 Mbit/s) | Very tall | Suitable for any device, but quickly drains the battery |
| USB tethering | Medium (up to 100 Mbit/s) | Low (charged from laptop) | Requires USB cable, may not work with some carriers |
| Bluetooth tethering | Low (up to 3 Mbit/s) | Medium | Slow but economical. Suitable for mail and instant messengers |
To enable the hotspot on Android:
- Go to
Settings → Network and Internet → Access point and modem. - Select
Wi-Fi hotspotand configure the network name/password. - Activate the switch. On your laptop, connect to the new network as usual.
On iPhone another way: Settings → Modem mode. Please note: some operators (for example, Tele2) block tethering without an additional option. To bypass the block:
- 📱 On Android: install the application ClockworkMod Tether (requires root).
- 🍎 On iPhone: change APN to
internet.mts.ru(for MTS) or similar for your operator.
⚠️ Attention: When connecting via USB tethering on Windows, you may need to install a driver RNDIS. Download it from the phone manufacturer's website (for example, for Samsung — here).
5. Connection on macOS and Linux (features and commands)
On MacBook Connecting to Wi-Fi is usually easier than on Windows, but there are some caveats. If the network is not shown:
- Open
System Settings → Network. - Select
Wi-Fiin the left menu and clickAdditionally. - On the list
Preferred networksdelete old connections and add a new network manually.
For Linux (Ubuntu, Mint, Debian) use nmcli:
# Посмотреть доступные сетиnmcli dev wifi list
# Подключиться к сети "MyWiFi" с паролем "12345678"
nmcli dev wifi connect "MyWiFi" password "12345678"
If an error appears "Activation of network connection failed", check:
- 🐧 Is the package installed? network-manager:
sudo apt install network-manager. - 🔌 Is the Wi-Fi adapter turned on?:
rfkill list(if statusSoft blocked: yes, unlock with commandrfkill unblock wifi). - 📡 Does the adapter support your Wi-Fi standard? (For example,
802.11ac).
If on Linux the laptop does not see the network after updating the kernel, try rolling back to the previous version or installing proprietary drivers for your adapter (for example, for Broadcom - package bcmwl-kernel-source).
6. What to do if the laptop does not see the network at all
If none of the methods work, the problem may be hardware or system. Go through this checklist:
- Check the physical condition of the adapter:
- 🔧 On some laptops (Lenovo ThinkPad, Dell Latitude) Wi-Fi module is connected via
M.2-slot and can come off if dropped. - 💡 If the Wi-Fi indicator does not light up, the module may have burned out (a common problem with HP Pavilion series 2016–2018).
- 🔧 On some laptops (Lenovo ThinkPad, Dell Latitude) Wi-Fi module is connected via
- Update drivers manually:
- Download the driver from the laptop manufacturer's website (not from Windows Update!).
- For adapters Intel use Intel Driver & Support Assistant.
- For Realtek check the version via
Device Manager → Properties → Driver.
- Check BIOS settings:
- On some laptops (ASUS ROG, MSI) Wi-Fi is disabled in BIOS by default.
- Go to BIOS (key
F2/Delon boot) and find the optionWireless LANorWLAN Radio.
If the laptop still does not see the network, try reset TCP/IP stack:
netsh int ip resetnetsh winsock reset
ipconfig /flushdns
After executing the commands reboot laptop. If the problem persists, a virus may be to blame (for example, Trojan.Win32.NetFilter, which blocks network connections). Check the system Kaspersky Virus Removal Tool.
If the laptop does not see the network after updating Windows, roll back the system to the previous restore point or uninstall the latest update (KB5034441 often breaks Wi-Fi on older adapters).
FAQ: Frequently asked questions about connecting Wi-Fi wirelessly
Is it possible to connect to Wi-Fi without a password?
Technically yes, but legally - only with the permission of the network owner. Methods:
- 🔑 Ask the owner for a password (the most honest option).
- 📱 Use WPS if it is enabled (see section 2).
- 🛠️ Recover your password via your router (if you have access to its settings).
Hacking of other people's networks is punishable under Article 272 of the Criminal Code of the Russian Federation (“Illegal access to computer information”).
The laptop connects to Wi-Fi, but the Internet does not work. What to do?
The problem may be on the side of the router or provider. Check:
- 🌐 Does the router page open at
192.168.0.1or192.168.1.1? If yes, the problem is with the provider. - 🔄 Reboot the router (pull the plug for 30 seconds).
- 📡 Check if DHCP is enabled in the router settings (section
LAN). - 💻 On your laptop, do:
ipconfig /release→ipconfig /renew.
If all else fails, call your provider and ask them to check the connection on their end.
How to connect to a hidden Wi-Fi network?
Hidden networks do not broadcast their name (SSID), but you can connect to them manually:
On Windows:
- Go to
Settings → Network and Internet → Wi-Fi → Manage known networks. - Click
Add a new network. - Enter the network name (SSID), security type (
WPA2-Personal AES) and password.
On macOS: in System Settings → Network → Wi-Fi → Advanced add the network manually.
On Linux: nmcli dev wifi connect "SSID" password "password" hidden yes.
Is it possible to connect a laptop to Wi-Fi via a USB adapter if the built-in one is broken?
Yes, this is one of the most reliable methods. USB adapters (eg TP-Link TL-WN725N or ASUS USB-AC53 Nano) cost from 500 rubles and support speeds of up to 300–1200 Mbit/s. To connect:
- Insert the adapter into the USB port.
- Install the driver from the disk or from the manufacturer's website.
- Connect to the network as usual (via the notification panel).
For older laptops (before 2010), take adapters that support 802.11n (For example, D-Link DWA-131).
How to reset the Wi-Fi password on a router if you forgot it?
There are two ways:
Method 1: Via the web interface (if you know the current password)
- Go to your router settings (
192.168.0.1or192.168.1.1). - Go to section
Wireless → Wireless Security. - Change the password in the field
PSK Password.
Method 2: Hard reset (if password is unknown)
- Press and hold the button
Reseton the router for 10–15 seconds (until the indicators blink). - The router will be reset to factory settings. The login information will be on a sticker (usually
admin/admin). - Reconfigure the network.
⚠️ After the reset, all connected devices will turn off, and you will have to configure the router from scratch.