How to set up Wi-Fi on a laptop: from connection to diagnostics

Connecting a laptop to Wi-Fi seems like a simple task, but in practice, users encounter dozens of nuances, from hidden networks to driver conflicts. This article will help you understand the process from scratch—even if you're turning on your laptop for the first time or have just reinstalled the operating system. We'll cover not only the basic steps, but also hidden settings, which affect the speed and stability of the connection.

We'll pay special attention to common errors: why a laptop "sees" the network but won't connect, how to bypass restrictions on public hotspots, and what to do if the internet only works on your phone. The instructions are adapted for Windows 10/11, macOS Ventura/Sonoma And Linux (Ubuntu/Debian). For complex cases, we'll provide commands for manual diagnostics—they can be copied and executed without any special knowledge.

If you rent a place to live, work in a coworking space, or connect to a corporate network, you'll find a section at the end of the article about additional security optionsThey will help prevent data leaks and blocking by the network administrator.

1. Preparing your laptop for connection

Before searching for networks, make sure your laptop hardware is ready for use. On most modern models (Lenovo ThinkPad, HP Pavilion, Dell XPS) The Wi-Fi module turns on automatically, but there are exceptions.

On older devices or business laptops (eg. Lenovo T480) You may need to physically turn on the module. Look for the following on the case:

  • 🔄 A button with an antenna (usually on the keyboard or side panel)
  • 🔧 Switch on the end (found on HP EliteBook)
  • 💡 Wi-Fi indicator (should be on or blinking)
📊 What kind of laptop do you have?
Windows
MacBook
Linux laptop
Chromebook
Another

If the indicator is not active, check:

  1. Click Fn + F2 (or another function key with an antenna icon). ASUS this is often Fn + F12.
  2. Launch device Manager (Win + X → Device Manager) and find the "Network Adapters" section. If there's an exclamation mark next to your Wi-Fi adapter, you need to reinstall the driver.

2. Search and select a Wi-Fi network

After turning on the module, the laptop should detect available networks. Windows And macOS The process is similar, but there are key differences.

On Windows 10/11:

  1. Click on the network icon in the lower right corner (next to the clock).
  2. Select your network from the list. If it's not there, click Hidden network and enter the name (SSID) manually.
  3. Enter the password and confirm the connection.

On macOS:

  1. Open the menu bar in the upper right corner and click on the Wi-Fi icon.
  2. Select a network. For hidden networks, click Join another network.
  3. Please specify Network name (SSID), security type (WPA2/WPA3 Personal) and password.
What to do if the laptop does not find the network?

1. Make sure the router is turned on and distributing Wi-Fi (check the indicators on the case).

2. Reboot the router (pull the power off for 30 seconds).

3. On your laptop, temporarily disable the firewall (Control Panel → Windows Firewall → Turn off).

