How to set up a Wi-Fi connection on a laptop: instructions for all operating systems

Connecting a laptop to a wireless Wi-Fi network is a basic task every user faces. It would seem simple. But in practice, even this process is fraught with pitfalls: from invisible networks to authentication errors. In this article, we'll cover all the methods for connecting to Wi-Fi on laptops with Windows 10/11, macOS And Linux, and we'll also tell you how to diagnose and fix common problems.

We'll pay special attention to nuances rarely covered in standard instructions: for example, how to connect to a hidden network without an SSID, why a laptop doesn't see the 5 GHz band, or how to bypass MAC address blocking on corporate routers. And if you encounter the error "Failed to connect to the network" — at the end of the article you will find a checklist for its elimination.

1. Preparing your laptop for connection

Before searching for Wi-Fi networks, make sure your laptop is technically ready to connect. Let's start with the hardware: most modern models (Lenovo ThinkPad, HP Pavilion, Dell XPS etc.) are equipped with built-in adapters Wi-Fi 5 (802.11ac) or Wi-Fi 6 (802.11ax)However, budget or older devices may have a module Wi-Fi 4 (802.11n), which does not support 5 GHz frequency.

To check the adapter version:

  • 🖥️ On Windows: open device Manager (keys Win + X), find the section "Network adapters" and look at the model (for example, Intel Wi-Fi 6 AX200).
  • 🍎 On macOS: Click on the Apple logo → «About this Mac» → «System Report» → section «Net».
  • 🐧 On Linux: enter the command in the terminal
    lspci | grep -i network

