How to connect to Wi-Fi on a laptop in a cafe

Customers at restaurants and bars often rely on internet access for work or entertainment. While an open hotspot is standard, the process of pairing a device with the network may vary depending on the equipment used and the establishment's security settings. Modern operating systems automatically detect available signals, but manual intervention is sometimes necessary for successful authorization.

The main difficulty lies not so much in detecting the signal as in completing the authorization process through the Captive Portal. This is a special web interface that requires accepting the terms of use or entering the code from the receipt before granting full access to global network resources. Understanding this mechanism allows you to avoid panic if the internet goes down immediately after entering your password.

In this article, we'll detail the steps for laptop owners running Windows and macOS. You'll learn how to securely transfer data in public environments, what settings to change to protect your personal information, and what to do if the default connection mechanism fails.

Search for available networks and initial detection

The first step is always to activate the wireless module on your device. Most modern models have this feature enabled by default, but in public places where the signal may be weakened by walls or interference, it's worth making sure it's turned on. Laptop keyboards often have a function key with an antenna icon; pressing this key (usually with Fn) toggles the adapter on and off.

After activating the module, you need to open the list of available connections. In the operating system Windows 10 or Windows 11 This is done by clicking on the globe or fan icon in the lower right corner of the screen, in the notification area. In the environment macOS A similar element is located in the upper right corner of the menu bars. The list will display all available SSIDs (network names) within range.

Pay attention to the signal strength, indicated by the number of bars or the color of the icon. A weak signal can lead to unstable operation even if you successfully connect. If you see multiple networks with similar names (for example, "Cafe_Free" and "Cafe_Guest"), confirm with the staff the correct access point name to avoid connecting to a neighboring establishment or the owner's personal network.

📊 How do you usually find out the Wi-Fi password at a cafe?
I ask the waiter
I'm looking at the receipt.
I see it on the sign
No password needed, the network is open

It's important to note that some establishments hide their network name (Hidden SSID) for basic security or to reduce airspace congestion. In this case, you won't see a familiar name in the list. To connect, you'll need to manually enter the network name and security type, which the establishment's administrator or server should provide you with.

Connection process in Windows operating system

Windows laptop users face a wide variety of connection scenarios due to the wide range of drivers and operating system versions. After selecting the desired network name from the list of available connections, the system will prompt you to enter a security key. This key is often located at the administrator's desk or on printed materials on the desk.

Please enter your password, observing the case of letters, as the standard WPA2-PSK The field is character-sensitive. After entering, click "Next" or "Connect." The system will attempt to obtain an IP address automatically via the protocol. DHCPIf the connection is established, but the Internet is not working, additional authorization is probably required.

☑️ Checking Windows Connection

Completed: 0 / 1

Often, after successfully entering the password, the browser opens automatically, redirecting the user to the login page. If this doesn't happen, try opening any website, for example, http://neverssl.com or http://captive.apple.comThese addresses are specifically designed to force the authorization window to appear on public networks.

⚠️ Attention: If Windows displays a warning that "This network is not secure" or "Can't connect to this network," this is a standard response to the lack of encryption on open networks. Accepting the risks is usually sufficient to continue working in a cafe, but sharing banking information at this time is highly discouraged.

In rare cases, manual DNS configuration may be required. Go to Settings → Network & Internet → Wi-Fi → Configure adapter settings. Select your adapter, click Properties, find Internet Protocol version 4 (TCP/IPv4) and try to register DNS servers 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare), if the cafe's provider blocks standard requests.

Setting up a connection on a MacBook (macOS)

Laptop owners Apple Typically, users encounter a more unified connection interface. When selecting a network from the Wi-Fi menu in the upper-right corner, macOS immediately prompts you to enter the password. One feature of the system is the ability to automatically share the password between Apple devices if one of your friends is already connected to the network and is nearby, but this method rarely works in cafes due to privacy settings.

After entering your password, macOS may display a pop-up window asking whether to enable discovery services. For public networks, select "None" or "Do Not Enable" to prevent your laptop from being visible to other devices in the cafe. This reduces the risk of attacks like Man-in-the-Middle.

What to do if macOS says "Wi-Fi not connected"

If the connection status changes to "Wi-Fi not connected" immediately after entering the password, try forgetting the network. To do this, go to System Preferences → Wi-Fi → Details (or Advanced in older versions), find the network name in the list of known networks, and click the minus sign or "Forget this network." Then try connecting again.

If the status says "Connected, no internet" after connecting, open your browser. On macOS, the Captive Portal mechanism is very aggressive: the system will automatically attempt to open the authorization window. If the page doesn't load, check your system's date and time—time desynchronization often blocks secure connections (HTTPS) required for authorization.

