Forgot your home Wi-Fi password, but your neighbor, relative, or colleague configured your router? Or do you urgently need to connect to the network at a cafe, but they won't give you the password? There are plenty of situations where you need to access Wi-Fi without entering a password—and not all of them are related to hacking. In this article, we'll explore these situations. legal connection methods (via WPS, button on the router, saved networks) and technical workarounds (for cases when you have access rights but have lost your password).
Important: We are not considering hacking other people's networks—this is illegal and punishable under Article 272 of the Russian Criminal Code ("Unauthorized access to computer information"). All methods below are applicable. only to networks that you own or administer, or to public hotspots with the provider's explicit consent. If you rent or work in an office, check with the person in charge of the connection rules—some networks block alternative authentication methods.
The article is relevant for laptops on Windows 10/11, macOS (including Ventura and Sonoma) and Linux (Ubuntu, Mint, Fedora). Most methods also work for smartphones and tablets, but the menu interface may differ. If your laptop doesn't see the network at all, first check if the Wi-Fi adapter is enabled (key combination). Fn + F2/F12 or in Device Manager).
1. Connecting via WPS (Wi-Fi Protected Setup)
The simplest and legal way - use technology WPS (Wi-Fi Protected Setup), if supported by your router. This method doesn't require a password, but it only works within range of the network and provided WPS is enabled in the router settings.
How it works: There is a physical button on the router WPS (or the inscription on the router's case). When pressed, the router allows devices to connect without a password for 2 minutes. You must connect to the network within this time. Most modern laptops support WPS automatically.
- 🔍 Where to find the WPS button: usually on the back of the router, next to the LAN ports. On some models (TP-Link Archer C6, ASUS RT-AX55) the button is combined with the power indicator - hold it for 3-5 seconds.
- ⚡ How to connect:
- Press the WPS button on the router (the indicator will light up).
- On your laptop, select the network from the list of available Wi-Fi networks.
- The system will connect automatically without asking for a password.
- ⚠️ Restrictions: WPS only works if this protocol is not disabled in the router settings. On some models (MikroTik, Ubiquiti) WPS is disabled by default.
- Open
Settings → Network and Internet → Wi-Fi. - Click
Managing known networks. - Select the desired network and click
Properties. - In the section
Security parameterscheck the boxShow entered characters— the password will become visible. - Open
Applications → Utilities → Keychain. - Find the network name in the list and double-click on it.
- Check the box
Show passwordand enter your Mac account password.
⚠️ Attention: WPS is vulnerable to brute-force attacks (PIN code guessing). If your router supports WPS but you don't use it, disable this feature in the web interface (192.168.0.1or192.168.1.1) in the sectionWireless Network → WPS.
Make sure your router is turned on and broadcasting the network. Find the WPS button on the router. Check that your laptop's Wi-Fi is turned on. Bring your laptop closer to the router (within 5 meters).
2. Using saved networks (if the laptop has already been connected)
If your laptop previously connected to this Wi-Fi network, the password may have been saved in the system. In Windows And macOS It can be extracted without administrator rights, in Linux you will need a license sudo.
On Windows 10/11:
On macOS:
On Linux (Ubuntu/Debian):
sudo grep psk= /etc/NetworkManager/system-connections/*
The command will output a list of networks and their passwords in the format psk=your_password.
⚠️ Attention: If your laptop was connected to the network via a domain account (for example, at an office or university), the password may be stored encrypted and not displayed. In this case, contact your network administrator.
3. Connection via QR code (on modern routers)
Many new routers (Keenetic, Huawei, Xiaomi) support connection via QR code. This is convenient if you have access to the router's web interface or the provider's mobile app (for example, MTS Connect, Rostelecom Personal Account).
How does this work:
- 📱 Generate a QR code: go to the router settings (
192.168.0.1) and find the sectionWi-Fi → QR code for connectionDownload or take a photo of the code. - 💻 Scan QR code on your laptop:
- On Windows 11: open the application
Camera, point to the QR code and the system will prompt you to connect. - On macOS: use the app
Preview(File → Import from Camera). - On Linux: install
zbar-toolsand run:zbarimg /path/to/file.png
- On Windows 11: open the application
| Router model | QR code support | Where to find it in settings |
|---|---|---|
| Keenetic (all models) | Yes | Wi-Fi → Hotspot → QR code |
| TP-Link Archer AX20 | Yes (with firmware 2022+) | More → QR code |
| ASUS RT-AX88U | Yes | Wireless Network → QR Code |
| Zyxel Keenetic Lite III | No | — |
4. Connecting via a button on the router (Wi-Fi Protected Setup without PIN)
Some routers (Huawei HG8245, Sercomm from Rostelecom) support automatic connection via a physical button Without entering a PIN code. This differs from the classic WPS—it doesn't require entering a numeric code; simply press a button and select the network on your laptop.
Instructions:
- Hold the button
WPSorWi-Fion the router for 5-10 seconds (until the indicator blinks). - A new network with the following name will appear in the list of networks on the laptop:
DIRECT-xx-ROUTERNAMEorSETUP-xx. - Connect to it - access to the main network will be opened automatically.
⚠️ Attention: This method only works if the router is configured to share a guest network via WPS. On corporate routers (Cisco, MikroTik) this feature is usually disabled.
What to do if the WPS button does not work?
If the indicator does not flash after pressing, check:
1. The router is connected to the network (the power indicator is green/blue).
2. The button is not locked (some models have a switch on the back panel).
3. In the router settings (192.168.1.1) the mode is on WPS Push Button.
If nothing helps, reset the router to factory settings (button Reset for 10 seconds) - but keep in mind that all network settings will be reset!
5. Connecting via a guest network (if enabled)
Many routers have a separate guest network with a different password (or without one). If you don't know the password for the main network, but the guest network is active, you can connect to it—usually it's called Guest_Network_Name or Network_Name-5G_Guest.
How to check:
- 🔍 Look at the list of available networks on your laptop - the guest network is usually marked with an icon
🏠or an inscriptionGuest. - 🔓 The guest network password is often listed on the router's sticker (under the main password) or in the instructions.
- ⚙️ If the guest network is disabled, you can activate it through the router's web interface (
192.168.0.1) in the sectionGuest network.
Guest network limitations:
- ⏱️ Speed limits are often in place (for example, up to 10 Mbps).
- 🚫 Access to local devices (printers, NAS) may be blocked.
- ⏳ The session may be automatically terminated every 24 hours.
6. Alternative methods (for your own networks only!)
If you are the owner of the network, but you forgot your password, but you still have access to the router, you can use one of the following methods. These methods are not applicable to other people's networks - their use without permission is illegal!
Method 1: Reset the router to factory settings
Click the button Reset on the router (usually recessed into the case, you'll need a paperclip) and hold for 10-15 seconds. After rebooting:
- The network name and password will be reset to factory settings (indicated on the sticker).
- All settings (including port forwarding, parental controls) will be lost.
Method 2: Connect via cable and change the password
- Connect your laptop to the router via
LAN cable. - Go to the web interface at
192.168.0.1or192.168.1.1(default logins/passwords:admin/admin,admin/1234). - Go to
Wireless Network → Securityand set a new password.
Method 3: Extracting the password via the command line (Windows)
If the laptop has been connected to the network before, the password can be retrieved through CMD:
netsh wlan show profile name="NETWORK_NAME" key=clear
In the section Security parameters there will be a line Key content - this is the password.
⚠️ Attention: Router interface details may vary depending on the model and firmware. If you're unsure, consult your device manual or your provider's support team.
7. Public networks: how to connect legally
Cafes, airports and hotels often provide Wi-Fi without a password, but with authorization through the portal (captive portal). If you see a network named Free_WiFi, Public_Network or Hotel_Guests, but the connection does not occur, please follow these steps:
- 🌐 Open your browser: Once connected to the network, the authorization page will open automatically. If not, enter any address (for example,
ya.ru). - 📝 Fill in the details: You may be asked to enter a phone number (for an SMS code), a room number (in a hotel), or agree to the rules.
- ⏳ Restrictions: Usually there is a traffic limit (1-2 GB) or time limit (1 hour).
Examples of networks with authorization:
| Place | Typical network name | Connection requirements |
|---|---|---|
| McDonald's | McDonalds_Free_WiFi |
SMS code or scan of receipt |
| Aeroflot (airports) | Aeroflot_Free |
Ticket number or passport details |
| Hotels (Hilton, Marriott) | Hotel_Guest |
Room number + last name |
1. Disable VPN or proxy in your browser settings.
2. Clear your browser cache (Ctrl + Shift + Del).
3. Use a different browser (for example, Edge instead of Chrome).-->
FAQ: Frequently Asked Questions
Can I connect to Wi-Fi without a password if I'm not the network owner?
No, it's illegal. Article 272 of the Russian Criminal Code provides for a fine of up to 200,000 rubles or imprisonment for up to two years for unauthorized access to computer information. The exception is publicly accessible networks with explicit permission (e.g., Starbucks_WiFi with the authorization portal).
Why isn't WPS working on my router?
Possible reasons:
- WPS is disabled in the router settings (
192.168.1.1 → Wireless Network → WPS). - The router is older than 2015 and does not support WPS (check the model on the manufacturer's website).
- The WPS button is broken or locked (try resetting the router).
How do I find out the Wi-Fi password on an Android phone if it's connected?
On Android 10+:
- Open
Settings → Wi-Fi. - Click on the connected network →
Share. - Confirm unlocking with PIN or fingerprint.
On Android 9 and later root access or an app will be required WiFi Password Viewer.
Is it possible to connect to Wi-Fi via Bluetooth?
No, Bluetooth And Wi-Fi — different protocols. However, some routers (for example, ASUS Lyra) support Wi-Fi setup via Bluetooth with a mobile app. However, the network password is still required to connect to the internet.
What should I do if my laptop can't see the Wi-Fi network?
Check:
- Is Wi-Fi enabled on your laptop (combination
Fn + F2/F12or inNetwork and Control Center). - Is the adapter disabled?
Device Manager(chapterNetwork adapters). - Is the router hiding the network (in the settings)
192.168.1.1check the optionHide SSID). - Does the laptop support the network frequency (2.4 GHz or 5 GHz). Older models (Dell Latitude E6400) may not see 5 GHz networks.