How to Connect a Laptop to Wi-Fi: Instructions for Windows, macOS, and Linux

Wireless internet has become an integral part of everyday life, but even in 2026, many users still face difficulties when connecting their laptop to the internet for the first time. Wi-Fi networksProblems can range from simple password errors to complex technical issues with adapters or router settings. This article will help you understand all the nuances of the process, from basic connection to troubleshooting.

We will consider universal methods for all modern operating systems, including Windows 11, macOS Ventura/Sonoma and popular distributions Linux (Ubuntu, Mint, Fedora). We'll pay special attention to common errors that interfere with stable Wi-Fi operation and provide practical recommendations for troubleshooting them. If you've just purchased a new ASUS ZenBook, Lenovo ThinkPad or MacBook Air - This instruction will become your reliable guide.

Before you begin setting up, make sure your router is turned on and broadcasting the network. Pay attention to the indicator lights: Wi-Fi signal (usually green or blue) and the absence of a flashing red light indicate the device is working properly. If the indicators are behaving abnormally, first reboot the router using the button. Reset/On-Off on the back panel.

1. Preparing your laptop for connection

Before searching for Wi-Fi networks, you need to make sure your laptop is technically ready for a wireless connection. Let's start by checking the most obvious: physical activation of the adapter.

On most models (eg. HP Pavilion, Dell XPS) there is a special key or combination for controlling wireless modules. Most often, this is Fn + F2, Fn + F12 or a separate button with an antenna icon. MacBook Check the menu bar—the Wi-Fi icon should be active. If there's no icon at all, this may indicate that the adapter is disabled in the system settings.

📊 What kind of laptop do you have?
Windows (Lenovo, HP, ASUS, etc.)
MacBook (Apple)
Linux (Ubuntu, Mint, etc.)
Another brand

Also worth checking out network adapter drivers. IN Windows This can be done through device Manager (call him through Win + X). In the list, find the "Network adapters" section - your Wi-Fi module should be displayed there (for example, Intel AX200, Qualcomm Atheros QCA61x4 or Broadcom 4360). If there is an exclamation mark next to the name, the driver requires updating or reinstallation.

  • 🔍 Check the physical switch Wi-Fi on the laptop case (relevant for older models) Sony Vaio or Acer Aspire)
  • 🔄 Restart your laptop - sometimes this solves problems with adapter initialization
  • 📡 Make sure Airplane Mode is on disabled (in Windows 11 This can be done through the notification center)
  • 🔧 Update your drivers through the laptop manufacturer's official website, not through Windows Update
⚠️ Attention: On some laptops (eg. MSI Modern or Gigabyte Aorus) The Wi-Fi adapter may be disabled in the BIOS. If you recently updated the firmware or reset the settings, check the setting Wireless LAN Support in the section Advanced → Onboard Devices Configuration.

2. Connecting to Wi-Fi in Windows 10 and 11

Connection process in modern versions Windows It's as simplified as possible, but there are some nuances that many people don't know about. Let's start with the basic method:

  1. Click on the icon Wi-Fi in the lower right corner of the taskbar (next to the clock).
  2. In the list that appears, select the name of your network. If it's not listed, click "Hidden Network" and enter the name (SSID) manually.
  3. Enter your password and click "Connect".
  4. When you first connect, the system will prompt you to select network settings: "Private" (home/work) or "Public" (cafe, airport).

