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/F12 on 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:

  1. Go to Settings → Network and Internet → Wi-Fi → Manage known networks.
  2. Find the problematic network, click Forget.
  3. Restart your laptop and try connecting again.
📊 What laptop do you have?
  • 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:

  1. Via the router web interface (192.168.0.1 or 192.168.1.1). Go to settings, find the section WPS and activate the function. On your laptop, select the network and click Connect via WPS (in Windows 11 this option is hidden - see spoiler below).
  2. 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.
  3. 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 (section Network 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:

  1. Go to Settings → Network and Internet → Access point and modem.
  2. Select Wi-Fi hotspot and configure the network name/password.
  3. 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 Samsunghere).

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:

  1. Open System Settings → Network.
  2. Select Wi-Fi in the left menu and click Additionally.
  3. On the list Preferred networks delete 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 status Soft blocked: yes, unlock with command rfkill 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:

  1. 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).
  2. 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.
  3. Check BIOS settings:
    • On some laptops (ASUS ROG, MSI) Wi-Fi is disabled in BIOS by default.
    • Go to BIOS (key F2/Del on boot) and find the option Wireless LAN or WLAN Radio.

If the laptop still does not see the network, try reset TCP/IP stack:

netsh int ip reset

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

  1. 🌐 Does the router page open at 192.168.0.1 or 192.168.1.1? If yes, the problem is with the provider.
  2. 🔄 Reboot the router (pull the plug for 30 seconds).
  3. 📡 Check if DHCP is enabled in the router settings (section LAN).
  4. 💻 On your laptop, do: ipconfig /releaseipconfig /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:

  1. Go to Settings → Network and Internet → Wi-Fi → Manage known networks.
  2. Click Add a new network.
  3. 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:

  1. Insert the adapter into the USB port.
  2. Install the driver from the disk or from the manufacturer's website.
  3. 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)

  1. Go to your router settings (192.168.0.1 or 192.168.1.1).
  2. Go to section Wireless → Wireless Security.
  3. Change the password in the field PSK Password.

Method 2: Hard reset (if password is unknown)

  1. Press and hold the button Reset on the router for 10–15 seconds (until the indicators blink).
  2. The router will be reset to factory settings. The login information will be on a sticker (usually admin/admin).
  3. Reconfigure the network.

⚠️ After the reset, all connected devices will turn off, and you will have to configure the router from scratch.