Connecting your computer to the Internet via Wi-Fi It seems like a simple task—until you encounter a missing network icon, authentication errors, or a suddenly lost signal. In practice, even modern PCs with Windows 11 or Ubuntu 24.04 May require manual driver configuration, router settings adjustments, or hardware diagnostics. This article will help you understand all the nuances: from basic connection to resolving rare errors when the network is "visible but not connecting."
We will consider not only standard scenarios (for example, connecting a laptop with a built-in Wi-Fi adapter), but also non-obvious cases: what to do if the PC does not have a wireless module, how to set up a network through command line, Why Windows can "forget" network passwords and how to make it Linux Work with closed corporate access points. We'll pay special attention to diagnostics—you'll learn how to distinguish a router issue from a driver failure or IP address conflict.
Hardware Check: Does your PC have Wi-Fi?
Before attempting to connect to the network, make sure your computer even supports wireless connectivity. This is especially true for desktop PCs and some budget laptops, where manufacturers cut corners. Wi-Fi module.
How to check:
- 🔍 Visual inspection: On your laptop, look for small antennas on the sides of the case or a sticker with a logo Wi-Fi CertifiedOn a desktop PC, check the back panel—there may be a connector for an external antenna or USB adapter.
- 🖥️ Device Manager: V Windows click
Win + X→ selectdevice Manager→ expand the tabNetwork adaptersLook for devices with words Wireless, Wi-Fi or 802.11 (For example, Intel Wi-Fi 6 AX200). - 🐧 For Linux: Open the terminal and enter the command
If the output contains lines with Network Controller or Wireless, the module is present.lspci | grep -i network
If there is no wireless adapter in the list of devices, you will need external Wi-Fi moduleThe most popular options are:
- 🔌 USB adapters: connect to any PC, support standards Wi-Fi 5 (802.11ac) or Wi-Fi 6 (802.11ax). Examples: TP-Link Archer T3U, ASUS USB-AC56.
- 🖧 PCIe cards: are installed in the motherboard slot of a desktop PC. They provide better signal stability (for example, Intel AX210).
- 📱 Smartphone in modem mode: temporary solution - share the Internet from your phone via Wi-Fi (on Android:
Settings → Hotspot & Tethering).
⚠️ Attention: Some motherboards have a connector M.2 Key E for built-in Wi-Fi modules (for example, on ASUS ROG Strix or MSI MAG). If it is free, you can purchase an additional module (for example, Intel AX200NGW) and avoid external adapters.
Standard Wi-Fi connection in Windows 10/11
If you have an adapter and the network is visible, you can connect in 3 clicks. The instructions are relevant for Windows 10 And 11 (V Windows 7 The interface is similar, but the menu design is outdated).
Step by step actions:
- Click the network icon in the lower-right corner of the taskbar (near the clock). If the icon isn't there, check if the adapter is enabled (see the next section).
- Select your network from the list of available networks. If there is no network, click
Hidden networkand enter the name (SSID) manually. - Enter the password (security key). If the password is lost, you can find it on the router sticker or in the router's web interface (usually
192.168.0.1or192.168.1.1). - Check the box
Connect automaticallyand pressNext.
If an error appears after entering the password "Unable to connect to the network", try:
- 🔄 Reboot the router: Unplug it from the power outlet for 30 seconds.
- 🔑 Check password case: The characters in the password are case sensitive (for example,
Password≠password). - 📡 Change Wi-Fi channel: in the router settings (section
Wireless) select a channel6or11instead ofAuto- this will help to avoid interference.
⚠️ Attention: If after connecting the Internet works, but there is an exclamation mark (!), the problem is in the IP settings. Go toSettings → Network & Internet → Wi-Fi → Configure adapter settings, find your connection, right-click →Properties→Internet Protocol version 4 (TCP/IPv4)and check the boxesObtain an IP address automaticallyAndObtain DNS server address automatically.
☑️ Check before connecting to Wi-Fi
Setting up Wi-Fi in Linux (Ubuntu, Mint, Debian)
In distributions based on Linux the Wi-Fi connection is organized differently than in WindowsThere is no single network control center here - everything depends on the desktop environment you are using (GNOME, KDE Plasma, XFCE) and network manager (NetworkManager or Wicd). Let's consider a universal method via the terminal and graphical interface.
Method 1: Graphical interface (for beginners)
- Click on the network icon in the upper right corner (in Ubuntu (This is an icon with two arrows).
- Select your network from the list. If it's not there, click
Edit Connections→Addand enter the SSID manually. - In the field
Wi-Fi Securityselect the type of protection (usuallyWPA & WPA2 Personal) and enter the password. - Save the settings and connect.
Method 2: Via the terminal (for advanced users)
If the graphical interface does not work, use the utility nmcli:
# View available networksnmcli dev wifi list
Connect to the network (replace "SSID" and "password")
nmcli dev wifi connect "SSID" password "password"
If an error occurs "Device not managed", Means NetworkManager Your adapter isn't controlled. This can be fixed with the following command:
sudo rfkill unblock wifi
sudo systemctl restart NetworkManager
For Debian or Arch Linux You may need to install proprietary drivers (for example, for adapters) Broadcom):
# For Debian/Ubuntusudo apt install firmware-b43-installer
For Arch Linux
sudo pacman -S broadcom-wl-dkms
What to do if Linux doesn't see the Wi-Fi adapter?
If the team ip a or iwconfig does not show the wireless interface (usually wlan0 or wlp3s0), the problem is in the drivers. Check the adapter model with the command lspci -knn | grep -iA3 net and install the appropriate driver. For example, for chips Realtek RTL8821CE You will need to manually compile the driver from GitHub.
If Wi-Fi isn't working: diagnostics and solutions
There are dozens of possible reasons why a network might not connect, from something as simple as a disabled adapter to an IP address conflict on the local network. We've put together a diagnostic checklist, from the simplest to the most complex.
1. Checking the adapter and drivers
- 🔌 Physical shutdown: On some laptops, Wi-Fi is disabled by a hardware button or combination
Fn + F2(antenna icon). On desktop PCs, check that the PCIe card hasn't fallen out of the slot. - 🔄 Restarting the adapter: V Windows open
device Manager, find the adapter, right-click →Disconnect the device→ wait 10 seconds →Turn on the device. - 📥 Updating drivers: Download the latest drivers from the adapter manufacturer's website (Intel, Qualcomm Atheros, Realtek) or update via
device Manager(right click on the adapter →Update driver).
2. Problems with the router
- 📡 Changing the Wi-Fi standard: if the adapter only supports Wi-Fi 4 (802.11n), and the router is configured to Wi-Fi 6 (802.11ax), the network may not be displayed. In the router settings (
192.168.0.1) select the mode802.11norMixed. - 🔒 MAC address filtering: If MAC binding is enabled in your router, add the address of your adapter (you can find it with the command
ipconfig /allV Windows orip aV Linux). - 🔄 Resetting the router: hold down the button
Resetfor 10 seconds to reset to factory settings. After the reset, all passwords and network settings will be lost - write them down in advance!
3. IP and DNS conflicts
| Problem | Symptoms | Solution |
|---|---|---|
| IP address conflict | The connection keeps dropping, there's an exclamation mark next to the network icon | IN Windows: ipconfig /release → ipconfig /renew. IN Linux: sudo dhclient -r → sudo dhclient |
| Incorrect DNS | The sites don't open, but ping 8.8.8.8 works |
Use Google DNS (8.8.8.8, 8.8.4.4) or Cloudflare (1.1.1.1) |
| Blocked by antivirus | The network connects, but there is no internet | Disable your antivirus firewall (Kaspersky, Avast) or add the network to the exceptions |
⚠️ Attention: If the network still doesn't appear after all these steps, check if Wi-Fi is disabled at the BIOS level. Enter the BIOS (press [Enable] when booting the PC)Del,F2orEsc), find the sectionAdvanced→Onboard Devices Configurationand make sure that the parameterWi-FiorWireless LANincluded (Enabled).
Connecting to a hidden network or corporate Wi-Fi
Some networks (such as those in offices or hotels) do not broadcast their name (SSID) or use Enterprise authentication (WPA2-Enterprise). To connect to them, additional settings will be required.
Hidden network (SSID not broadcast)
IN Windows:
- Open
Settings → Network and Internet → Wi-Fi. - Click
Managing known networks→Add a new network. - Enter the network name (SSID), select the security type (
WPA2-Personal) and enter the password. - Check the box
Connect even if the network does not broadcast its name.
IN Linux (through nmcli):
nmcli dev wifi connect "SSID" password "password" hidden yes
Corporate network (WPA2-Enterprise)
Such networks use an authentication server (e.g. Radius) and require login/password or certificate. Setting in Windows:
- In the network connection menu, select
Other parameters. - Please specify
Security type→WPA2-Enterprise. - In the section
Authentication methodselectMicrosoft: Secure Password (EAP-MSCHAP v2). - Enter the login and password provided by the network administrator.
IN Linux For WPA2-Enterprise a configuration file will be required /etc/wpa_supplicant/wpa_supplicant.conf with parameters:
network={ssid="CorpWiFi"
key_mgmt=WPA-EAP
eap=PEAP
identity="your_login"
password="your_password"
phase2="auth=MSCHAPV2"
}
How to share Wi-Fi from a computer (access point mode)
If your PC is connected to the internet via Ethernet, you can share Wi-Fi with other devices. This is useful if your router is broken or you need to create a temporary network for your smartphone or tablet.
In Windows 10/11:
- Open
Settings → Network & Internet → Mobile Hotspot. - In the section
Sharing an Internet connectionselect the source connection (egEthernet). - Click
Changeto set the network name and password (minimum 8 characters). - Turn on the toggle switch
Mobile hotspot.
Via command line (universal method):
# Create network (replace SSID and password)netsh wlan set hostednetwork mode=allow ssid="MyHotspot" key="12345678"
Start distribution
netsh wlan start hostednetwork
Enable sharing (replace "Ethernet" with your connection)
netsh interface ipv4 set subinterface "Ethernet" mtu=1400
netsh interface ipv4 set address "Local Area Connection* X" static 192.168.137.1 255.255.255.0
netsh interface ipv4 add route prefix=192.168.137.0/24 interface="Local Area Connection* X" nexthop=192.168.137.1 publish=Yes
IN Linux To distribute Wi-Fi, use hostapd And dnsmasq:
# Install packagessudo apt install hostapd dnsmasq
Configure hostapd (/etc/hostapd/hostapd.conf)
interface=wlan0
driver=nl80211
ssid=MyHotspot
hw_mode=g
channel=6
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
Start the access point
sudo systemctl start hostapd
sudo systemctl start dnsmasq
⚠️ Attention: On some laptops (for example, with adapters Intel) Wi-Fi distribution via hostapd may not work due to driver limitations. In this case, use a USB adapter that supports the mode. AP (For example, TP-Link TL-WN722N).
Optimizing Wi-Fi speed and stability
Even if you're connected to the internet, your speed may be slow due to interference, outdated standards, or incorrect settings. Here's how to improve your connection:
1. Selecting a channel and Wi-Fi standard
- 📊 Ether analysis: use utilities like Wi-Fi Analyzer (Android) or inSSIDer (Windows) to find the least congested channel. In manual mode, select it in the router settings.
- 🔄 Change of standard: if all devices support Wi-Fi 5 (802.11ac) or Wi-Fi 6 (802.11ax), enable the corresponding mode in the router to increase the speed.
- 📶 Channel width: For Wi-Fi 5/6 set the channel width
80 MHz(instead of20/40 MHz) - this will increase throughput, but may create interference on nearby channels.
2. Adapter settings in Windows
- 🔧 Power saving mode: open
device Manager, find the adapter →Properties→Power managementand uncheck the boxAllow the computer to turn off this device to save power. - 🚀 Standard priority: In the adapter properties, go to the tab
Additionallyand set the parameterWireless ModeV802.11a/b/g/n/acor802.11ax(if supported).
3. Driver issues
- 📥 Driver rollback: If the speed has dropped after updating the driver, please return to the old version
Device Manager(right click on the adapter →Properties→Roll back). - 🔄 Manual installation: Download the driver from the manufacturer's website (for example, for Intel AX200 - With intel.ru), and not through Windows Update.
netsh interface tcp set global autotuninglevel=restricted
After rebooting, check the speed again.-->
FAQ: Frequently asked questions about connecting Wi-Fi to your PC
Why doesn't Windows show available networks even though the adapter is enabled?
There are several reasons:
- The adapter driver is not installed or is corrupted (check in
Device Manager— if there is a yellow triangle next to the adapter, update the driver). - Service
WLAN AutoConfigdisabled. Launch it: clickWin + R, enterservices.msc, find the service and clickLaunch. - The Wi-Fi module is disabled in the BIOS (this applies to some laptops) Lenovo And HP).
How to connect to Wi-Fi without a password (if you forgot it)?
If you have previously connected to this network on this PC:
- IN Windows: open
Settings → Network & Internet → Wi-Fi → Manage known networks, select the network and pressProperties— the password will be displayed in the fieldNetwork security key. - IN Linux: passwords are stored in a file
/etc/NetworkManager/system-connections/[SSID].nmconnection(you will need a licensesudo).
If you are connecting for the first time, you can enter the password:
- Check with your network administrator.
- Look at the router sticker (usually indicated
Wi-Fi PasswordorKey). - Reset the router to factory settings (button
Reset), but this will disconnect all network users.
Is it possible to connect an old PC (without Wi-Fi) to the Internet wirelessly?
Yes, there are several ways:
- 🔌 USB adapter: the simplest option (for example, TP-Link TL-WN725N (for ~500 ₽). Connects like a flash drive, drivers are installed automatically.
- 🖥️ PCI adapter: if there is a free slot PCI or PCIe, you can install an internal Wi-Fi card (for example, ASUS PCE-AC51).
- 📱 Smartphone as a modem: turn it on on your phone
Modem modeand connect your PC via USB or Wi-Fi. - 🌐 Powerline adapter: If the router is far away, use adapters TP-Link AV600, which transmit the Internet through electrical wiring.
Why does Wi-Fi work on my phone but not on my PC?
Possible reasons:
- 📵 MAC filtering: Your router may only allow access to certain devices. Check the list of allowed MAC addresses.
- 🔄 Device limit: Some routers (for example, those from ISPs) limit the number of connected devices. Disconnect unnecessary devices or increase the limit in the settings.
- 📡 Different Wi-Fi standards: if the router is operating in mode
802.11ac, and the PC adapter only supports802.11n, the network may not be displayed. Change the router mode toMixed. - 🔌 Adapter problems: Try connecting your PC to the router with a cable. If the internet works, the problem is in the wireless module.
How to boost Wi-Fi signal on PC?
A weak signal can be improved by:
- 📶 Router positioning: Place it in the center of the apartment, raise it higher (on the closet) and remove it from metal objects.
- 🔄 Replacing antennas: on some PCIe adapters (eg. TP-Link Archer T9E) you can install antennas with gain (5 dBi instead of the standard 2 dBi).
- 🛠️ Signal booster: use Wi-Fi repeater (For example, Xiaomi Wi-Fi Range Extender) or mesh system (TP-Link Deco).
- 🖧 Router setup: reduce the transmit power (parameter
Transmit Power) up to 70-80% - this will reduce interference.