Connecting to Wi-Fi in Linux Mint: A Complete Guide from Drivers to Diagnostics

Wireless internet has become an integral part of everyday work, but users Linux Mint often encounter problems connecting to Wi-Fi. Unlike Windows or macOS, where drivers for network adapters are usually installed automatically, in distributions based on Linux This process may require manual intervention. This is especially relevant for laptops with modern adapters. Intel AX200/AX210, Realtek RTL8852AE or Broadcom BCM43xx, which often "don't see" the network without additional manipulation.

In this article, we will cover not only the basic methods of connecting to Wi-Fi via a graphical interface Cinnamon/MATE/Xfce, but we will also consider hidden settings, terminal commands, and solutions to the most common errors—from missing networks to constant connection drops. We'll pay special attention to a unique issue with Linux Mint 21.x and kernel modules 5.15+, where adapters on Realtek chips require manual compilation of drivers from source.

If you've just switched from Windows or another OS, don't be scared by terms like iwconfig, dkms or secure boot We'll explain everything in simple terms, with step-by-step screenshots and alternative methods. And for experienced users, we've prepared advanced tips for optimizing connection speed and security.

1. Basic Wi-Fi connection via graphical interface

Let's start with the simplest method, which will work in 80% of cases - if your network adapter is already recognized by the system and does not require additional drivers. Linux Mint (regardless of the shell version - Cinnamon, MATE or Xfce) the connection process is unified:

1. Click the network icon in the lower-right corner of the taskbar (near the clock). If there's no icon, the adapter isn't detected (skip to the driver section).

2. Select the desired network from the drop-down list Wi-Fi.

3. Enter your password (pay attention to the case!) and press Connect.

If the network is secure WPA3, and your adapter only supports WPA2, an authentication error may occur. In this case:

  • 🔄 Try temporarily switching your router to offline mode WPA2-PSK (via the router's web interface).
  • 🔧 Update your router firmware - many models (TP-Link Archer C6, ASUS RT-AX88U) received support WPA3 in later versions of the software.
  • 🖥️ Install the latest drivers for the adapter (instructions in the next section).

After a successful connection, the network icon will change color to blue (in Cinnamon) or a signal strength indicator will appear. To check the connection speed and stability, open a terminal and enter:

ping -c 10 8.8.8.8

If there is packet loss (>5%) or latency (>100ms), the problem may be in router channel overload or incorrect energy saving settings adapter (more on this in the section on optimization).

📊 Which Linux Mint interface do you use?
Cinnamon
MATE
Xfce
Another

2. Checking and installing drivers for the Wi-Fi adapter

If the network list is empty or the network icon has a red cross through it, the system most likely didn't recognize your adapter. This is typical for laptops with chips. Broadcom (For example, BCM43142 V MacBook Pro 2013-2015) or Realtek (series RTL8188EE, RTL8723DE). You can check the current status of the adapter using the command:

lspci -knn | grep -iA3 net

In the output, pay attention to the line Kernel driver in use:

  • 🆗 If a driver is specified there (for example, iwlwifi For Intel or rtl8192ce For Realtek) — the adapter is recognized, but requires updating.
  • ❌ If the line is empty or contains Kernel modules: [none] — the driver is missing.

For most adapters Intel And Atheros The drivers are already included in the kernel Linux, but may require activation. Follow these steps:

sudo modprobe -r [module_name] && sudo modprobe [module_name]

Where [module_name] - this is the value from the string Kernel modules (For example, iwlwifi).

For Broadcom And Realtek Manual installation is often required. The most reliable method is to use driver manager Linux Mint:

  1. Open Menu → Administration → Driver Manager.
  2. Wait for the scan (may require a cable connection) Ethernet).
  3. Select the recommended driver (usually marked with a check mark) and click Apply changes.
  4. Reboot the system.

Connect your laptop to the router with an Ethernet cable.

Update the system with the command sudo apt update && sudo apt upgrade -y

Back up your important data

Make sure Secure Boot is disabled in BIOS (if required)

-->

If the driver manager doesn't find suitable packages, you'll have to install them manually. For adapters Realtek RTL88x2bu (popular in USB dongles) run:

sudo apt install dkms git

