How to Connect Fedora to Wi-Fi: A Step-by-Step Guide

operating system Fedora Workstation Renowned for its stability and adoption of the latest Linux technologies, it's an excellent choice for both developers and everyday users. However, during initial installation or after a kernel update, users often encounter a situation where the wireless adapter isn't automatically detected by the system. This can be caused by missing proprietary drivers or a specific network manager configuration.

In this article, we'll cover all the ways to set up a wireless connection in detail, from standard graphical interfaces to advanced command-line configuration methods. Graphical interface Fedora, based on GNOME, generally provides intuitive networking, but sometimes manual intervention is required. Understanding the underlying processes will allow you to quickly diagnose and fix problems.

Whether you're using a laptop with a built-in module or an external USB adapter, the right approach to setting it up NetworkManager will ensure stable internet access. We'll cover both standard connection scenarios to a home router and more complex cases involving corporate networks and hidden SSIDs.

Checking the compatibility and condition of the equipment

Before attempting complex configurations, you need to ensure that the operating system can physically detect your network hardware. In Linux, unlike Windows, drivers are often built into the kernel, but some chipsets require additional packages. The first step should always be to diagnose the current state of the device.

Use terminal to run the utility lspci (for internal cards) or lsusb (for external adapters) to see a list of connected devices. If your adapter appears in the list but the network isn't working, the problem is likely software or configuration related. A device's absence from the list may indicate a hardware problem or the need to enable the module in the BIOS.

⚠️ Note: Some laptops have a physical Wi-Fi switch or a key combination (e.g., Fn+F2) that software-basedly disables the radio module. Make sure the wireless indicator is on before beginning software debugging.

To get detailed information about network interfaces and their status, use the command ip link. It will show whether the interface is up (state UP) and whether it is running. If the interface is in the state DOWN, it needs to be activated. It's also useful to check whether the wireless module is blocked programmatically via rfkill.

  • 🔍 Complete lspci | grep -i network to search for PCIe adapters.
  • 🔍 Use lsusb, if you are connected via USB dongle.
  • 🔍 Check the blocking status with the command rfkill list all.
  • 🔍 Make sure the interface is not marked as "Hard blocked".

If you find that the module is blocked by software (Soft blocked: yes), you can unlock it with a single command in the terminal. This is a common situation after an improper shutdown or a power manager crash.

sudo rfkill unblock wifi
Why doesn't the system see my Wi-Fi adapter?

Most often, the problem stems from the lack of firmware files for a specific chipset model. In Fedora, these may be located in a separate non-free repository that must be manually enabled.

Setting up Wi-Fi via the GNOME graphical interface

For most users Fedora Workstation With the GNOME environment, network configuration is automatic and does not require entering commands. The system uses NetworkManager, which scans the airwaves and offers a list of available access points. This is the safest and easiest method for beginners.

To connect, click the network icon in the upper right corner of the screen (usually two arcs or a computer). Select your network from the list in the drop-down menu. Wi-Fi NetworksIf the network is password protected, a window for entering the security key will appear.

It's important to select the correct security type if it isn't detected automatically. For home networks, the standard is WPA & WPA2 PersonalIf you are using a corporate network, you may need certificates and login provided by your system administrator.

  • 📡 Click on the network icon in the system tray.
  • 📡 Choose Wi-Fi and make sure the switch is on.
  • 📡 Click on your network name (SSID) in the list of available ones.
  • 📡 Enter your password and click "Connect".
📊 Which interface do you prefer for network configuration?
GNOME (standard Fedora)
Cinnamon
KDE Plasma
Terminal only (CLI)
MATE/XFCE

Sometimes it's useful to set up a metered connection if you're sharing internet from your phone and have limited data. In this mode, the system will postpone background updates and syncing to save you data. This can be done in the specific connection settings.

If automatic connection does not occur, check your date and time settings. Incorrect system time This can lead to certificate errors when connecting to secure networks, especially in the corporate sector. Synchronization via NTP usually occurs immediately after the internet is established, but the initial connection can be difficult.

Connecting via terminal using nmcli

For system administrators and minimalism lovers, an indispensable tool is nmcli (NetworkManager command line interface). This utility allows you to manage network connections without a graphical shell, which is critical when configuring servers or remote access via SSH.

The first thing you need to do is find the name of your wireless device. Enter the command nmcli deviceto see a list of all network interfaces. The device name usually looks like wlp2s0 or wlan0Without knowing the exact device name, further commands may not work.

nmcli device wifi list

This command will display all available networks within range, along with their signals and security status. Find your network (SSID) in the list and copy the name exactly, maintaining proper case. Connection is established by combining the device name, SSID, and password.

⚠️ Note: When entering your password in the terminal, characters will not appear (no asterisks). This is normal Linux security behavior. Enter your password blindly and press Enter.

To connect, use the following structure, replacing the parameters with your own:

nmcli device wifi connect "Network_Name" password "Your_Password" ifname wlan0

If the connection was successful, NetworkManager will save the connection profile and automatically connect to this network in the future. If an error occurs, check if another network manager is running (e.g. wicd or connman), which may conflict with NetworkManager.

