How to install and configure WiFi in Linux Mint

Modern operating systems based on the Linux kernel, such as Linux Mint, are often able to automatically detect and activate wireless network equipment immediately after installation. However, in practice, users often encounter a situation where the connection icon is missing and the system cannot detect available networks. This may be due to missing proprietary drivers, a blocked kernel module, or a specific power saving setting for a particular adapter model.

In this article, we'll cover all the steps required to successfully activate a wireless connection. We'll cover both graphical methods via system settings and more advanced methods via terminal, which are indispensable when the graphical interface does not work. Understanding the principles of operation NetworkManager and the driver manager will allow you to solve network problems on your own, without depending on a cable connection.

Before attempting any complex steps, make sure the physical WiFi switch on the laptop isn't in the "Off" position. Also, check that Airplane Mode, which software blocks all radios, isn't activated. If the physical switch is fine but there's no connection, it's time to tackle the software configuration.

Diagnosing the wireless adapter in the system

The first step should always be hardware identification. The operating system may "see" the device but not know how to work with it due to a lack of appropriate software. For detailed information about installed network cards, it's best to use a utility. lshw or a team lspci for internal modules and lsusb for external USB whistles.

Enter the command in the terminal sudo lshw -C network and carefully study the output. You are interested in the line configuration or driverIf it says "unclaimed" or the driver isn't listed at all, this is a clear sign that the required software isn't installed or loaded. It's also important to check the lock status using the command rfkill list, which will show whether WiFi is blocked by software or hardware.

⚠️ Attention: If the team rfkill If the device shows a "hard blocked" status, software methods won't help. You'll need to find a physical switch on the laptop case or use a key combination (usually Fn + antenna icon) to unlock the module.

Sometimes it's useful to know the exact chip model to find a specific driver on the manufacturer's website. For example, chips from Broadcom or Realtek often require separate firmware installation. Knowing the device identifier (for example, 10ec:8179), you can quickly find a solution in the official documentation or community repositories.

Using Driver Manager for automatic installation

The easiest and safest way to solve the problem with missing WiFi is to use the built-in tool Driver ManagerLinux Mint is renowned for its user-friendliness, and this tool automatically scans your hardware, compares it to a database of known proprietary drivers, and suggests installation. This is especially relevant for owners of laptops with adapters. Broadcom, which often do not have open source driver analogues.

To launch, open the application menu and search for "Drivers." The system will prompt you for your administrator password, after which the scan will begin. If alternative drivers are available for your device, they will appear in the list. Simply select the recommended option (usually labeled "recommended") and click Apply changes.

  • 📡 The system will automatically detect the model of your wireless adapter.
  • 💾 The appropriate proprietary driver will be downloaded and installed from the repositories.
  • 🔄 After installation, a reboot will be required to activate the kernel module.
  • ⚙️ Version conflicts are eliminated because the manager selects verified packages.

It's important to understand that for the Driver Manager to work, the device itself must be connected to the internet. If WiFi isn't working, use USB modem From your phone (USB tethering mode) or connect your computer directly to the router with an Ethernet cable. Without internet access, downloading driver files will be impossible.

📊 How do you prefer to configure Linux?
Via graphical interface (GUI)
Via terminal (CLI)
Automatic scripts
I don't need any setup

Manual driver installation via terminal

If automatic methods don't work or you prefer full control over the system, you can install the drivers manually. This method requires entering commands in a terminal but provides a more transparent result. Installing packages often resolves the issue. firmware, which contain the microcode for devices. For most popular chipsets, Linux Mint's repositories already contain ready-made solutions.

For example, for devices Realtek a package is often required firmware-realtek, and for Intelfirmware-iwlwifiBefore installation, be sure to update the package lists with the command sudo apt updateThis ensures that you are installing the latest available version of software that is compatible with your kernel version.

sudo apt update

sudo apt install firmware-misc-nonfree firmware-realtek

After installing the packages, you must reboot the computer or manually restart the network service. Command sudo systemctl restart NetworkManager This often helps apply changes without a full system reboot. If WiFi still doesn't work, check the system logs for kernel module-related errors.

☑️ Manual installation checklist

Completed: 0 / 4

Setting up a connection via a graphical interface