For advanced users, a diagnostic mode is available. Hold down the key Option and click on the Wi-Fi icon in the menu. You will see detailed technical information: the current channel, noise level, security type, and BSSID (MAC address of the access point). This will help you determine whether you're connected to the cafe's router and not to a repeater with a poor signal.

Authorization via Captive Portal and entering codes

Modern cafes rarely offer completely open access without restrictions. Most often, a Captive Portal mechanism is used, which redirects the user's first HTTP request to a special page. This page may require various actions, such as accepting the user agreement, entering a phone number to receive an SMS, or redeeming a code from a receipt.

If you received a receipt with a printed login and password or a unique access code, enter this information in the appropriate fields. Pay attention to the symbols: often letters O (Latin) and 0 (zero), or I (ouch) and 1 (one) are visually similar. If you make a mistake, the system will usually not allow you to proceed, so enter your data carefully.

Authorization type Where to get data Validity period Peculiarities
Open network Not required Indefinitely Traffic is not encrypted, high risk
Password at the counter At the barista's or on the sign Changes daily General password for all visitors
Code from the receipt Printed on the cash receipt 2-4 hours Individual access, traffic limit
SMS authorization Entering a phone number 24 hours Requires a SIM card, linked to an individual

In some cases, internet access may not be available immediately after successful authorization. This is due to routing tables being updated on the establishment's server. Wait 10-15 seconds and try refreshing the browser page. If a session timeout is in effect, you may be required to log in again after a certain amount of time.

Connection problems and solutions

Even with the correct password, the connection may fail. One common cause is a DHCP address pool overflow. The cafe's router has a limit on the number of simultaneously connected devices (for example, 20 or 50 clients). If the establishment is crowded, new devices may simply not be able to get an IP address.

In this situation, waiting helps. When one of the visitors leaves and their device disconnects, the address will become available, and your laptop will be able to access it. Also, try turning off Wi-Fi on your laptop and then turning it back on to initiate a new request for the address.

⚠️ Attention: If you see a network with a name very similar to a cafe network (for example, "Starbucks" instead of "Starbucks_WiFi") but with a stronger signal, do not connect to it. This could be an "Evil Twin" attack, created by attackers to intercept your data.

Another common issue is IP address conflicts or incorrect DNS settings. If the network requires a static IP (which is rare, but can happen in corporate coworking spaces), you'll need to obtain this information from the administrator. In standard scenarios, ensure that the adapter settings are set to obtain IP and DNS automatically.

Your laptop's antivirus or firewall may also block connections to public networks, deeming them dangerous. Try temporarily disabling third-party security software (not the built-in Windows Defender, but third-party security suites) to see if they're blocking the connection.

Data security on public Wi-Fi networks

Using public Wi-Fi carries serious risks. Traffic on open networks is unencrypted between your device and the router, allowing attackers on the same network to intercept transmitted data. This is especially dangerous when entering passwords, using email, or online banking.

To minimize risks, use VPN (Virtual Private Network). This tool will create an encrypted tunnel between your laptop and a remote server, rendering intercepted data useless to hackers. Even if the cafe's network requires authentication, it's recommended to activate the VPN immediately after completing the authentication.

Also, make sure "Public Network" mode is enabled on your laptop. In Windows, you can check this in the Network and Sharing Center. This mode prevents other devices on the network from seeing your computer and blocks incoming connections, which is a critical security measure.

Turn off file and printer sharing. In Windows, this can be done via Control Panel → Network and Sharing Center → Change advanced sharing settingsMake sure the "Turn off sharing" switch is selected for the "Guest or public network" profile.

Frequently Asked Questions (FAQ)

Why doesn't my laptop see the cafe network, even though my phone does?

Most likely, your laptop operates in the 5 GHz band, while the cafe's router only broadcasts a signal in the 2.4 GHz band, or vice versa. It's also possible that the laptop's wireless adapter driver is outdated or is set to operate only in a specific regional frequency range.

Can I use public Wi-Fi for online banking?

We strongly advise against doing this without additional security. Even if the bank's website uses HTTPS, there's a higher risk of DNS spoofing or attacks through software vulnerabilities on a public network. Use mobile internet (4G/5G) or a reliable VPN for financial transactions.

What does the "No Internet Access" message mean after connecting?

This means the connection between the laptop and the router is established, but the router is unable to access the external network or is blocking your access. Check if the web page requires authorization, if the session timeout has expired, or if the establishment's account is empty (if access is paid).

How do I know if a cafe's Wi-Fi password is secure?

If the system prompts you to enter a password when connecting, encryption is in use (usually WPA2). If the network connects on its own without asking for a key, it's open, and all your traffic can theoretically be viewed by other users on the same network.