How to connect Wi-Fi to your computer: 5 methods + troubleshooting

Connecting to a wireless network on your computer seems like a simple task—until you encounter errors like “No connections available” or “Limited access.” This guide will help you set up Wi-Fi on any PC: from a desktop computer with an external adapter to a laptop with a built-in module. We'll cover not only the standard method via the control panel, but also alternative methods (for example, via command line or PowerShell), as well as diagnostics of typical problems.

It is important to understand that the connection process depends on three key factors: operating system (Windows, Linux, macOS), type of Wi-Fi adapter (built-in, USB, PCIe) and router settings (security standard, channel, MAC filtering). If your computer doesn't see the network that other devices see, the problem lies either with the drivers or the hardware. In 80% of cases, reinstalling the driver or resetting the network settings helps—more on this in the errors section.

For Beginners: If you are setting up Wi-Fi on your PC for the first time, start with the "Standard connection via Windows"Experienced users will find it useful advanced methods (for example, connecting via netsh) And error code table with solutions. Don't miss also section on security — it explains why you shouldn't connect to open networks without a VPN.

1. Standard connection via Windows 10/11

The most common method is to use the built-in connection wizard. It works on 99% of devices with Windows 10/11If the Wi-Fi adapter driver is installed correctly, here are the step-by-step instructions:

  1. Open the Wi-Fi panel: Click on the network icon in the lower right corner of the screen (next to the clock) or use the combination Win + A.
  2. Select a network: In the list of available access points, find the name of your router (for example, TP-Link_1234 or Keenetic-5GHz).
  3. Enter your password: Click on the network, enter the security key (password) and click “Connect”.
  4. Confirm connection: If prompted to select a network type (Private or Public), select Private for your home network.

If the Wi-Fi icon is missing from the taskbar, it may mean:

  • 🔌 The adapter is physically disconnected (check the button on the laptop case or the switch on the USB adapter).
  • 🖥️ Driver missing (This is indicated by an exclamation mark in the Device Manager).
  • ⚙️ Network service is disabled (check in services.msc WLAN AutoConfig service status).

The adapter is physically turned on

The driver is installed (no exclamation marks in Device Manager)

The router is turned on and distributing Wi-Fi (the indicators are on)

The network password is entered correctly (check the case of the characters)-->

On Windows 11 The interface is slightly different: the Wi-Fi panel opens through the notification center (Win + N), and the list of networks can be grouped by priority. If your network isn't showing up, try refreshing the list manually using the "Refresh" button (the round arrow at the top of the list).

2. Checking and installing Wi-Fi drivers

Without the correct driver, the Wi-Fi adapter won't work, even if it's physically intact. To check the driver status:

  1. Open device Manager (Win + X → Device Manager).
  2. Expand the section "Network adapters».
  3. Find a device with names like Wireless, Wi-Fi, 802.11ac or the model name (for example, Intel Wi-Fi 6 AX200).
  4. If a yellow exclamation mark is visible next to the adapter, the driver is not working properly.

Driver update methods:

  • 🔄 Automatic update: right-click on the adapter → “Update driver” → “Search automatically”.
  • 💾 Manual installation: download the driver from the manufacturer's website (for example, Intel, Realtek, Broadcom) and install it manually.
  • 🔧 Driver rollback: If the problems started after an update, select "Roll Back Driver" in the context menu.
Adapter manufacturer Website for downloading drivers Typical models
Intel downloadcenter.intel.com AX200, AX210, 8265, 7265
Realtek www.realtek.com RTL8821CE, RTL8188EE, RTL8723DE
Broadcom www.broadcom.com/support BCM4352, BCM4360
Qualcomm Atheros www.qualcomm.com/products/atheros QCA6174, QCA9377

Critical error: If there is no "Network adapters" section in the Device Manager or the Wi-Fi adapter is not listed, this may indicate a hardware failure (for example, a broken antenna on a laptop or a faulty USB port). In this case, check the adapter on another device or contact a service center.

Built into the laptop

External USB adapter

PCIe card for PC

I don't know-->

3. Advanced connection methods

If the standard method doesn't work, try alternative options. These are useful when the Windows graphical interface is unavailable (for example, if explorer.exe crashes) or you need to automate the connection.