git clone https://github.com/cilynx/rtl88x2bu.git

cd rtl88x2bu

chmod +x dkms-install.sh

sudo./dkms-install.sh

⚠️ Attention: After updating the kernel Linux Mint Custom drivers may stop working. To avoid this, use the command sudo dkms autoinstall after each system upgrade.

3. Connecting to hidden networks and networks with enterprise authentication

If your router is configured to hide the SSID (does not broadcast the network name), or you are connecting to a corporate network with WPA2-Enterprise (for example, at a university or office), standard interface Linux Mint may not cope. In such cases, a utility will help nmcli — console network manager.

To connect to hidden network:

nmcli dev wifi connect "NetworkName" password "YourPassword" hidden yes

For networks with enterprise authentication (For example, PEAP/MSCHAPv2):

nmcli con add con-name"UnivWiFi" ifname wlp3s0 type wifi ssid"eduroam"

nmcli con modify UnivWiFi wifi-sec.key-mgmt wpa-eap

nmcli con modify UnivWiFi 802-1x.eap peap

nmcli con modify UnivWiFi 802-1x.phase2-auth mschapv2

nmcli con modify UnivWiFi 802-1x.identity"your_login@domain"

nmcli con modify UnivWiFi 802-1x.password"your_password"

nmcli con up UnivWiFi

