Connecting to Wi-Fi from a laptop seems like a simple task—until you encounter networks that require portal authorization, hidden SSIDs, or corporate security protocols. In 2026, the diversity of wireless network types has grown: from open access points in cafes to secure enterprise solutions in offices. This article will help you understand all the nuances—from basic connection to working with custom configurations.
We won't discuss hacking or bypassing security—it's illegal and carries consequences, including criminal liability. Instead, we'll focus on legal methods: entering passwords correctly, setting up browser authentication, using guest networks, and resolving common issues. We'll pay special attention to Windows 11, macOS Ventura/Sonoma And Linux (Ubuntu/Debian), since the interfaces and commands in these systems are different.
If you travel frequently or work in different locations, bookmark this article—it's useful for quickly connecting to public networks in hotels, airports, or coworking spaces, where the authorization process may differ from your home router.
1. Basic connection to open and secure networks
Let's start with the simplest thing - connecting to a network where you know SSID (network name) and, if necessary, a password. This method works for 90% of home networks and many public networks.
IN Windows 11:
- Click the Wi-Fi icon in the lower right corner of the taskbar (next to the clock).
- Select the desired network from the list of available networks. If the network is not listed, click
Hidden networkand enter the SSID manually. - When prompted for a password, enter it and press
Next.
IN macOS (Ventura/Sonoma):
- Click on the Wi-Fi icon in the top bar (on the right).
- Select the network from the list. If it is hidden, click
Connect to another network. - Enter the password and confirm the connection.
IN Linux (Ubuntu/Debian with GNOME/KDE):
- Click on the network icon in the upper right corner.
- Select a network or click
Connect to a hidden network. - Please specify SSID, security type (
WPA2/WPA3 Personal) and password.
Types of Wi-Fi Security, which can be found:
- 🔓 Open network (No Security) - connection without a password, but often requires authorization through a browser.
- 🔐
WPA2/WPA3 Personal— standard for home networks, requires a password. - 🏢
WPA2/WPA3 Enterprise— corporate networks with logins/passwords (often in universities or offices). - 🛡️
802.1X— extended authentication with certificates (in banks, government agencies).
2. Connecting to hidden networks (without broadcasting SSID)
Hidden networks don't broadcast their network name (SSID), making them harder to connect to. This doesn't make the network more secure (it can still be detected by traffic analyzers), but it is sometimes used in office or home networks to reduce the number of connection attempts.
To connect to a hidden network in Windows 11:
- Open
Settings → Network and Internet → Wi-Fi. - Click
Managing known networks→Add a new network. - Enter SSID, select the security type (
WPA2-Personal AES— the most common) and password. - Mark
Connect automaticallyAndConnect even if the network is not broadcasting.
IN macOS:
- Open
System Preferences → Network → Wi-Fi. - Click
Additionally→ sign+at the bottom of the list of networks. - Specify the SSID, security type, and password. Enable the option.
Remember the network.
IN Linux (via terminal):
nmcli dev wifi connect "NETWORK_NAME" password "PASSWORD" hidden yes
Please specify the exact SSID name (case sensitive!)
Find out the security type (WPA2/WPA3)
Check if your password is correct
Disable your VPN before connecting (it may block authorization)
-->
⚠️ AttentionIf you're connecting to a hidden network in a public place (such as a coworking space), check with the administrator for up-to-date information. SSIDs and passwords for these networks may change more frequently than those for public networks.
3. Authorization via the web portal (captive portal)
Many public networks (in airports, hotels, cafes) use captive portal — a mechanism that redirects you to the authorization page after connecting. This may require:
- 📧 Enter your email or phone number to receive an SMS code.
- 💳 Access fee (in some hotels or business centers).
- 👤 Acceptance of terms of use (e.g. on university campuses).
- 🔑 Login/password for the account (for corporate networks).
Algorithm of actions:
- Connect to the network (a password may not be required or may be a default one, such as
free_wifi). - Open your browser. If the login page doesn't appear automatically, go to any HTTP address (e.g.
http://example.com). - Fill out the form (email, phone number, SMS code or login/password).
- Confirm the connection. Sometimes you may need to refresh the page or restart your laptop.
Problems and solutions:
- 🚫 The page won't open.: Check if your VPN or antivirus is blocking it. Try a different browser (for example, Firefox instead of Chrome).
- ⏳ The code from the SMS is not coming: Make sure you entered the number correctly (including the country code). On some networks, SMS messages may be delayed up to 5 minutes.
- 🔄 The connection is broken: Your traffic limit may have been reached or your session may have expired (usually after 24 hours). Please reconnect.
Why do some networks block VPNs?
Public Wi-Fi often blocks VPN traffic to prevent circumvention of their rules (for example, restrictions on torrenting or streaming). If you need a VPN, connect to one. after authorization on the portal, and not before.
| Network type | Required information | Example of a place |
|---|---|---|
| Open with portal | Email/phone or social network | Starbucks, McDonald's |
| Paid (payment based on time) | Card number or voucher | Airports, hotels |
| Corporate (login/password) | Credentials from the IT department | Offices, universities |
| Guest (with speed limit) | Administrator access code | Coworking spaces, business centers |
4. Connecting to corporate networks (WPA2/WPA3 Enterprise)
Network with security type WPA2/WPA3 Enterprise Requires not only a password but also additional authentication data. Such networks are used in:
- 🏫 Universities (for example, eduroam).
- 🏢 Large companies (with domain accounts).
- 🏥 Government institutions (with certificates).
To connect in Windows 11:
- Select the network from the Wi-Fi list and press
Connect. - In the field
Authentication methodselectMicrosoft: Secure Password (EAP-MSCHAP v2)or another one specified by the administrator. - Enter:
- Username (often in the format
domain\loginorlogin@domain.ru). - Account password.
- Username (often in the format
OK and confirm the connection.IN macOS:
- Select the network, click
Connect. - Enter your username and password.
- If a certificate is required, click
Tuneand specify the path to the file (usually.p12or.cer).
IN Linux (through nm-connection-editor):
- Open
Network settings→ select Wi-Fi →Add. - Specify SSID, security type
WPA & WPA2 Enterprise. - Tab
Wi-Fi Security:Authentication:Secure Password (EAP-MSCHAPv2).UsernameAndPassword.- If necessary, specify the path to the certificate in
CA Certificate.
⚠️ AttentionCorporate networks often have security policies prohibiting the connection of personal devices. Before attempting to connect, check with your IT department. Violating these policies could result in your MAC address being blocked.
5. Troubleshooting connection issues
If your laptop won't connect to Wi-Fi, check the following:
1. Problems with drivers or adapter:
- 🔌 Make sure that Wi-Fi is physically turned on (on some laptops there is a separate button or combination
Fn + F2/F12). - 🖥️ In Windows check
device Manager(keysWin + X): is there an exclamation mark next toNetwork adapters. - 🔄 Update the adapter driver through the manufacturer's official website (for example, Intel, Qualcomm Atheros, Realtek).
2. Incorrect network settings:
- 📡 In Windows reset network settings:
netsh winsock resetnetsh int ip resetThen restart your laptop.
- 🍎 In macOS remove the network from the list and reconnect:
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z - 🐧 In Linux restart the service
NetworkManager:sudo systemctl restart NetworkManager
3. IP address conflicts:
- 🔢 Manually set the IP (if DHCP doesn't work):
- IP:
192.168.1.X(where X is a number from 2 to 254). - Mask:
255.255.255.0. - Gateway:
192.168.1.1(or another, depending on the router). - DNS:
8.8.8.8(Google) or1.1.1.1(Cloudflare).
- IP:
4. Router problems:
- 🔄 Reboot your router (unplug it for 30 seconds).
- 📶 Check if the mode is enabled
802.11r (Fast Transition)- it may conflict with older devices. - 🔒 Make sure your router doesn't have a MAC address restriction (if so, whitelist your laptop's MAC address).
6. Security when connecting to public networks
Public Wi-Fi networks are convenient, but often lack security. Here's how to minimize the risks:
What to do:
- 🔒 Use VPN (For example, ProtonVPN, Windscribe) to encrypt your traffic. Connect to a VPN after authorization on the portal.
- 🌐 Turn on
HTTPSeverywhere (extension HTTPS Everywhere for the browser). - 🛡️ Turn off file and printer sharing in your network settings (
Settings → Network → Advanced sharing optionsin Windows). - 🔄 Turn on
Firewalland check that it blocks incoming connections.
What to avoid:
- 🚫 Don't enter passwords for important services (banks, email) without a VPN.
- 🚫 Do not use
FTP,Telnetor other insecure protocols. - 🚫 Do not connect to networks with suspicious names (for example,
Free_WiFi_Hack). - 🚫 Don't save passwords for public networks in your browser.
In 2026, most hacker attacks on public Wi-Fi are carried out through DNS spoofing (redirecting to phishing sites) or man-in-the-middle (MITM) attacks (traffic interception). A VPN with modern protocols (WireGuard, OpenVPN) reliably protects against both methods.
⚠️ AttentionSome VPN services may be blocked on corporate or educational networks. If you need access to work resources, check with your IT department to see if VPN use is permitted.
7. Alternative connection methods (if Wi-Fi is unavailable)
If you can't connect to Wi-Fi, consider these alternatives:
1. USB tethering from a smartphone:
- 📱 Connect your phone to your laptop via USB.
- Turn it on in your phone settings
Modem mode → USB tethering. - 💻 On your laptop, select
Ethernet(in Windows) orUSB connection(in macOS/Linux).
2. Mobile hotspot:
- 📶 Turn on your phone
Access point(in settingsNetwork and Internet). - 🔑 Set a password (minimum 8 characters,
WPA2). - 🖥️ Connect to this network from your laptop as you would to a regular Wi-Fi.
3. Ethernet via adapter:
- 🔌 If your laptop doesn't have an Ethernet port, use USB-to-Ethernet adapter (costs ~500₽).
- 🔗 Connect the cable from the router or wall port (in hotels/offices).
- ⚡ Configuration is usually not required - the network is detected automatically.
4. SIM card with laptop support:
- 📄 Some laptops (eg. Lenovo ThinkPad, Dell Latitude) have a slot for a SIM card.
- 📶 Insert a SIM card with a tariff for your tablet/laptop (for example, MegaFon "Everything for Your Laptop").
- 🔄 In the settings, select
Mobile networkand activate the connection.
| Way | Speed | Traffic consumption | Price |
|---|---|---|---|
| USB tethering | Up to 1 Gbps (4G/5G) | High | Included in the tariff |
| Mobile hotspot | Up to 500 Mbps (5G) | Very tall | Included in the tariff |
| Ethernet | Up to 10 Gbps | No | Adapter ~500₽ |
| SIM card in a laptop | Up to 1 Gbps (5G) | Average | Tariff from 300₽/month |
8. Checking connection quality and eliminating lags
Even if you're connected to Wi-Fi, your speed may be slow. Here's how to diagnose the problem:
1. Speed test:
- 📊 Take the test
speedtest.netorfast.com. - 📉 If the speed is below 10 Mbps with a 100+ Mbps plan, the problem is with the signal or network load.
2. Network analysis in Windows:
- 📶 Launch
Command line(Win + R→cmd) and enter:netsh wlan show interfacesPlease pay attention to the parameters
Signal(should be >70%) andTransfer speed. - 🔍 Check your channel load:
netsh wlan show networks mode=bssidIf there are many networks on the list on one channel (for example,
6or11), this may cause interference.
3. Optimization in macOS/Linux:
- 🍎 In macOS Disable automatic connection to weak networks:
networksetup -setairportpower airport offnetworksetup -setairportpower airport on - 🐧 In Linux Force the channel to 5 GHz (if the router supports it):
sudo iwconfig wlan0 channel 36
4. Change DNS to speed up:
- 🔧 In Windows:
- Open
Settings → Network → Wi-Fi → Hardware Properties. - In the section
DNS serversselectManuallyand add:1.1.1.18.8.8.8
- Open
- Open
System Preferences → Network → Wi-Fi → Advanced → DNS. - Add
1.1.1.1And8.8.4.4.
🔍 How do I find out who else is connected to my network?
IN Windows open Command line and enter:
arp -a
You'll see a list of IP and MAC addresses of devices on your local network. To determine a device's manufacturer by MAC address, use the service macvendors.com.
IN Linux/macOS use:
nmap -sn 192.168.1.0/24
For detailed traffic analysis you can use Wireshark (requires administrator rights).
🛡️ Is it possible to connect to Wi-Fi without a password if it is saved on another device?
Yes, if you have access to a device that is already connected to this network:
- 📱 Android: Open
Settings → Wi-Fi → Network name → Share(device PIN required). - 🍎 iPhone/iPad: Bring another Apple device close to the iPhone - the password will be transferred automatically (function
AirDrop). - 💻 Windows: Passwords for saved networks can be viewed in
Settings → Network → Wi-Fi → Manage known networks → Properties(requires administrator rights).
IN Linux passwords are stored in a file /etc/NetworkManager/system-connections/NETWORK_NAME (needed) sudo for viewing).
⚡ Why does my laptop connect to Wi-Fi, but the internet doesn't work?
Reasons and solutions:
- No DNS accessTry manually entering DNS
8.8.8.8or1.1.1.1. - IP issues: At the command prompt, enter:
ipconfig /releaseipconfig /renew - MAC address blocking: Check with your network administrator to see if your MAC is blocked.
- Device restrictions: Some routers only allow a certain number of gadgets to connect.
- Problems on the provider's side: Check if the Internet works on other devices.
🔄 How do I reset my network settings to factory defaults?
IN Windows 11:
- Open
Settings → Network → Advanced network settings → Network reset. - Click
Reset nowand confirm.
IN macOS:
- Delete all networks in
System Preferences → Network → Wi-Fi → Advanced. - Perform in
Terminal:sudo ifconfig en0 downsudo ifconfig en0 up
IN Linux:
sudo rm /etc/NetworkManager/system-connections/*
sudo systemctl restart NetworkManager
📡 Is it possible to increase the Wi-Fi range on a laptop?
Yes, but with some reservations:
- External antenna: Some laptops (eg. ThinkPad) support the connection of external antennas