Method 1: Via command line (netsh)

Open Command prompt as administrator (Win + X → Terminal (Admin)) and run:

netsh wlan connect name="NETWORK_NAME"

If the network is hidden, first add its profile:

netsh wlan add profile filename="C:\path\to\file.xml"

Where xml file - this is an exported network profile (can be created via netsh wlan export profile name="NETWORK_NAME" folder="C:\" on another PC).

Method 2: Via PowerShell

To connect to an open network (without password):

netsh wlan connect name="NETWORK_NAME" ssid="NETWORK_NAME" interface="Wi-Fi"

For a network with a password:

$password = ConvertTo-SecureString "YOUR_PASSWORD" -AsPlainText -Force

netsh wlan set profileparameter name="NETWORK_NAME" keyMaterial=$password

Method 3: Via a configuration file (for IT professionals)

Create a text file wifi-config.txt with the following contents:

[WiFiProfile]

Name="NETWORK_NAME"

SSID="NETWORK_NAME"

KeyType=WPA2PSK

Key="YOUR_PASSWORD"

AutoSwitch=YES

Then import it:

netsh wlan add profile filename="C:\wifi-config.txt" user=all

4. Connecting Wi-Fi on Linux (Ubuntu, Debian, Fedora)

In Linux distributions, Wi-Fi connection is done via NetworkManager (graphical interface) or console utilities (nmcli, wpa_supplicant). Let's consider both options.

Graphical interface (for beginners)

1. Click on the network icon in the upper right corner (next to the battery on laptops).

2. Select the desired network from the list and enter the password. In most distributions (Ubuntu, Mint, Fedora), the interface is similar to Windows.

3. If the network is not in the list, check if the Wi-Fi adapter is turned on (sometimes you need to press Fn + F2 or another combination).

Console commands (for experienced users)

Install wpa_supplicant And wireless-tools, if they are not installed:

sudo apt install wpasupplicant wireless-tools # For Debian/Ubuntu

sudo dnf install wpasupplicant wireless-tools # For Fedora

View available networks:

sudo iwlist wlan0 scan | grep ESSID

Connect to the network (example for WPA2):

wpa_passphrase "NETWORK_NAME" "PASSWORD" | sudo tee /etc/wpa_supplicant.conf

sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf

sudo dhclient wlan0

On Ubuntu Server (without graphical interface) convenient to use nmcli:

nmcli dev wifi list # Show networks

nmcli dev wifi connect "NETWORK_NAME" password "PASSWORD"

What to do if Linux doesn't see the Wi-Fi adapter?

If the team iwconfig does not show your adapter (for example, wlan0), this means that the Linux kernel does not recognize the device. Solutions:

1. Check adapter support: lspci | grep -i network (for PCIe) or lsusb (for USB).

2. Install proprietary drivers (for example, for Broadcom: sudo apt install firmware-b43-installer).

3. New adapters (Wi-Fi 6/6E) may require kernel version 5.4+.

5. Connecting on macOS (including M1/M2 issues)

On MacBook And iMac Wi-Fi connection is usually problem-free, but sometimes there are nuances - especially with chips Apple Silicon (M1/M2) or after updating macOS. Instructions:

  1. Click on the icon Wi-Fi in the menu bar (upper right corner).
  2. Select a network from the list. If it is not there, click "Other networks...».
  3. Enter your password and click "Connect».
  4. If the error "Unable to connect to the network", try to forget the network (click "Forget this network") and reconnect.

Common problems on macOS:

  • 🍎 Reset SMC/NVRAM: Helps if Wi-Fi suddenly stops working after sleep. For Apple Silicon (M1/M2) just turn off and turn on your Mac. To Intel-Mac: Shift + Control + Option + Power (10 sec).
  • 🔄 Updating macOS: Some Wi-Fi bugs are fixed in new versions of the system.
  • 📡 Problems with 5 GHz: On older MacBooks (pre-2015), 5 GHz may not work. Try connecting to 2.4 GHz.

A macOS quirk: the system sometimes "forgets" passwords after an update. To avoid this, export your settings via System Preferences → Network → Advanced → Wi-Fi (click the "Export Configurations" button).

6. Diagnostics and error correction

If Wi-Fi doesn't connect, first determine at what stage the problem occurs:

  • 🔍 The adapter does not see the network → problem with the driver or antenna.
  • 🔑 Doesn't connect to a specific network → incorrect password or router settings.
  • ⚠️ Connects, but no internet access → problems with DHCP or DNS.
Error code Description Solution
Error 651 The modem or other network device reported an error. Restart your router and PC. Check the router's power cable.
Limited access The PC is connected to the network, but there is no Internet access. Do it ipconfig /releaseipconfig /renew in CMD.
Unable to connect to this network Windows cannot authenticate to the network. Check your router's security standard (WPA2/AES works best).
The driver cannot be loaded. (Code 31) The Wi-Fi adapter driver is in conflict with the system. Uninstall the driver in Device Manager and reinstall it.
No connections available The adapter does not detect the network. Check the antennas (on laptops) or reinstall the driver.

If the problem is not resolved, please do reset network settings:

netsh int ip reset

netsh winsock reset

ipconfig /flushdns

Then restart your PC.

7. Security: How to connect to Wi-Fi without risks

Connecting to public or unsecured networks can lead to data leaks. Follow these guidelines:

  • 🔒 Avoid open networks (without password). If you have to connect, use VPN (For example, ProtonVPN or Windscribe).
  • 🛡️ Check the encryption standard router: WPA3 or WPA2-AES — the optimal choice. WEP And WPA-TKIP are unsafe.
  • 📱 Turn off sharing in the network settings (in Windows: “Private” network instead of “Public”).
  • 🔄 Change your Wi-Fi password regularly (once every 3-6 months). Use password generators (for example, Bitwarden).

On Windows 11 can be turned on protection against ARP spoofing attacks:

  1. Open Settings → Network & Internet → Wi-Fi → Manage known networks.
  2. Select your network → Properties → enableARP spoofing protection».

Warning: If you connect to a corporate network, never save your password in your browser or text files. Use a password manager with two-factor authentication.

Frequently asked questions

Why doesn't the computer see Wi-Fi, but the phone does?

This is a typical driver or antenna problem. Check:

  1. Is the Wi-Fi adapter turned on? Device Manager (is there an exclamation mark).
  2. Does the adapter work on another device (if external)?
  3. Is Wi-Fi turned off? BIOS/UEFI (on desktop PCs).

If the adapter is working properly but the network is not visible, try manually specifying the router channel (for example, 1, 6 or 11 for 2.4 GHz).

How to connect to Wi-Fi without a password (if you forgot it)?

If you have access to the router:

  1. Connect to it via cable.
  2. Open 192.168.0.1 or 192.168.1.1 in the browser.
  3. Log in (default logins: admin/admin or admin/blank password).
  4. Look at the password in the section Wireless → Security.

If you don't have access to your router, reset its settings using the button Reset (hold for 10 seconds). Attention: This will disconnect all users from the network!

Is it possible to connect a PC to Wi-Fi without an adapter?

No, you need it to connect to Wi-Fi. physical adapter (built-in or external). Alternatives:

  • Use USB adapter (from 500 ₽, for example, TP-Link TL-WN725N).
  • Connect via Ethernet (cable).
  • Share Wi-Fi from your phone via USB-ethernet (support needed) USB-tethering).
Why is Wi-Fi slow on my PC but fast on my phone?

Reasons and solutions:

  • Outdated Wi-Fi standard: if the adapter only supports 802.11n (up to 300 Mbps), and the router - 802.11ac (up to 1 Gbps), the speed will be limited. Solution: buy an adapter that supports Wi-Fi 5/6.
  • Interference on the channel: use the utility WiFi Analyzer (Android) or NetSpot (PC) to select a free channel.
  • Adapter driver: Update the driver to the latest version from the manufacturer's website.
  • Limitation from the router: check the settings QoS (may limit speed for certain devices).
How to connect to Wi-Fi on a Windows 7 PC?

The process is similar Windows 10, but with nuances:

  1. Open "Network and Sharing Center» via the control panel.
  2. Select "Connecting to the network».
  3. If the driver is outdated, download it from the manufacturer's website (for example, for Windows 7 x64).

Attention: Windows 7 does not support modern safety standards (WPA3, OWE). If the router is configured to WPA3, switch it to WPA2-PSK.