Installing drivers and firmware

One of the most common reasons for Wi-Fi not working in Fedora is the lack of proprietary firmware. Although Fedora strives to be a completely open-source OS, some hardware manufacturers (especially Broadcom and Realtek) do not provide open-source drivers, requiring them to be installed separately.

To install such drivers, you need to enable the repository. RPM FusionThis is a third-party, but trusted, package source that contains software not included in the main Fedora repositories for legal reasons. Without this step, installation of many Wi-Fi drivers is impossible.

The process of connecting to the repository and installing drivers is as follows. Make sure you have temporary internet access (via an Ethernet cable or your phone's USB modem), as the packages will need to be downloaded.

sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

After installing the repositories, you need to install the firmware package. Installing a meta-package usually helps. linux-firmware, which may already be installed, but in a stripped-down form, or specific packages for Broadcom.

  • 💾 Update your system: sudo dnf upgrade --refresh.
  • 💾 Install the full set of firmware: sudo dnf install linux-firmware.
  • 💾 For Broadcom: sudo dnf install broadcom-wl-dkms.
  • 💾 For Realtek: building from source via DKMS is often required.

After installing the drivers, be sure to restart your computerThe Linux kernel only loads driver modules at startup, and without a reboot, new firmware files won't be applied. If the network connection appears after a reboot, then the problem was the missing firmware.

Chip manufacturer Fedora/RPMFusion package Support status Difficulty of installation
Intel iwlwifi-firmware (in base) Excellent Low
Realtek rtlwifi-new-dkms Good Average
Broadcom broadcom-wl-dkms Requires RPMFusion High
Qualcomm/Atheros ath10k-firmware Good Low

Diagnosing and resolving connection problems

Even with the correct settings, situations may arise where the connection is unstable or constantly drops. In such cases, a thorough diagnosis is necessary. System logs are your best friend. Use the utility journalctl to view kernel and network service messages in real time.

Team journalctl -f Shows a live log stream. Try connecting to the network while monitoring the output in the terminal. Errors marked in red or containing the words "fail," "error," or "firmware" will indicate the cause of the problem. You may often see messages stating that a driver cannot load a specific file.

Another common cause of problems is address conflicts or incorrect DNS settings. If you're connected to Wi-Fi but pages aren't opening, try pinging an external IP address, such as 8.8.8.8If you can ping but websites don't load, the problem is with your DNS.

⚠️ Note: Interfaces and package names may change with new Fedora versions. If the command doesn't work, check the syntax in the official documentation or man pages for your specific distribution version.

To reset network settings and re-establish the connection, you can use the NetworkManager restart command. This often helps to "shake up" a frozen daemon that has stopped responding.

sudo systemctl restart NetworkManager

It's also worth checking your power saving settings. Laptops often try to conserve battery by disabling Wi-Fi when idle, which can lead to disconnects. You can disable this through the TLP settings or by creating a configuration file for NetworkManager that prevents it from entering sleep mode.

Wireless connection security

Connecting to open Wi-Fi networks in cafes or airports carries the risk of data interception. Fedora has built-in security features, such as using a VPN and properly configuring a firewall. Firewalld — is the standard network security management tool in Fedora.

When connecting to a new network, the system will ask you if you trust the network. Always select a profile for public areas. Public, which makes your computer invisible to other devices on the network and blocks incoming connections. Profile Private or Home should only be used on trusted home networks.

Using a VPN (Virtual Private Network) encrypts all your traffic, making it unreadable to the Wi-Fi hotspot owner. In Fedora, you can configure a VPN (OpenVPN, WireGuard) directly in the system network settings, without installing any additional software.

  • 🔒 Always use the WPA2 or WPA3 encryption protocol.
  • 🔒 Avoid transmitting sensitive data over open networks without a VPN.
  • 🔒 Disable automatic connection to open access points.
  • 🔒 Update your system regularly to patch kernel vulnerabilities.

Checking the current status of the firewall is performed by the command sudo firewall-cmd --state. Make sure it is active (running). If you use specific applications that require open ports, add rules carefully to avoid exposing the system.

☑️ Secure Connection Checklist

Completed: 0 / 4
What should I do if Fedora sees the network but won't connect?

First, check that the password is correct. If it is, try "Forgetting" the network in the settings and reconnecting. Also, check if there is a MAC address restriction on the router. In the logs (journalctl -u NetworkManager) the exact reason for the refusal is often written, for example, "authentication failed" or "no IP address".

Is it possible to share Wi-Fi from Fedora to other devices?

Yes, Fedora can function as a hotspot. In the GNOME GUI, there's an option in the Wi-Fi menu called "Turn On Wi-Fi Hotspot." This will create a new network that other devices can connect to using your laptop's internet connection.

How to save a Wi-Fi password for quick recovery?

Passwords are stored in encrypted form in files along the path /etc/NetworkManager/system-connections/To view the password for a specific network, you can use the command: sudo nmcli -s -g 802-11-wireless-security.psk connection show "Network_Name".