Connecting a computer to a Wi-Fi router seems like a simple task—until you encounter errors like "No internet access" or "Unidentified network." Even if you've never set up a wireless network before, this guide will help you understand all the nuances: from basic connection to troubleshooting rare issues with drivers or IP settings.
We will consider not only the standard method through the Windows Control Panel, but also alternative methods - for example, connecting via command line or manual setup if the automatic network search doesn't work. We'll look at the specifics separately for macOS And Linux, and we'll also provide a diagnostic checklist if something goes wrong. Important: If your router supports Wi-Fi 6 (802.11ax), but the computer "doesn't see" it, the problem may lie in outdated network card drivers - we'll talk about that too.
1. Preparation before connection: what to check on the router and PC
Before attempting to connect, make sure your router is It's turned on and is distributing Wi-Fi correctly.. On most models (TP-Link, ASUS, Keenetic) The wireless network is active, indicated by a flashing indicator with an antenna symbol. If it's not lit, check:
- 🔌 Router power supply: The cable should be firmly inserted into the connector and the indicator
Power— burn green or blue. - 📡 Wi-Fi button: on some models (eg, Xiaomi Mi Router) the wireless network is disabled by a physical button on the case.
- 🔄 Reset settings: If the router was previously configured but the password has been forgotten, a factory reset may be required (hold down the button
Reset10 seconds).
On your computer, check:
- 🖥️ Network adapter: V
Device Manager(Win + X) there should be no exclamation marks next to itNetwork adaptersIf they are present, update the driver. - ⚙️ Airplane mode: disable it in the control panel or via the key
Fn + F2(the combination depends on the laptop model).
If the router is new and has not yet been configured, first connect it to the PC via Ethernet cable (usually included) and complete the initial setup via the web interface. Instructions for popular models:
| Router brand | Login address | Default login/password |
|---|---|---|
| TP-Link | 192.168.0.1 or tplinkwifi.net | admin / admin |
| ASUS | 192.168.1.1 or router.asus.com | admin / admin |
| Keenetic | 192.168.1.1 or my.keenetic.net | admin / 1234 |
| Xiaomi | 192.168.31.1 or miwifi.com | admin / password from sticker |
2. Standard Wi-Fi connection in Windows 10 and 11
In most cases, the connection occurs automatically. Here are step-by-step instructions for the OS. Windows:
- Click on the network icon in the lower right corner of the taskbar (next to the clock).
- In the list of available networks, find the name of your router (SSID). If there is no network, refresh the list with the button
Refresh. - Click on the network name and enter password (indicated on the router sticker or in its web interface).
- Check the box
Connect automaticallyand pressNext.
If after connecting the message appears No internet access, try:
- 🔄 Reboot the router (turn off the power for 30 seconds).
- 🖧 Log in
Settings → Network & Internet → Wi-Fi → Manage known networks, delete the network and connect again. - 🛠️ Check your IP settings (more on this in section 4).
Check that Wi-Fi is enabled on your router|
Make sure your computer is within network range|
Update your network adapter driver|
Disable VPN or proxy (if using)-->
If your router supports the 5 GHz frequency, but Windows doesn't see it, the problem may be in the adapter settings. Go to Device Manager → Network Adapters → Properties of your Wi-Fi adapter → Advanced and set the value 802.11n/ac for the parameter Wireless Mode.
3. Connecting to Wi-Fi on macOS and Linux
On MacBook or iMac the process is even simpler:
- Click on the Wi-Fi icon in the top bar (on the right).
- Select a network and enter the password.
- If the network is not displayed, check if Wi-Fi is turned on in
System Preferences → Network.
For Linux (for example Ubuntu/Debian):
- Click on the network icon in the upper right corner.
- Select
Edit Connections(Edit Connections) thenAdd(Add). - Please specify SSID, security type (
WPA2-PSK) and password. - Save and connect.
What to do if Linux doesn't see the Wi-Fi adapter?
If your network adapter is not detected after installing Linux, you most likely need a proprietary driver. Broadcom or Realtek adapters, run in the terminal:
sudo apt update
sudo apt install firmware-b43-installer
For other models, find the driver via Driver utility (in the applications menu).
On macOS sometimes an error occurs Failed to connect to the network. Solution:
- 🔄 Forget the network:
System Preferences → Network → Wi-Fi → Advanced → Remove. - 🛠️ Reset network settings:
sudo ifconfig en0 down→sudo ifconfig en0 up(VTerminal).
4. Manually setting IP address and DNS: when is it necessary?
If after connecting the Internet does not work, but the router gives an IP address (check in Settings → Network → Wi-Fi → Properties), the problem may be in IP conflict or incorrect settings DNSTo set parameters manually:
- Open
Control Panel → Network and Internet → Network and Sharing Center → Change adapter settings. - Right click on
Wi-Fi→Properties→Internet Protocol version 4 (TCP/IPv4). - Select
Use the following IP addressand enter:IP address:192.168.1.100(the last digit must be different from the router address).Subnet mask:255.255.255.0.Main gateway: router address (for example,192.168.1.1).DNS servers:8.8.8.8(Google) or1.1.1.1(Cloudflare).
If the Internet works after these steps, the problem was in the settings DHCP On the router. Go to its web interface and check:
- 🔄 Is it enabled?
DHCP server(usually in the sectionLANorLocal area network). - 📌 Range of distributed addresses (for example,
192.168.1.100–192.168.1.200).
5. Connecting via the command line (for advanced users)
If the graphical interface is not available (for example, due to a driver failure), you can connect to Wi-Fi via Command line (CMD). Open it as administrator and run:
netsh wlan show interfaces
This command will show the current status of the adapter. If it's disabled, enable it:
netsh interface set interface "Wi-Fi" enable
To connect to the network:
netsh wlan connect name="NETWORK_NAME"
If you are prompted to enter a password, please save your network profile first:
netsh wlan add profile filename="C:\path\to\file.xml"
Where xml file — a pre-created file with settings (example below).
Sample Wi-Fi profile file (save as wifi_profile.xml)
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1"><name>MY_NETWORK</name>
<SSIDConfig>
<SSID>
<name>MY_NETWORK</name>
</SSID>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>auto</connectionMode>
<MSM>
<security>
<authEncryption>
<authentication>WPA2PSK</authentication>
<encryption>AES</encryption>
<useOneX>false</useOneX>
</authEncryption>
<sharedKey>
<keyType>passPhrase</keyType>
<protected>false</protected>
<keyMaterial>YOUR_PASSWORD</keyMaterial>
</sharedKey>
</security>
</MSM>
</WLANProfile>
This method is useful for automating the connection or if the graphical interface is not available. However, it requires precise knowledge SSID and encryption type (WPA2-PSK, WPA3 etc.).
6. Solving common connection problems
If your computer won't connect to Wi-Fi, check the following:
- 🔍 Incorrect password: Even one typo will cause an error. Make sure your keyboard layout is correct, and
Caps Lockturned off. - 📶 Weak signal: If the signal level is 1-2 divisions, try moving closer to the router or change the channel in its settings (
Wireless → Channel). - 🔄 IP conflict: error
The IP address is already in useThis means that another device on the network has the same address. The solution is to reboot the router. - 🛡️ MAC filtering: If MAC address filtering is enabled in your router, add your PC's address to the list of allowed (
Wireless → MAC Filter).
If the problem is not resolved, run diagnostics:
- In Windows:
Settings → Network & Internet → Status → Network Diagnostics. - IN macOS:
Utilities → Wireless Network Diagnostics. - IN Linux:
sudo iwlist wlan0 scan | grep ESSID(will show available networks).
⚠️ Attention: If the router gives an errorThere is no connection to the WAN port., the problem is on the provider's side. Check if the internet cable is connected to the port.WAN(usually it is highlighted in color) and reboot the router.
7. Security: How to secure your router connection
After a successful connection, configure your router to protect against hacking:
- 🔐 Change the default password: in the router's web interface (
192.168.1.1) go toSystem Tools → Password. - 📡 Disable WPS: This feature is vulnerable to brute-force attacks. Find the option
WPS → Disable. - 🔄 Update the firmware: in the section
Administration → Firmware Upgrade. - 📌 Hide the SSID: V
Wireless → Basic Settingsturn it offEnable SSID Broadcast(but you will have to enter the network name manually).
For maximum safety:
- Use WPA3 instead of
WPA2(if the router supports it). - Set up guest network for low-trust devices (section
Guest Network). - Turn it off remote control (
Remote Management) in the router settings.
⚠️ Attention: If you're using public Wi-Fi (like at a coffee shop), turn off file and printer sharing in your network settings (Control Panel → Network → Change advanced sharing settings).
FAQ: Frequently asked questions about connecting to a Wi-Fi router
My computer can't see the 5 GHz network. What should I do?
The problem may be with the Wi-Fi adapter driver or its hardware limitations. Check:
- Does your adapter support
802.11ac(Wi-Fi 5) or802.11ax(Wi-Fi 6). - Update driver via
device Manageror from the manufacturer's website. - In your router settings, make sure the 5 GHz network is enabled (
Wireless → 5GHz Settings).
How to connect to Wi-Fi without a password (if you forgot it)?
If you have access to the router:
- Connect to it via cable.
- Go to the web interface (
192.168.1.1) and check the password inWireless → Security.
If there is no access, reset the router to factory settings (button Reset) and configure it again.
Why is Wi-Fi speed slower than cable?
This is normal: wireless connections are subject to interference. To improve speed:
- Switch to range
5 GHz(less busy). - Change the Wi-Fi channel in the router settings (select
Autoor a channel with minimal load). - Update your Wi-Fi adapter driver.
- Reduce the distance between your PC and the router.
Is it possible to connect to a router without its data sticker?
Yes, if:
- You know Router IP address (try it
192.168.0.1,192.168.1.1or192.168.8.1). - Use the default login/password (
admin/adminoradmin/blank password). - If the data has been changed but you don't remember it, reset the router to factory settings.
How to connect to a hidden Wi-Fi network?
In Windows:
- Open
Settings → Network & Internet → Wi-Fi → Manage known networks → Add new network. - Enter SSID, security type (
WPA2-PSK) and password.
IN macOS: System Preferences → Network → Wi-Fi → Advanced → (+) Add.