How to Connect to Wi-Fi in Linux Mint: From Beginner to Pro

Installing the Linux Mint operating system is often users' first step into the world of open source, and the first logical step after installation is accessing the internet. Unlike some other distributions, Mint is renowned for its beginner-friendly nature, offering an intuitive graphical interface that conceals complex system processes. However, even in such a well-designed environment, situations sometimes arise where automatic connection fails, requiring user intervention.

Modern laptops and desktop computers typically detect available access points immediately after system installation. However, if your adapter isn't responding or the network isn't connecting, don't panic. There are many possible causes, ranging from simply disabling a module in the BIOS to missing proprietary drivers or manually configuring IP addressing.

In this article, we'll cover every connection step in detail, from the simplest steps in the graphical shell to fine-tuning via the terminal. You'll learn how to check the network interface status, install missing drivers for Broadcom or Realtek, and configure a static IP address for stable operation of servers or printers.

Diagnostics and enabling the wireless module

Before attempting any complex manipulations, you need to make sure that the wireless adapter is physically enabled and recognized by the system. In Linux Mint, the component responsible for managing network connections is NetworkManager, which is hidden in the system tray by default. If the network icon is missing or shows "No connection," first check for a hardware switch on the laptop case or a keyboard shortcut with an antenna icon.

It's common for the Wi-Fi module to be software-blocked. You can use the rfkill utility to check the status of all network interfaces. Open a terminal and enter the command to see a list of devices and their blocking status. If the "Soft blocked" column shows "yes," blocking is active at the software level.

rfkill list all

To unlock, use the command rfkill unblock wifi, after which the system should immediately begin searching for available networks. In some cases, especially on older laptops, a system reboot may be required after running this command. It's also worth checking your computer's BIOS/UEFI settings to ensure the wireless controller isn't disabled at the motherboard level.

⚠️ Note: If the rfkill utility doesn't detect your Wi-Fi adapter at all, this may indicate missing drivers or a physical malfunction of the module. In this case, check the system logs via dmesg | grep wifi will help identify equipment errors.

Modern versions of Linux Mint, such as Cinnamon 21 or MATE 21, have excellent compatibility with most chipsets. However, if you're using very new or, conversely, exotic hardware, the system may not have built-in firmware. In this case, the initial internet connection will have to be established via an Ethernet cable or USB modem from an Android smartphone.

Connecting via the NetworkManager graphical interface

The easiest and most common way to connect to a network is using a graphical applet. In the lower-right corner of the screen, in the notification area, there's a network icon. Clicking it opens a menu with a list of available access points. If your network is listed, simply click it and enter the password.

The system will automatically detect the encryption type (usually WPA2 or WPA3) and attempt to establish a connection. During the connection process, you may be prompted to confirm the certificate or enter your keychain password if you previously saved your login information. After successful authentication, a signal strength indicator will appear next to the network name.

  • 📡 Hidden networks: If your access point does not broadcast an SSID, select "Connect to a hidden network" and enter the name manually.
  • 🔒 Saving password: NetworkManager stores access keys in the associated key by default, allowing you to connect automatically when a network appears.
  • ⚙️ IPv4/IPv6 settings: For most home networks, leaving the default settings (automatic DHCP) is sufficient.

For more detailed configuration, such as changing the MAC address or configuring DNS servers, you need to edit the connection. Right-click the network icon and select "Network settings," then find the desired Wi-Fi profile and click the gear icon. Here, you can switch the IPv4 method from "Automatic (DHCP)" to "Manual" if your ISP requires a hard-coded address.

📊 Which connection method do you prefer?
Graphical interface
Terminal (nmcli)
Configuration files
Automatic script

It's important to note that the graphical interface may not display some technical details, such as the frequency range (2.4 GHz or 5 GHz), if the adapter is operating in mixed compatibility mode. For accurate signal quality and channel diagnostics, it's best to use the command line, as discussed in the following sections.

Troubleshooting Drivers and Proprietary Software

One of the most common reasons for the lack of Wi-Fi in Linux Mint is the lack of proprietary drivers, especially for adapters manufactured by Broadcom And RealtekOpen-source drivers support many devices, but closed-source software is often required for maximum stability and speed. Linux Mint provides a convenient tool for managing such drivers.

To find and install the necessary software, open the application menu and find the "Driver Manager" utility. The system will scan your hardware and offer a list of available drivers. If alternative versions are available for your Wi-Fi adapter, they will be marked as "recommended" or "tested."

Chip manufacturer Driver type Package in the repository Support status
Broadcom Proprietary bcmwl-kernel-source Stable
Realtek (RTL88xx) Open Source firmware-realtek Needs updating
Intel Open Source iwlwifi (in the kernel) Great
MediaTek Mixed firmware-mt76 Good

If Driver Manager doesn't find solutions, your adapter may be too new and require drivers from more recent kernels or external repositories. In such cases, you can use the utility dkms to compile kernel modules for the current system version. However, this requires an active internet connection, which can be achieved through USB modding.

⚠️ Warning: Before installing new drivers, make sure you have a backup of important data or the ability to roll back your system. An incorrectly selected driver may cause a kernel conflict and prevent the graphics shell from loading.
What should I do if the Broadcom driver fails to install?

The problem often lies in the linux-headers package. Make sure the headers for your current kernel are installed by running the command: sudo apt install --reinstall linux-headers-$(uname -r). Without them, the module cannot be compiled.