4. If the network is 5 GHz, check if your Wi-Fi adapter supports it (in Device Manager (Check the adapter model and search for specifications on Google).

On Linux (Ubuntu/Debian) the process is different:

nmcli dev wifi list # Show available networks

nmcli dev wifi connect "NETWORK_NAME" password "PASSWORD"

⚠️ Attention: On public networks (hotels, airports), a login page may open after connecting. If it doesn't appear automatically, enter 1.1.1.1 or neverssl.com.

3. Configuring network settings (for advanced users)

By default, the laptop uses automatic DHCP settings, but manual configuration is sometimes required. For example, if the network administrator has assigned a static IP address or the ISP requires DNS.

On Windows:

  1. Open Settings → Network & Internet → Wi-Fi → Manage known networks.
  2. Select your network and click Properties.
  3. Scroll to section IP settings and select Manually.
  4. Turn on IPv4 and indicate:
    • 📌 IP address (e.g. 192.168.1.100)
    • 📌 Subnet mask (255.255.255.0)
    • 📌 Gateway (usually 192.168.1.1)
    • 📌 DNS (for example, 8.8.8.8 And 1.1.1.1)

On macOS:

  1. Open System Preferences → Network.
  2. Select Wi-Fi and press Additionally.
  3. Tab TCP/IPConfigure IPv4Manually.
  4. Tab DNS → add servers (8.8.8.8, 1.1.1.1).
  5. Parameter Recommended value When to use
    IP address 192.168.1.X (where X is from 2 to 254) If the router does not issue an IP automatically
    DNS 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare) If websites don't open, but there is a connection
    MTU 1472 When the connection is interrupted during games or video calls
    ⚠️ Attention: An incorrectly specified static IP may block network access. If you lose internet access after changing the settings, please reset the settings. Automatic (DHCP).

    4. Diagnosing connection problems

    If your laptop won't connect to Wi-Fi, use the built-in diagnostic tools.

    Windows:

    ping 8.8.8.8 # Checking DNS connection
    

    ipconfig /all # View current network settings

    netsh wlan show all # List all available networks

    macOS/Linux:

    ping -c 4 8.8.8.8
    

    ifconfig # macOS

    ip a # Linux

    nmcli dev status # Linux (NetworkManager)

    Explanation of typical errors:

    • 🚫 "Unable to connect to this network" → Incorrect password or the router is blocking the device by MAC address.
    • 🔄 Obtaining an IP address gets stuck → DHCP problem on the router (reboot it).
    • 🌐 "Connected, no internet access" → The problem is on the provider's side or the DNS is incorrect.

    Check your password|Restart your router|Update your Wi-Fi adapter driver|Reset your laptop's network settings|Try connecting from another device-->

    Critical error: If your laptop stops detecting networks after a Windows update, the system most likely installed an incompatible driver. Roll back the driver using Device Manager (right-click the adapter → Properties → Roll Back Driver).

    5. Optimization of speed and stability

    Slow Wi-Fi on a laptop is often related not to your ISP, but to the device's settings. Here's what you can do:

    1. Selecting a frequency range:

    • 📶 2.4 GHz - passes through walls better, but is slower and more loaded.
    • 🚀 5 GHz - faster, but works worse at a distance.

    On Windows The band is selected automatically. To prioritize 5 GHz, open Settings → Network → Wi-Fi → Manage known networks → Network properties and mark Prefer 5 GHz (if the option exists).

    2. Changing the channel width:

    In the router settings (usually at the address 192.168.1.1) find the section Wireless and install:

    • 📌 For 2.4 GHz: 20 MHz (more stable)
    • 📌 For 5 GHz: 40 MHz or 80 MHz (faster)

3. Disabling energy saving:

On Windows The system may turn off Wi-Fi to save battery power. To disable this:

  1. Open device Manager.
  2. Find your Wi-Fi adapter, open it Properties → Power Management.
  3. Uncheck the box Allow the computer to turn off this device to save power.

6. Security: How to protect your connection

Public networks (cafes, airports) and even home routers with weak settings can be a source of data leaks. The following measures will improve protection:

1. Change the security standard:

  • 🔒 WPA3 — the most reliable (supported by modern routers).
  • 🔓 WPA2 — minimum acceptable standard.
  • WEP or Open network - do not use!

2. Configure MAC address filtering:

In the router panel (192.168.1.1) find the section MAC Filter and add your laptop's MAC address. You can find it using the command:

ipconfig /all | find "Physical Address"  # Windows

ifconfig | grep ether # macOS/Linux

3. Use a VPN:

Always turn on VPN on public networks (e.g. ProtonVPN or Windscribe). This encrypts all traffic and hides your activity from other network users.

⚠️ Attention: If you're connecting to a corporate network, your administrator may prohibit the use of a VPN or restrict access to certain resources (such as social media). In this case, try Cloudflare WARP - He often bypasses such blockages.

7. Connection features on different operating systems

Each operating system has unique nuances when using Wi-Fi. Let's take a closer look.