If the network requires additional parameters (for example, WPA3-Enterprise (in offices or universities), click "Advanced options" and select the security type. For corporate networks, you may need to specify DOMAIN\username and a certificate.

Security type Where is it used? What is required for connection?
WPA2-Personal Home networks, most routers Password only (8+ characters)
WPA3-Personal Modern routers (ASUS RT-AX88U, TP-Link Archer AX6000) Password (special characters supported)
WPA2/WPA3-Enterprise Offices, educational institutions, hotels Login, password, sometimes a certificate (.p12 or .cer)
Open network Public access points (McDonald's, subway) Confirmation via SMS or portal

If you receive the error "Unable to connect to the network" after entering your password, try:

  • 🔄 Reboot your router and laptop simultaneously
  • 📝 Make sure that character register the password matches (Caps Lock may be enabled)
  • 🛠️ Forget the network (right-click on the network name → "Forget") and reconnect
  • 📡 Check if it is enabled on your router MAC address filter (You need to add your laptop's MAC to the whitelist)

3. Connection Features on macOS (Ventura, Sonoma, and later)

Laptops Apple traditionally famous for its ease of connecting to wireless networks, but there are some pitfalls here too. The main difference from Windows - more aggressive power management that can turn off the Wi-Fi adapter in sleep mode.

To connect to the network on MacBook:

  1. Click on the Wi-Fi icon in the upper right corner (next to the date).
  2. Select the desired network from the list. If it's not there, click "Other networks..." and enter the SSID manually.
  3. Enter your password and click "Connect".
  4. When you first connect, the system may ask for confirmation via iCloud Keychain (if password synchronization is enabled).

Important note for macOS Sonoma: if you are connecting to a network with hidden SSIDAfter entering the network name, you may see the error "Unable to connect." In this case, you need to manually add the network via System Preferences → Network → Wi-Fi → Advanced, where you indicate not only the name, but also channel (for example, 6 for 2.4 GHz or 36 for 5 GHz).

Common problems on Mac:

  • 🚫 "Wi-Fi: No Internet connection" - check your DNS settings in System Preferences → Network → Wi-Fi → Advanced → DNSTry using Google DNS: 8.8.8.8 And 8.8.4.4.
  • 🔋 Automatic Wi-Fi shutdown — Disable the "Turn off Wi-Fi when going to sleep" option in the same advanced settings.
  • 🔒 Blocking by corporate policies - if the laptop was issued by the employer, a configuration profile may be installed (check in System Preferences → Profiles).
⚠️ Attention: On MacBook with chips Apple Silicon (M1/M2/M3) when connecting to networks with WPA3-Enterprise You may need to manually install the certificate through the Keychain Access app. There's no standard connection wizard like in Windows.

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

Linux distributions offer more flexibility in setting up networks, but this often makes the process more complicated for beginners. Most modern versions (for example, Ubuntu 24.04 LTS or Linux Mint 21.3) are used NetworkManager to manage connections, but sometimes manual configuration via the console is required.

Standard connection method via GUI:

  1. Click on the network icon in the upper right corner (next to the battery).
  2. Select the desired network from the list. If it's not there, click "Connect to a hidden network..."
  3. Enter your password and click "Connect".
  4. If required, select the security type (usually WPA & WPA2 Personal).

If the GUI doesn't work or you prefer a terminal, use the command:

nmcli device wifi connect "NETWORK_NAME" password "PASSWORD"

For networks with WPA-Enterprise (for example, in universities) a more complex command will be required:

nmcli connection add type wifi con-name "UnivWiFi" ifname wlo1 ssid "UnivWiFi"

nmcli connection modify "UnivWiFi" wifi-sec.key-mgmt wpa-eap

nmcli connection modify "UnivWiFi" 802-1x.eap peap

nmcli connection modify "UnivWiFi" 802-1x.phase2-auth mschapv2

nmcli connection modify "UnivWiFi" 802-1x.identity "YOUR_LOGIN"

nmcli connection modify "UnivWiFi" 802-1x.password "YOUR_PASSWORD"

nmcli connection up "UnivWiFi"

Common problems in Linux:

  • 🐧 The Wi-Fi icon is missing — check if NetworkManager is running: sudo systemctl status NetworkManagerIf not, run it: sudo systemctl start NetworkManager.
  • 🔌 Adapter not found - do it lspci | grep -i network or lsusbto make sure the system sees the device. For some chips (eg, Broadcom BCM43142) proprietary drivers are required.
  • 🔄 Constant connection breaks - try disabling power saving for Wi-Fi: iwconfig wlo1 power off (replace wlo1 to your interface).
How do I find out the name of my Wi-Fi interface?

Run the command ip a or iwconfig in the terminal. Look for an adapter with the type name wlan0, wlp3s0 or wlo1.

5. Troubleshooting connection issues

If your laptop can't see the network at all or constantly loses connection, the problem could be either with the device itself or with the router settings. Let's start with troubleshooting the laptop.

Step 1: Checking the adapter's operation

  • IN Windows: open Command line (Win + R → cmd) and enter netsh wlan show interfacesIf the response does not contain connection information, the adapter is disabled or faulty.
  • IN macOS: open Terminal and do it networksetup -listallhardwareports. Search for section Wi-Fi or AirPort.
  • IN Linux: team iwconfig should show your wireless interface (eg. wlo1).

Step 2: Diagnosing the Router

  • 📶 Check if SSID broadcasting is enabled in your router settings (sometimes it is disabled for "hidden" networks).
  • 🔄 Reboot your router (unplug it for 30 seconds).
  • 📡 Make sure that the router is not turned on 802.11r (Fast Roaming) mode - It may cause connection problems on some laptops.
  • 🔒 Check if your Wi-Fi password has changed (sometimes this happens automatically when you update your router's firmware).

Step 3: Check for Conflicts

  • Disable VPN or proxy servers - they may be blocking the connection.
  • Make sure there are no programs running on your laptop like Wireshark or Fiddler, which can capture network traffic.
  • Check if it is turned on modem mode on the phone - sometimes it conflicts with the Wi-Fi adapter.

Rebooted the router and laptop | Checked the password | Updated the Wi-Fi adapter drivers | Tried connecting from another device | Disabled the VPN and antivirus -->

⚠️ Attention: If your laptop connects to the network, but the internet is not working (Wi-Fi icon with an exclamation mark), check your IP settings. Windows This can be done through Control Panel → Network and Internet → Network and Sharing Center → Change adapter settingsRight-click your connection → "Properties" → "Internet Protocol Version 4 (TCP/IPv4)" and make sure "Obtain an IP address automatically" is selected.

6. Optimize Wi-Fi speed and stability

Even if you have a connection, your speed may still be slow. Here are some ways to improve performance:

On the laptop side:

  • 📶 Select the correct range: 5 GHz networks (802.11ac/ax) faster, but less coverage. 2.4 GHz (802.11n) is slower, but passes through walls better.
  • 🔄 Update your drivers: For Windows Download them from the laptop manufacturer's website, not through the "Update Drivers" option in the system.
  • 🛡️ Disable power saving: V Windows go to Device Manager → Network Adapters → [your adapter] → Properties → Power Management and uncheck "Allow shutdown...".

On the router side:

  • 📡 Change the channel: use apps like Wi-Fi Analyzer (Android) or NetSpot (macOS/Windows) to find the least crowded channel.
  • 🔒 Update firmware: go to the router control panel (usually 192.168.1.1 or 192.168.0.1) and check for updates.
  • 🌐 Configure QoS: If you have many devices, prioritize your laptop's traffic in the Quality of Service settings.
Problem Possible cause Solution
Low speed Congested 2.4 GHz channel Switch to 5 GHz or change the channel in your router settings.
Constant breaks Weak signal or interference Move the router closer or use a repeater
No connection to 5 GHz The laptop adapter does not support 5 GHz. Check adapter specifications or update drivers
"Restricted Access" DHCP issues on router Reboot your router or assign a static IP manually

7. Security when connecting to public networks

Connecting to open networks in cafes, airports, or hotels carries the risk of data interception. Here are the basic security rules:

What to do:

  • 🔒 Use VPN (For example, ProtonVPN, NordVPN) to encrypt traffic.
  • 🌐 Turn on HTTPS wherever possible (install the extension HTTPS Everywhere for the browser).
  • 🛡️ Turn it off file and printer sharing in the network settings (in Windows this is done in "Advanced sharing settings").
  • 🔄 Turn on firewall and check that your antivirus is updated.

What to avoid:

  • 🚫 Don't enter logins/passwords for important services (banks, email) without a VPN.
  • 📁 Do not download files from unverified sources.
  • 🔌 Do not connect to networks with suspicious names (for example, "Free_WiFi_Hack").
  • 💳 Do not make payments without confirmation via SMS or through a banking app.

IN Windows 11 When you first connect to a public network, the system automatically sets the "Public" profile, which limits the exchange of data between devices. macOS The "Restrict access to local network" option in the Wi-Fi settings performs a similar function.

⚠️ Attention: Some public networks require authorization through port capture (captive portal). If the internet doesn't work after connecting, open your browser and try accessing any website (for example, neverssl.com) - a window should appear for entering your login/password or accepting the terms and conditions.

FAQ: Frequently asked questions about connecting Wi-Fi to a laptop

My laptop can't see any Wi-Fi networks. What should I do?

First, check if the Wi-Fi adapter is turned on (physical button or combination Fn + key). If yes, update the drivers via device Manager (Windows) or Terminal (Linux: sudo apt update && sudo apt install firmware-repository). On Mac, check System Preferences → Network — the adapter should be in the list on the left.

If the adapter is turned on but there are no networks, try connecting an external USB Wi-Fi adapter (for example, TP-Link TL-WN823N) - this will help determine whether the problem is in the laptop or the router.

I'm connected, but the pages won't open. What's wrong?

This is a typical DNS issue. Try manually entering Google's DNS (8.8.8.8 And 8.8.4.4) or Cloudflare (1.1.1.1 And 1.0.0.1). In Windows, this is done in the connection properties (IPv4), in macOS - in System Preferences → Network → Advanced → DNS.

Also, check if your antivirus or firewall is blocking traffic. Temporarily disabling these programs will help identify the culprit.

How to connect to a hidden Wi-Fi network?

In Windows: Click the Wi-Fi icon → "Hidden Network" → enter the name (SSID) and password. In macOS: Open the list of networks → "Other Networks..." → enter the details. In Linux, use the command:

nmcli device wifi connect "NETWORK_NAME" password "PASSWORD" hidden yes

Make sure the network name is entered exactly (case-sensitive and spaces-sensitive).

My laptop connects to Wi-Fi, but disconnects after 5 minutes. Why?

The problem is usually related to power saving settings. In Windows, disable the "Allow the computer to turn off this device to save power" option in the Wi-Fi adapter properties. In Linux, run:

iwconfig wlo1 power off

Also check your router settings - some models (for example, TP-Link Archer C7) have a "Wireless Power Saver" option that can disconnect the connection.

Is it possible to connect to Wi-Fi without a password?

Technically yes, but only if the network is open (unencrypted) or you know the password. Hacking secure networks (WPA2/WPA3) is illegal and requires specialized skills. If you've forgotten your network password, you can find it here:

  • IN Windows: Control Panel → Network and Internet → Network and Sharing Center → Change adapter settings → right-click on the connection → "Status → Wireless network properties → Security" (check "Show entered characters").
  • IN macOS: open Bunch of keys, find the network name and check the "Show password" box.
  • On router: go to the control panel (usually 192.168.1.1) and look in the section Wireless → Wireless Security.