Replace wlp3s0 the name of your network interface (you can find it out using the command ip aIf you're unsure of your security settings, check with your network administrator—incorrect settings may block your connection.

Authentication type Team for nmcli Network example
WPA2-Personal (PSK) nmcli dev wifi connect"ssid" password"pass" Home router
WPA2-Enterprise (PEAP) nmcli con modify [con] 802-1x.eap peap Unified university network
WPA3-Personal nmcli dev wifi connect"ssid" password"pass" wifi-sec.key-mgmt sae Modern routers (ASUS, Netgear)
Hidden network (hidden SSID) nmcli dev wifi connect"ssid" password"pass" hidden yes Office networks with hidden names

If the connection is not established after executing the commands, check the system logs:

journalctl -u NetworkManager --no-pager -n 50

Please note the lines with error or fail - they will point out a specific problem (for example, an invalid certificate for EAP-TLS).

4. Diagnosing Wi-Fi Problems: From Simple to Complex

If Wi-Fi connects but is unstable (drops, low speed, high ping), follow this algorithm:

  1. Check your router:
    • 🔄 Reboot the router (turn off the power for 30 seconds).
    • 📶 Change the Wi-Fi channel in your router settings (optimal: 1, 6, or 11 for 2.4 GHz; 36-48 for 5 GHz).
    • 🔒 Disable the Smart Connect feature, as it can force devices to switch between bands.
  2. Check the adapter in Linux Mint:
    • 📡 Make sure the adapter is not disabled by a hardware button (relevant for laptops) Lenovo, HP).
    • 🔋 Disable power saving for Wi-Fi: iwconfig wlp3s0 power off.
    • 🔄 Reconnect to the network: nmcli con down"ConnectionName" && nmcli con up"ConnectionName".
  • Interference Analysis:
    • 📊 Install wavemon to visualize the signal level: sudo apt install wavemon, then run sudo wavemon.
    • 🔍 Check channel load: if there are many nearby networks on the same channel, change it in your router.

    For deep diagnostics, use the command:

    sudo iwlist wlp3s0 scanning | grep -E"Cell|Encryption|Quality|Signal"

    Pay attention to the parameter Signal level:

    • 🟢 From -50 dBm to -70 dBm - excellent signal.
    • 🟡 From -70 dBm to -80 dBm - average (breaks are possible).
    • 🔴 Below -80 dBm — weak signal, you need to move closer to the router or use a repeater.

    If the problem persists, try disable IPv6 for test connection:

    sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
    

    sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1

    ⚠️ Attention: On laptops with hybrid graphics (NVIDIA Optimus) The Wi-Fi adapter may conflict with the graphics card drivers. If after installing proprietary drivers NVIDIA Wi-Fi is gone, add a kernel parameter acpi_osi=Linux V /etc/default/grub and update the configuration with the command sudo update-grub.

    5. Optimize Wi-Fi speed and stability

    Even if the connection is established, its quality may leave much to be desired. Here are some ways to improve performance:

    Configuring adapter settings

    Open the configuration file:

    sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

    Replace the line wifi.powersave = 3 on wifi.powersave = 2 (or 0 for maximum performance) and restart NetworkManager:

    sudo systemctl restart NetworkManager

    5 GHz Band Prioritization

    If your adapter and router support 802.11ac (Wi-Fi 5) or 802.11ax (Wi-Fi 6), force connection to 5GHz:

    nmcli con modify"ConnectionName" 802-11-wireless.band a

    To return to automatic selection:

    nmcli con modify"ConnectionName" 802-11-wireless.band --

    Regulatory Domain Change

    If you live in a country where high transmission power is allowed (like the USA) and your router is set to EU mode, this may limit speed. Check the current domain:

    iw reg get

    And change it (for example to US):

    sudo iw reg set US
    Parameter Team Effect
    Disabling energy saving iwconfig wlp3s0 power off Reduces latency but increases battery consumption
    Forced use of 5 GHz nmcli con modify [con] 802-11-wireless.band a Higher speed but shorter range
    Increasing transmission power sudo iwconfig wlp3s0 txpower 20 Improves signal but may violate local regulations
    Disabling IPv6 sysctl -w net.ipv6.conf.all.disable_ipv6=1 Solves problems with some routers

    To apply changes permanently (for example, disabling power saving), add the command to startup:

    sudo crontab -e

    Add the line:

    @reboot iwconfig wlp3s0 power off

    6. Alternative connection methods: WPA_Supplicant and iwd

    If NetworkManager refuses to work correctly (for example, after a system update), you can use alternative network management daemons: wpa_supplicant or iwd (from the developers Intel).

    Connecting via wpa_supplicant

    1. Turn off NetworkManager:

    sudo systemctl stop NetworkManager
    

    sudo systemctl disable NetworkManager

    2. Generate a configuration file:

    wpa_passphrase"SetName""Password" | sudo tee /etc/wpa_supplicant.conf

    3. Connect manually:

    sudo wpa_supplicant -B -i wlp3s0 -c /etc/wpa_supplicant.conf
    

    sudo dhclient wlp3s0

    Connecting via iwd (a modern alternative)

    iwd (iNet Wireless Daemon) is a lightweight daemon that works better with new standards. WPA3 And 802.11ax. Install it:

    sudo apt install iwd

    Disable conflicting services:

    sudo systemctl disable --now NetworkManager wpa_supplicant

    Launch iwd and connect:

    sudo systemctl enable --now iwd
    

    sudo iwctl

    [iwd]# station wlan0 scan

    [iwd]# station wlan0 get-networks

    [iwd]# station wlan0 connect"SetName"

    To return to NetworkManager:

    sudo systemctl enable --now NetworkManager
    

    sudo systemctl disable --now iwd

    ⚠️ Attention: Simultaneous operation NetworkManager, wpa_supplicant And iwd will lead to conflicts. Use only one demon!

    7. Solving specific problems

    Some errors are common enough to warrant a separate section. Here are the most common ones and how to fix them:

    Error: "Authentication failed"

    Reasons and solutions:

    • 🔑 Incorrect password: Make sure the case of the characters matches. Linux Passwords are case sensitive!
    • 🔄 WPA3 Incompatibility: Switch the router to the mode WPA2/WPA3 Transition Mode or turn it off WPA3 at all.
    • 🕒 Time synchronization failure: If the date on your PC is incorrect, some routers block the connection. Update the time: sudo ntpdate pool.ntp.org.

    Wi-Fi connects, but the internet doesn't work.

    Check:

    1. Is the IP address assigned: ip a show wlp3s0If the address is in the range 169.254.x.x — DHCP didn't work.
    2. Is DNS working: ping 8.8.8.8 (if yes, but the sites don’t open, the problem is in the DNS).
    3. Gateway settings: ip routeIf there is no line with default via, add the gateway manually: sudo ip route add default via 192.168.1.1.

    The adapter does not turn on (RF-Kill)

    Some laptops (Dell XPS, Lenovo ThinkPad) have hardware or software Wi-Fi blocking. Check the status:

    rfkill list

    If there is a line in the output Soft blocked: yes or Hard blocked: yes, unlock:

    sudo rfkill unblock all

    For hardware locking (e.g. switch on the case), physically turn on the adapter.

    Problems after kernel update

    If Wi-Fi stops working after upgrading the kernel, you most likely need to rebuild the drivers:

    sudo dkms autoinstall

    If this does not help, roll back to the previous kernel version via GRUB:

    1. Hold while booting Shiftto open the menu GRUB.
    2. Select Advanced options for Linux Mint.
    3. Boot from the previous kernel version (marked recovery).
    What to do if none of the methods helped?

    If you've tried all the methods and Wi-Fi still isn't working, consider the following options:

    1. USB Wi-Fi adapter: Connect the external adapter on the chip Ralink RT5370 or Intel 7260 - they have excellent support in Linux.

    2. Ethernet over USB: Use a USB-to-Ethernet adapter for a stable wired connection.

    3. Another core: Install the kernel liquorix or xanmod, which often work better with new hardware:

    echo'deb http://liquorix.net/debian sid main' | sudo tee /etc/apt/sources.list.d/liquorix.list
    

    sudo apt update && sudo apt install liquorix-kernel

    4. Living system: Boot from a LiveUSB of another version of Linux (e.g. Ubuntu 22.04 or Manjaro) and check if Wi-Fi works there. This will help determine whether the issue is in your system configuration or hardware.

    FAQ: Frequently Asked Questions about Wi-Fi in Linux Mint

    Why can't Linux Mint see my 5GHz network?

    This could be due to several reasons:

    • Your Wi-Fi adapter does not support the 5 GHz band (check model specifications).
    • In some countries (for example, Russia), 5 GHz channels above 149 are prohibited by default. Solution: sudo iw reg set RU.
    • The adapter driver does not support 5 GHz. Please update the driver or install a proprietary version.

    To check supported frequencies, run:

    iw list | grep -A 10"Supported frequencies"
    How to connect to Wi-Fi without a graphical interface (for example, on a server)?

    Use wpa_supplicant:

    1. Create a config: wpa_passphrase"SetName""Password" | sudo tee /etc/wpa_supplicant.conf.
    2. Connect: sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf.
    3. Get IP: sudo dhclient wlan0.

    For a permanent connection, add to /etc/network/interfaces:

    auto wlan0
    

    iface wlan0 inet dhcp

    wpa-conf /etc/wpa_supplicant.conf

    Can Linux Mint be used as a Wi-Fi hotspot?

    Yes, for this:

    1. Install hostapd And dnsmasq: sudo apt install hostapd dnsmasq.
    2. Set up hostapd.conf (an example of the config can be found Here).
    3. Start the access point: sudo systemctl start hostapd.

    Please note: Not all Wi-Fi adapters support the mode. AP (Access Point). Check compatibility with the command iw list | grep"Supported interface modes" - there must be a point AP.

    How to reset all network settings in Linux Mint?

    To reset network settings to factory defaults:

    1. Remove all connections: nmcli con delete id"ConnectionName" (repeat for all networks).
    2. Reset NetworkManager: sudo rm /var/lib/NetworkManager/NetworkManager.state.
    3. Restart the service: sudo systemctl restart NetworkManager.

    For a full reset (including user settings), delete the configs:

    sudo rm -rf /etc/NetworkManager/system-connections/*
    Why is Wi-Fi slower than in Windows on the same laptop?

    Possible causes and solutions:

    • 🔋 Energy saving: Aggressive power saving for Wi-Fi is enabled by default in Linux. Disable it: iwconfig wlp3s0 power off.
    • 🔄 Drivers: Windows often uses proprietary drivers from the manufacturer, while Linux uses open-source alternatives. Try installing proprietary drivers through Driver Manager.
    • 📡 Regional settings: Transmission power is limited in some countries. Check your current region: iw reg get and install US (if permitted by local law): sudo iw reg set US.
    • 🛠️ MTU: If packets are fragmented, reduce the MTU: sudo ifconfig wlp3s0 mtu 1400.

    Also check the channel load using wavemon — the problem may be network congestion, not the adapter.