Windows 11:

  • 🪟 Automatic reconnection to known networks may not work reliably. Disable this option in Settings → Network → Wi-Fi → Manage known networks → [Select network] → Forget.
  • 🔄 Function Random Hardware Addresses (Random MAC address) may cause problems on some networks. Disable it in the network properties.

macOS Sonoma:

  • 🍎 When connecting to a new network for the first time, the system may ask for confirmation for each domain. This is part of the feature. Private Wi-Fi Address (analogous to random MAC).
  • 📡 For diagnostics use Wireless Diagnostics (hold Option and click on the Wi-Fi icon in the menu bar).

Linux (Ubuntu 22.04+):

  • 🐧 Some adapters (eg. Broadcom) require proprietary drivers. Install them via Additional drivers or the command:
    sudo apt install firmware-b43-installer
  • 🔌 To manage networks in the terminal, use nmtui (text interface NetworkManager).
OS A typical problem Solution
Windows 10/11 "Limited" after sleep Turn it off Allow the computer to turn off this device in the adapter properties
macOS Does not connect to hidden networks Remove the network from the list and add it again with the correct SSID.
Linux There is no driver for Wi-Fi Install the package firmware-* for your adapter

FAQ: Frequently Asked Questions

My laptop connects to Wi-Fi, but the internet isn't working. What should I do?

1. Check if the internet works on other devices. If not, the problem is with your internet provider.

2. On your laptop, run:

ipconfig /release

ipconfig /renew

3. Check DNS: Enter in your browser https://1.1.1.1If the page opens, the problem is in the DNS (change them to 8.8.8.8).

4. Disable VPN or proxy (if using).

How to connect to Wi-Fi without a password (for example, in a cafe)?

1. Select the network from the list and press Connect (even if a password is required).

2. A browser with a login page will open. If not, enter it in the address bar. captive.apple.com (for macOS) or connectivitycheck.gstatic.com (for Windows).

3. Accept the terms of use or enter details (phone number, room number, etc.) if required.

4. If the page doesn't appear, try connecting from your phone and copying the authorization link to your laptop.

Is it possible to connect a laptop to Wi-Fi via a USB adapter?

Yes, if the laptop's built-in Wi-Fi module is broken or does not support modern standards (for example, Wi-Fi 6). To do this:

  1. Buy a USB adapter (we recommend TP-Link TL-WN823N or ASUS USB-AC53 Nano).
  2. Connect it to a USB port (preferably 3.0 for speed).
  3. Install the drivers (usually automatically or from the included disk).
  4. Select a network from the list of available ones (the adapter will be displayed as a separate device).

⚠️ Some adapters require you to disable the built-in Wi-Fi in Device Manager, to avoid conflicts.

Why does my laptop lose connection after sleep or hibernation?

This is a common energy saving issue. Solutions:

For Windows:

  1. Open Device Manager → Network Adapters → [Your Wi-Fi] → Properties → Power Management.
  2. Uncheck the box Allow this device to be disabled....
  3. IN Control Panel → Power Options → Change Plan Settings → Change Advanced Settings find Wireless Network Adapter Settings → Power Saving Mode and install Max. productivity.

For macOS: Open System Preferences → Battery and disable the option Dim the display slightly when running on battery power (sometimes this affects the network too).

How to share Wi-Fi from a laptop to other devices?

If you have a wired internet connection (Ethernet) or a mobile network (4G/5G), you can turn your laptop into a hotspot:

On Windows 10/11:

  1. Open Settings → Network & Internet → Mobile Hotspot.
  2. Select your internet source (Ethernet or wireless).
  3. Set the network name and password.
  4. Enable the option Allow use....

On macOS:

  1. Open System Preferences → Sharing.
  2. Select Public Internet from the list on the left.
  3. Select the source (Ethernet/Thunderbolt) and check Wi-Fi.
  4. Click Wi-Fi settings and set up your username/password.

On Linux: Use the command:

sudo nmcli dev wifi hotspot ifname wlo1 ssid MyHotspot password "12345678"

(replace wlo1 the name of your Wi-Fi adapter from the command ip a).