When the driver is installed and the module is active, a network icon will appear in the taskbar (usually in the lower right corner). Clicking on it will open a menu of available wireless networks. Linux Mint uses NetworkManager — a powerful tool that allows you not only to connect, but also to manage multiple profiles, set up static IP addresses and VPN.

To connect to a secure network, select the desired one SSID (network name) from the list and enter the password. The system will remember this network and automatically connect to it when it comes into range. In the advanced settings, you can change the encryption method if the router uses non-standard security parameters or set up a proxy server.

In some cases, manually specifying the MAC address or changing the privacy policy may be necessary. By default, modern versions of Linux Mint use a random MAC address when scanning networks to protect privacy. However, some older routers may block such devices, requiring the use of the real hardware address.

Parameter Default value Recommended value Influence
IPv4 method Automatic (DHCP) Automatic (DHCP) Automatic IP acquisition
Privacy Random Stable Compatibility with routers
DNS Automatically 1.1.1.1 or 8.8.8.8 Page opening speed
MTU Automatic 1500 Data packet size

Solutions to common problems and errors

Even with proper installation, situations may arise where the connection is unstable or completely disconnected. Common causes include kernel module conflicts or incorrect power-saving settings. The adapter may attempt to conserve power by shutting down at inopportune moments, leading to connection interruptions. Disabling this mode often stabilizes performance.

To disable power saving, create or edit a configuration file /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf. Change the parameter value wifi.powersave on 2, which means disabling power saving. This action requires superuser privileges and a restart of the network service.

⚠️ Note: Settings interfaces and package names may vary slightly between different versions of Linux Mint (Cinnamon, MATE, Xfce) and different distribution versions (20, 21, 22). Always consult the official release notes if the standard paths don't work.

Channel interference can be another problem, especially in apartment buildings. If your WiFi operates on the same frequency as your neighbors' networks, speeds may drop. Use a network analyzer to switch your router to a less crowded channel or change the frequency range. 5 GHz, if your equipment and router support the standard 802.11ac or ax.

Hidden WiFi networks

If your network is hidden, select "Connect to a hidden network" in the menu, enter the name (SSID) manually, and select the security type. Be careful, as entering the name incorrectly will prevent you from connecting.

Optimize and secure your wireless connection

After successful setup, don't forget about security. Encryption protocols WPA2 and modern WPA3 are a mandatory minimum for a home network. Make sure your router is configured to use these, not the outdated WEP, which can be cracked in minutes. Linux Mint fully supports these security standards.

It's also recommended to disable the WPS function, as it has known vulnerabilities. You can further restrict access by MAC address in your router settings, allowing connections only to trusted devices. This will create an additional barrier to uninvited guests, even if they know the password.

  • 🔒 Use complex passwords of at least 12 characters.
  • 📡 Prefer the 5GHz band for higher speeds and less interference.
  • 🛡️ Regularly update your router and Linux Mint system firmware.
  • 🚫 Disable WPS and older encryption protocols in your router settings.

Advanced users can configure static IP addresses, which is convenient for setting up a local network with file or printer sharing. This eliminates the need to constantly check the device's address or configure reservations in the router's DHCP server. However, for typical home use, dynamic address allocation is a more flexible solution.

Frequently Asked Questions (FAQ)

Why doesn't Linux Mint see my WiFi adapter?

Most likely, there is no proprietary driver installed for your adapter model. Check the Driver Manager or use the command lshw -C network for diagnostics. Also, make sure that the adapter is not blocked by the command rfkill.

How to connect WiFi without an Ethernet cable?

Use your smartphone as a USB tethering device. Connect your phone to your PC via cable, enable "USB tethering" in your Android/iOS settings, and Linux Mint will automatically use your mobile data to download the necessary drivers.

Is it possible to share WiFi from a Linux Mint laptop?

Yes, this is possible. In Network Settings, go to the Wi-Fi tab and enable Hotspot mode. You'll be able to create a new network that other devices can connect to.

What to do if WiFi keeps disconnecting?

Try disabling power saving for the network adapter (option wifi.powersave). Also check if your router is too far away or if a microwave oven or Bluetooth device is causing interference.

Do you need antivirus software for WiFi on Linux?

A dedicated antivirus is not required to protect the connection itself. However, when connecting to open public networks, it is recommended to use a VPN to encrypt your traffic, as your data may be intercepted.