How to Set Up WiFi on Arch Linux After Installation

Avatar photo

Karoline

Setting up WiFi on Arch Linux after installation can be challenging for new users because Arch does not include automatic network management by default. Unlike distributions such as Ubuntu, Arch requires manual configuration or installation of network management tools.

Whether your system uses a wired connection or a wireless adapter, you can enable WiFi using command-line utilities or graphical tools, depending on your setup. This guide explains how to connect Arch Linux to WiFi after installation.

Check Network Hardware

Before configuring WiFi, ensure your system recognizes the wireless hardware.

  • List Network Devices
ip link

This command shows all network interfaces. Typically, wireless interfaces are named wlan0, wlp2s0, or similar.

  • Check for WiFi Adapter Drivers
    If no wireless interface appears, make sure the correct drivers are installed. For example, many Intel adapters use the iwlwifi driver:
lspci -k

Verify that the driver is loaded and associated with your wireless card.

Hardware detection is essential before attempting to connect to a WiFi network. If the adapter is not detected, network configuration will fail.

Install Network Utilities

Arch Linux does not enable network management by default. You can use either iwctl (from iwd) or NetworkManager for managing WiFi connections.

  • Option 1: iwd (lightweight WiFi daemon)
pacman -S iwd
systemctl enable --now iwd
  • Option 2: NetworkManager (recommended for desktop users)
pacman -S networkmanager
systemctl enable --now NetworkManager

Both tools allow you to scan for networks and connect, but NetworkManager provides a graphical interface through applets for desktop environments.

Connect Using iwd

To connect with iwd, use the iwctl command:

iwctl

Inside the interactive shell:

  • List Devices
device list
  • Scan for Networks
station wlan0 scan
station wlan0 get-networks
  • Connect to WiFi
station wlan0 connect YOUR_SSID
  • Exit
exit

After connecting, you can test the internet connection:

ping archlinux.org

Connect Using NetworkManager

NetworkManager is more suitable for desktops with a graphical interface.

  • Command-line Tool: nmcli
nmcli device wifi list
nmcli device wifi connect YOUR_SSID password YOUR_PASSWORD
  • Graphical Interface
    Most desktop environments provide a network applet. Click the network icon, select your WiFi, and enter the password.

NetworkManager handles multiple network connections automatically and is generally easier for ongoing WiFi management.

Enable Automatic Connection

To connect automatically on boot:

  • iwd:

Create a network configuration file under /var/lib/iwd/YOUR_SSID.settings.

  • NetworkManager:

Automatic connection is enabled by default when using nmcli or the GUI.

Automatic connection ensures that the system connects to your preferred WiFi without manual intervention each time.

Troubleshooting

If WiFi does not work:

  • Check dmesg for driver errors
dmesg | grep wlan0
  • Ensure the interface is up
ip link set wlan0 up
  • Verify the service is running
systemctl status NetworkManager
systemctl status iwd

These commands help diagnose hardware or configuration issues preventing a successful connection.

The Bottom Line

Setting up WiFi on Arch Linux after installation requires either manual configuration or installing a network manager. For lightweight setups or servers, iwd it is sufficient. Desktop users benefit from NetworkManager due to its ease of use and GUI integration.

Once configured, Arch Linux can maintain stable WiFi connections and allow users to enjoy both wired and wireless networking reliably. This flexibility aligns with Arch’s philosophy of user control and minimalism.

Karoline

She is a creative and dedicated content writer who loves turning ideas into clear and engaging stories. She writes blog posts and articles that connect with readers. She ensures every piece of content is well-structured and easy to understand. Her writing helps our brand share useful information and build strong relationships with our audience.

Related Articles

Leave a Comment