After installing the drivers, be sure to reboot the system. Sometimes the module may be loaded but not activated. Check the status using the command lsmod | grep wl (for Broadcom) or a similar module for your device. If the module is listed, it has been successfully integrated into the kernel.

Setting up Wi-Fi via the terminal using nmcli

For experienced users and system administrators, the graphical interface may be overkill. The command-line utility nmcli (Network Manager Command Line Interface) provides complete control over network settings and allows for automated connection processes via scripts. This is especially useful when setting up headless servers or for remote administration.

The first step is always to scan for available networks. This command will list all visible access points, including their SSID, operating mode, channel, and signal strength. If a network is hidden, it won't appear in the list, and you'll have to enter the name manually.

nmcli dev wifi list

To connect to the network, use the connect command, specifying the network name (SSID) and password. The system will create a new connection profile or update an existing one. If the connection is successful, you will see the message "Connection successfully activated."

nmcli dev wifi connect "Network_Name" password "Your_Password"
  • 🔍 View profiles: Team nmcli connection show will display all saved connection profiles, even those for networks you are not currently connected to.
  • 🗑️ Deleting a profile: To forget a network, use nmcli connection delete "Network_Name".
  • 🔄 Reconnection: If you have connection problems, you can restart the profile using the command nmcli connection up "Network_Name".

Using the terminal allows you to set complex parameters that aren't always available in the GUI. For example, you can explicitly specify the BSSID (MAC address of the access point) to connect to a specific router within range of multiple devices with the same name. Also, through nmcli Conveniently configure static IP addresses and DNS servers without editing configuration files.

Setting up a static IP address and DNS

Home networks typically use dynamic address assignment (DHCP), but when setting up a home server, network-attached storage (NAS), or printer in Linux Mint, it's a good idea to assign a static IP address. This ensures that the device's address won't change after a router reboot, which is critical for port forwarding and network access.

You can configure a static address through the graphical interface by going to the IPv4 settings for a specific connection. Select the "Manual" method, then add a line with the address, netmask, and gateway. The gateway address is usually the same as your router's address (e.g., 192.168.0.1 or 192.168.1.1).

DNS servers deserve special attention. By default, your provider's servers are used, but their performance is not always stable. For improved response speed and security, we recommend using public DNS services from Google or Cloudflare. In the DNS server field, enter the addresses separated by commas.

8.8.8.8, 8.8.4.4, 1.1.1.1

When setting up manually, it's important to correctly enter the network prefix (usually 24 for home networks, which corresponds to a mask of 255.255.255.0). An incorrect gateway or prefix will result in the internet not working, although the local network may still be accessible. After making changes, you'll need to reconnect or restart the network service.

⚠️ Important: Make sure the static IP address you select is not within the range of addresses assigned by your router via DHCP. Otherwise, an address conflict will occur, and one of the devices will lose connection to the network.

Advanced diagnostics and error logging

If the connection still fails, it's time to perform a deeper diagnostic. Linux provides powerful tools for analyzing network events. The first step is to check the system log, which records all connection attempts and driver errors.

Use the utility journalctl to view NetworkManager logs in real time. Run the command with the follow flag to see new entries as they appear, and then try connecting to the network. This will allow you to see the exact cause of the failure: an incorrect password, a DHCP timeout, or an association error.

sudo journalctl -u NetworkManager -f

It is also useful to check whether the interface receives an IP address at all. The command ip addr show will show the current state of all interfaces. If the interface wlan0 or wlp2s0 has status NO-CARRIER or does not have an address in the line inet, which means that the connection at the data link level is not established.

  • 📉 Weak signal: If the signal level is below -80 dBm, the connection may be unstable. Use the command iwconfig to check the quality of the link.
  • 🚫 Firewall blocking: In rare cases, a built-in firewall UFW may be blocking DHCP requests. Check the status with the command sudo ufw status.
  • 🔄 Network reset: As a last resort, you can delete all network settings and recreate them by deleting the files in the directory /etc/NetworkManager/system-connections/.

☑️ Wi-Fi Diagnostic Checklist

Completed: 0 / 9

Frequently Asked Questions (FAQ)

Why doesn't Linux Mint detect my Wi-Fi adapter after installation?

Most likely, your system is missing proprietary drivers for your device. Connect your computer to the internet via an Ethernet cable or USB modem, then open "Menu" → "Administration" → "Device Drivers" and install the recommended driver. After a reboot, the adapter should work.

How to connect to a hidden Wi-Fi network in Linux Mint?

In the graphical interface, click the network icon and select "Connect to a hidden network." Enter the exact network name (SSID) and select the security type (usually WPA/WPA2 Personal). Then enter the password. In the terminal, this can be done with the following command: nmcli dev wifi connect "SSID" password "PASS" hidden yes.

Is it possible to share Wi-Fi from a Linux Mint laptop?

Yes, it's possible. Modern versions of Cinnamon have a "Hotspot" feature in the network settings. You can also create a hotspot through the terminal using nmcli, indicating the operating mode wifi hotspotThis will turn your laptop into a router.

What should I do if the connection keeps dropping?

Try disabling power saving for your Wi-Fi adapter. Create a configuration file in /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf and set the value wifi.powersave = 2Also, check if the channel your router is using is overloaded and try changing it in your router settings.