Enabling the Wi-Fi module — another critical step. On some laptops (especially ASUS And Acer) the adapter is disabled by a hardware button or key combination (for example, Fn + F2). If the Wi-Fi indicator is not on, check:

  • 🔄 Switch on the body (rare, but found on models HP EliteBook).
  • 🔋 Airplane mode - it disables all wireless modules.
  • 🔧 In BIOS/UEFI (click Del/F2 (at boot) - sometimes Wi-Fi is disabled at the firmware level.
📊 What operating system do you use?
Windows 10/11
macOS
Linux
Other

2. Search and select a Wi-Fi network

When the adapter is turned on, the laptop automatically scans the air for available networks. Windows the list is displayed in the lower right corner of the taskbar (📶 icon), in macOS - in the menu bar, in Linux — via applet NetworkManager (usually in the upper right corner). If there are no networks or only a few, check:

Hidden networks (without broadcasting SSID) are not displayed in the general list - they must be connected manually, knowing the exact name. This is relevant for corporate or guest networks with enhanced security. To connect to such a network in Windows, select "Hidden network» in the list and enter the SSID manually.

Problem Possible cause Solution
The laptop does not find any networks. The adapter is disconnected or faulty Check it out device Manager look for an exclamation mark next to the network adapter
Only 2.4 GHz networks are visible The adapter driver is out of date. Update driver via Lenovo Vantage, HP Support Assistant or manually from the manufacturer's website
There is a network, but the connection fails. Incorrect password or security type Check your router settings to see what encryption standard is being used (WPA2-PSK or WPA3)

If you are connecting to public network (in cafes, airports), you'll often be required to accept the terms of service through your browser. Once connected, the authorization page will open automatically. If this doesn't happen, enter [unclear text] in the address bar. 1.1.1.1 or neverssl.com - This will force you to be redirected to the entry portal.

3. Entering a password and setting up security

When you first connect to a secure network, the system will ask for a password. There are several important points to consider:

  • 🔐 Case matters: passwords Password123 And password123 - different.
  • 📡 Security type: if the router is configured to WPA3, and your laptop only supports WPA2, the connection may fail. In this case, temporarily change your router settings (or update the adapter driver).
  • 🔄 Change passwordIf you've changed the password on your router, your laptop won't connect automatically—you'll have to "forget" the network and enter the new information.

On Windows 11 When connecting to open networks (without a password), the system may display a warning: “The connection is not secure" This means that traffic is transmitted unencrypted, and attackers can intercept it. In such cases:

  • 🛡️ Use VPN (For example, ProtonVPN or Windscribe).
  • 🚫 Avoid entering logins/passwords for important accounts.
  • 🔒 Turn on Windows Firewall and check that the antivirus is active.

IN macOS And Linux There are additional security options. For example, in Ubuntu You can bind the connection to a specific one MAC address router (setting "BSSID" V NetworkManager). This will protect against network substitution by attackers.

What to do if you forgot your Wi-Fi password?

If the laptop is already connected to the network, you can view the password:

- IN Windows: Settings → Network & Internet → Wi-Fi → Manage known networks → select the network → "Properties" → "Show symbols".

- IN macOS: Open Keychain Access (Command + Space, type "Keychain"), find the network name and open properties.

- IN Linux: enter in terminal

sudo grep psk= /etc/NetworkManager/system-connections/*

4. Connection features on different operating systems

The Wi-Fi connection algorithm is similar on all platforms, but there are some nuances worth knowing.

Windows 10/11:

  • 🔧 Uses a universal interface Settings → Network and Internet → Wi-Fi.
  • 🔄 Supports quick reconnection to known networks, but sometimes “forgets” them after updates.
  • 🛠️ To diagnose problems, there is a built-in troubleshooter (Settings → System → Troubleshooting → Internet Connections).

macOS (Ventura/Monterey/Sonoma):

  • 🍏 Automatically connects to known networks, but may ignore open ones (without a password) by default.
  • 🔒 For corporate networks with 802.1X (for example, in universities) it is required to install the certificate via "Configuration profile».
  • 📱 Supports Continuity — automatic connection to an iPhone hotspot (if the devices are on the same Apple ID).

Linux (Ubuntu, Fedora, Arch):

  • 🐧 The main tool is NetworkManager (graphic) or nmcli/iwconfig (console).
  • 🔧 For hidden networks in GNOME you need to manually add a connection via "Settings → Wi-Fi → Connect to hidden network».
  • 📦 On some distributions (for example, Kali Linux) Wi-Fi is disabled by default due to security policy.

The Wi-Fi adapter is turned on|The laptop is within range of the router|The network password is correct|The router has no MAC address restrictions-->

5. Solving common problems

Even if you've done everything correctly, the connection may not work. Let's look at common errors and how to fix them.

Error "Couldn't connect to the network" (Windows):

  • 🔄 Reboot your router — sometimes simply turning off the power for 30 seconds helps.
  • 🔧 Reset network settings:
    netsh winsock reset
    

    netsh int ip reset

    Then restart your laptop.

  • 📡 Change the Wi-Fi channel on the router (in the settings, section Wireless). Channels 12-14 in the 2.4 GHz band may not be supported by some devices.

The laptop connects, but the internet doesn't work:

  • 🌐 Check if your router is giving out IP addressIn Windows, run the following in the command line:
    ipconfig /all

    If the address starts with 169.254.x.x - this is a sign of a problem with DHCP.

  • 🔌 Make sure the cable from your ISP is connected to the port WAN (not LAN) on the router.
  • 🔒 Check if your antivirus is blocking it (Kaspersky, Avast) network connection.

Wi-Fi works, but is very slow:

  • 📶 Switch from 2.4 GHz to 5 GHz (if your router is dual-band). In your router settings, enable the "Smart Connect» for automatic selection.
  • 📵 Turn off nearby devices that may cause interference (microwaves, wireless speakers).
  • 🔄 Update your router firmware—outdated versions often limit speed.

6. Additional settings for advanced users

If standard methods don't help, you can use advanced tools.

Manual IP and DNS configuration:

Sometimes automatic receipt of addresses (DHCP) is not working correctly. To set the parameters manually:

  1. IN Windows: Settings → Network & Internet → Wi-Fi → Configure adapter settings → right-click on the connection → «Properties» → «Internet Protocol version 4 (TCP/IPv4)».
  2. Please specify:
    • IP address: 192.168.1.100 (the last digit is any from 2 to 254)
    • Subnet mask: 255.255.255.0
    • Default gateway: 192.168.1.1 (router address)
    • DNS: 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare)

Setting network priority:

If your laptop automatically connects to a weak network (like your neighbor's) instead of yours, change the priority:

  • IN Windows: Settings → Network & Internet → Wi-Fi → Manage known networks → select network → «Properties» → turn on «Connect automatically» and disable for unnecessary networks.
  • IN macOS: «System Preferences → Network → Wi-Fi → Advanced» → drag the networks into the desired order.

Using the command line:

For diagnostics in Windows useful commands:

ping 8.8.8.8 # Checking connection with Google's DNS

tracert ya.ru # View route to the site

netsh wlan show all # Show all available networks

IN Linux similar functions are performed by:

ping -c 4 8.8.8.8

traceroute ya.ru

iwlist wlan0 scan # Scan networks (replace wlan0 with your interface)

How to connect to Wi-Fi without a password (for your own networks only!)

If you have access to your router but have forgotten the password, you can:

1. Connect via cable (LAN).

2. Log into the router's web interface (usually 192.168.1.1 or 192.168.0.1).

3. In the section Wireless Security view or change password.

⚠️ Do not use this method to hack other people's networks - it is illegal!

7. Security when connecting to Wi-Fi

Public networks (in hotels and airports) are a breeding ground for cyberthreats. Attackers can intercept traffic, spoof DNS, or create fake access points. To minimize the risks:

Basic rules:

  • 🔒 Use VPN (For example, NordVPN, Surfshark) to encrypt traffic.
  • 🚫 Turn it off file and printer sharing in the network settings.
  • 🛡️ Turn on firewall and check that the antivirus has updated its databases.
  • 🔄 Update regularly Wi-Fi adapter driver — Vulnerabilities in older versions are exploited by hackers.

How to recognize a dangerous network:

  • 📛 Network name (SSID) too general: Free_WiFi, Starbucks_Guest - It could be a trap.
  • 🔌 The network requires you to install a "security update" or certificate - do not agree!
  • 📡 The signal is unstable (it appears and then disappears) - a sign Evils Twin (fake access point).

If you frequently connect to public networks, set it up on your laptop. guest network mode (in Windows: "Network → Make Discoverable» → select «No"). This will restrict other devices from accessing your shared folders.

8. Alternative connection methods

If Wi-Fi is not working or is not available, you can use other options:

USB modem or smartphone in hotspot mode:

  • 📱 On Android: «Settings → Network & Internet → Hotspot & Tethering».
  • 🍎 On iPhone: «Settings → Tethering».
  • 🔌 Connect your laptop via USB - this will save your phone's battery compared to a Wi-Fi hotspot.

Ethernet via adapter:

If the laptop does not have a port RJ-45 (for example, in MacBook Air or Dell XPS 13), use USB-to-Ethernet adapter (costs ~500₽). The speed and stability of this connection are higher than Wi-Fi.

Powerline adapters:

Technology HomePlug AV Allows you to transmit an internet signal through electrical wiring. Two adapters are required: one connected to the router, the other near the laptop. Speeds up to 1 Gbps are possible, but depend on the quality of the wiring.

Mobile Internet (4G/5G):

USB modems from MTS, Beeline or Megaphone They connect like a flash drive and don't require drivers. The alternative is a built-in one. eSIM (in new laptops, for example, Lenovo Yoga or HP Spectre).

FAQ: Frequently Asked Questions

❓ My laptop isn't detecting 5 GHz networks. What should I do?

Your Wi-Fi adapter likely doesn't support this range. Check your adapter model. Device Manager. If the adapter supports 5 GHz (for example, Intel Wireless-AC 9560), update the driver from the manufacturer's website. Also, make sure that the router's mode is enabled. 802.11a/n/ac (in wireless network settings).

❓ How do I connect to Wi-Fi without a password if it's saved on another device?

If the password is saved on your smartphone (Android or iPhone), Can:

  1. On Android (with root rights): use the application WiFi Password Viewer.
  2. On iPhone: share password via AirDrop (if you have Mac or another iPhone).
  3. Connect to the router via cable and view the password in the web interface (192.168.1.1).

⚠️ Do not attempt to hack other people's networks - this is illegal (Article 272 of the Criminal Code of the Russian Federation).

❓ Why does my laptop connect to Wi-Fi, but websites won't open?

There are several reasons:

  • 📡 DNS issues: try manually entering DNS 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare).
  • 🔌 Router-level blocking: check if it is turned on Parental Control or filtering by MAC addresses.
  • 🛡️ Antivirus or firewall is blocking traffic. Temporarily disable them to check.
  • 🌐 Problems with the provider: Call support or check the status of services on their website.
❓ Is it possible to connect a laptop to Wi-Fi without an adapter?

No, you need it to connect to Wi-Fi. wireless adapter (built-in or external). If not, alternatives:

  • Use USB modem (3G/4G/5G).
  • Connect via Ethernet (via adapter if there is no port).
  • Do bridge via another device (for example, a smartphone in USB modem mode).

External Wi-Fi adapters (eg. TP-Link TL-WN725N) cost from 500₽ and are connected via USB.

❓ How to speed up Wi-Fi on a laptop?

Try these methods:

  • 📶 Switch to range 5 GHz (if the router supports it).
  • 🔄 Change the Wi-Fi channel in the router settings (use WiFi Analyzer For Android, to find the freest one).
  • 📵 Turn off devices that are not in use (smart bulbs, speakers - they take up channel).
  • 🔧 Update your Wi-Fi adapter driver (especially important for Realtek And Broadcom).
  • 🛠️ Turn on Qos on the router and set the priority for your laptop by MAC address.