Wifi Guide

How to Find Wifi Card Model? Using Terminal Tools

Introduction Whether you are troubleshooting a dropped connection, installing the correct driver, or verifying hardware compatibility before upgrading your operating system, knowing the exact model of your wireless adapter is essential. If you have ever wonder

HowToFixWiFi

Introduction

Whether you are troubleshooting a dropped connection, installing the correct driver, or verifying hardware compatibility before upgrading your operating system, knowing the exact model of your wireless adapter is essential. If you have ever wondered how to find Wifi Card Model? using terminal tools, you are in the right place. The command line offers fast, reliable, and detailed ways to identify your WiFi hardware without installing third-party graphical applications.

This guide walks you through multiple terminal-based methods to uncover your WiFi card model, chipset, driver, and interface details. You will learn how to use built-in Linux utilities such as lspci, lshw, lsusb, iw, and dmesg, as well as how to read hardware information directly from system files. By the end of this article, you will be able to confidently identify any wireless adapter on your system using nothing more than a terminal window.

Table of Contents

Why You Might Need to Know Your WiFi Card Model

There are many practical reasons to identify your wireless network adapter. Understanding your hardware helps you solve problems faster and make informed decisions about your system. Here are some of the most common scenarios:

  • Driver installation and updates: Some WiFi cards require proprietary or out-of-tree drivers. Knowing the exact model ensures you download and install the correct driver.
  • Troubleshooting connectivity issues: When your WiFi drops frequently or fails to connect, identifying the card model helps you search for known issues, firmware bugs, or compatibility problems.
  • System upgrades and compatibility checks: Before upgrading your Linux distribution or kernel, you may want to confirm that your wireless adapter is still supported.
  • Hardware replacement: If you plan to replace or upgrade your WiFi card, you need to know the current model, interface type (PCIe, M.2, or USB), and chipset.
  • Security auditing: Network administrators and security professionals often need to verify hardware capabilities, such as monitor mode or packet injection support, which depend on the chipset.

Regardless of your reason, learning how to find Wifi Card Model? with terminal tools gives you a skill that works across most Linux distributions and even on headless servers.

Before You Begin: Prerequisites and Safety Tips

Most of the commands in this guide are available on popular Linux distributions such as Ubuntu, Debian, Fedora, Arch Linux, and openSUSE. However, a few tools may need to be installed manually. Before you start, keep these points in mind:

  • Open a terminal: You can usually open a terminal with Ctrl + Alt + T or by searching for “Terminal” in your application menu.
  • Use sudo when needed: Some commands require administrative privileges to display complete hardware details. Prefix them with sudo if the output looks incomplete.
  • Install missing tools: If a command is not found, you can install it using your package manager. For example, on Debian-based systems, run sudo apt install lshw inxi.
  • Read-only commands: All the commands covered in this article only read system information. They do not modify your hardware configuration or network settings.

With these basics covered, you are ready to explore the most effective terminal methods for identifying your wireless adapter.

How to Find Wifi Card Model? Using lspci

The lspci command is one of the most common and reliable ways to identify PCI and PCIe devices, including internal WiFi cards. It lists all devices connected to the PCI bus and provides vendor and model information.

Step-by-Step: Using lspci

  1. Open your terminal.
  2. Run the following command to filter for network controllers:
    lspci | grep -i network
  3. Review the output. You will typically see a line that includes the vendor and model of your WiFi card. For example:
    03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
  4. For more detailed information, use the verbose flag:
    sudo lspci -vnn | grep -A 12 -i network

    The -v flag enables verbose output, -nn shows numeric vendor and device IDs, and -A 12 displays the 12 lines following the match so you can see the driver and kernel modules in use.

When to Use lspci

Use lspci when your WiFi card is installed internally via PCIe or M.2 (which typically appears as a PCI device). It is fast, preinstalled on most distributions, and provides enough detail for most troubleshooting tasks.

How to Find Wifi Card Model? Using lshw

The lshw (list hardware) command provides a comprehensive overview of your system’s hardware. When focused on the network class, it can reveal detailed information about your wireless adapter, including the product name, vendor, bus information, logical name, and driver.

Step-by-Step: Using lshw

  1. Install lshw if it is not already available:
    sudo apt install lshw        # Debian/Ubuntu
    sudo dnf install lshw        # Fedora
    sudo pacman -S lshw          # Arch Linux
  2. Run the command with administrative privileges:
    sudo lshw -C network
  3. Look for the wireless entry in the output. A typical result looks like this:
    *-network
         description: Wireless interface
         product: Wi-Fi 6 AX200
         vendor: Intel Corporation
         physical id: 0
         bus info: pci@0000:03:00.0
         logical name: wlan0
         version: 1a
         serial: ab:cd:ef:12:34:56
         width: 64 bits
         clock: 33MHz
         capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
         configuration: broadcast=yes driver=iwlwifi driverversion=6.5.0 firmware=77.0 latency=0
         resources: irq:16 memory:f7c00000-f7c03fff

Using the Short Format

If you prefer a concise summary, you can use the short output format:

sudo lshw -C network -short

This displays a compact table showing the hardware path, device name, class, and description, making it easy to spot your WiFi adapter at a glance.

How to Find Wifi Card Model? Using lsusb for USB Adapters

Not all WiFi adapters are internal PCIe cards. Many laptops and desktops use USB WiFi dongles. If you are trying to figure out how to find Wifi Card Model? for a USB wireless adapter, the lsusb command is the right tool.

Step-by-Step: Using lsusb

  1. Plug in your USB WiFi adapter if it is not already connected.
  2. Run the command:
    lsusb
  3. Scan the output for a wireless-related entry. Look for terms like “Wireless,” “WLAN,” “802.11,” or known WiFi chipset vendors such as Realtek, MediaTek, Atheros, or Ralink. For example:
    Bus 001 Device 004: ID 2357:012d TP-Link Archer T3U [Realtek RTL8812BU]
  4. For more detail, use the verbose option on a specific device:
    lsusb -v -d 2357:012d

    Replace 2357:012d with the vendor and product ID from your output.

A Note on Generic Descriptions

Some USB adapters report generic names like “802.11n WLAN Adapter.” In these cases, the numeric ID (for example, 0bda:b812) is often more useful than the text description. You can search that ID online or compare it against USB device databases to identify the exact chipset.

Using inxi for a Detailed Hardware Overview

The inxi tool is a powerful, user-friendly system information script that presents hardware details in a clean, readable format. It is especially helpful if you want a quick summary of your network devices without parsing verbose output.

Step-by-Step: Using inxi

  1. Install inxi if necessary:
    sudo apt install inxi        # Debian/Ubuntu
    sudo dnf install inxi        # Fedora
    sudo pacman -S inxi          # Arch Linux
  2. Run the network information command:
    inxi -N
  3. For more detailed output, add extra verbosity flags:
    inxi -Nazy

    The flags add advanced details (-a), filter sensitive information (-z), and show extra data (-y and additional verbosity depending on usage).

The output typically shows the device type, driver, speed, and PCI or USB bus information in a single, easy-to-read block. This makes inxi a great choice for beginners and experienced users alike.

Checking WiFi Card Details with iw and iwconfig

While lspci and lshw focus on hardware identification, iw and iwconfig provide information about your wireless interface and its capabilities. These tools are useful when you want to confirm which physical card is associated with a specific network interface.

Using iw

  1. List wireless devices:
    iw dev

    This shows the interface name (such as wlan0), interface type, and MAC address.

  2. Display detailed device information:
    iw list

    This command outputs supported bands, frequencies, encryption capabilities, and other features. While it does not always print the commercial model name, it helps you understand what your hardware can do.

Using iwconfig (Legacy)

The iwconfig command is part of the older wireless-tools package and may not be installed by default on newer distributions. If available, you can run:

iwconfig

It displays basic wireless interface details such as ESSID, mode, frequency, and link quality. For identifying the exact card model, iw and the hardware listing tools described earlier are generally more informative.

Finding WiFi Card Information in /sys and /proc

Linux exposes hardware and driver information through virtual filesystems. If you prefer a low-level approach, you can query the /sys directory directly to find details about your wireless adapter.

Step-by-Step: Using /sys

  1. List wireless interfaces:
    ls /sys/class/net

    Identify your wireless interface (commonly wlan0, wlp3s0, or similar).

  2. Read the device modalias or uevent information:
    cat /sys/class/net/wlan0/device/uevent

    Replace wlan0 with your actual interface name. The output may include the driver, PCI ID, and other identifiers.

  3. Check the driver linked to the interface:
    readlink /sys/class/net/wlan0/device/driver

    This reveals which kernel driver is managing the device.

This method is particularly useful on minimal systems, embedded devices, or recovery environments where higher-level tools may not be installed.

Using dmesg to Identify Your Wireless Adapter

The dmesg command displays kernel ring buffer messages, including hardware detection logs generated during boot or when a device is connected. It can be a valuable resource when other tools do not provide clear results.

Step-by-Step: Using dmesg

  1. Search for WiFi-related kernel messages:
    sudo dmesg | grep -iE 'wlan|wifi|wireless|80211'
  2. Filter by common WiFi driver names if you have a hint:
    sudo dmesg | grep -iE 'iwlwifi|ath9k|ath10k|rtw|mt76|brcm'
  3. Review the output for firmware loading messages, device initialization, and model identifiers. These lines often reveal the chipset family and firmware version, which can help you pinpoint the exact card model.

Because dmesg logs can be long, piping the output through grep is essential. This approach is especially helpful when diagnosing driver or firmware problems.

Comparison of Terminal Tools for Finding Your WiFi Card Model

Each tool has its strengths. The table below compares the most useful terminal commands so you can choose the right one for your situation.

Tool Best For Shows Model Name Shows Driver Usually Preinstalled Requires sudo
lspci Internal PCIe/M.2 WiFi cards Yes (often) Yes (with -v) Yes Sometimes
lshw -C network Detailed hardware overview Yes Yes No Yes
lsusb USB WiFi adapters Yes (varies) No (directly) Yes No
inxi -Nazy Readable summary for all users Yes Yes No No (usually)
iw dev / iw list Interface and capability details Rarely No (directly) Often No
dmesg Driver and firmware diagnostics Sometimes Yes Yes Often
/sys/class/net Low-level system inspection Sometimes Yes Yes No

How to Identify the WiFi Chipset and Driver

Sometimes the commercial product name is less important than the chipset inside the card. Two adapters sold under different brand names may use the same chipset and therefore rely on the same driver. Knowing the chipset can make troubleshooting much easier.

Find the Active Driver

You can identify the driver in use with several commands:

sudo lshw -C network | grep -i 'driver\|configuration'
lspci -nnk | grep -A 3 -i network
readlink /sys/class/net/wlan0/device/driver

Each of these approaches reveals the kernel module responsible for your wireless adapter, such as iwlwifi, ath10k_pci, or rtw88_8822ce.

Find the Chipset Using Vendor and Device IDs

The numeric vendor and device IDs shown by lspci -nn or lsusb are highly reliable identifiers. For example, an ID like [8086:2723] points to a specific Intel wireless chipset. If the text description is unclear, these IDs can help you confirm the exact chipset and find compatible drivers or firmware packages.

Check Loaded Firmware

Firmware issues are a common cause of WiFi problems. To see firmware-related messages, run:

sudo dmesg | grep -i firmware

This can tell you whether the correct firmware file was loaded or if the system failed to find it.

Tips and Best Practices for Managing WiFi Hardware Information

Once you know how to find Wifi Card Model? using terminal tools, a few best practices can help you keep this information useful over time:

  • Save the output for future reference: Redirect command output to a file so you can review it later or share it when asking for help.
    sudo lshw -C network > wifi-info.txt
  • Combine multiple tools: No single command tells the whole story in every situation. Use lspci or lsusb to identify the hardware, lshw to confirm details, and dmesg to diagnose driver or firmware issues.
  • Check both the model and the chipset: The marketed model name and the underlying chipset can differ. The chipset is often the key to finding the right driver.
  • Run commands after plugging in USB adapters: If you are testing a USB WiFi dongle, run lsusb and dmesg shortly after connecting it to capture the most relevant detection messages.
  • Use verbose flags when details are missing: If a basic command gives you only a generic name, try verbose or numeric options such as lspci -vnn or lsusb -v.
  • Document changes after upgrades: Kernel updates can change driver behavior. Keeping a record of your WiFi card model and driver makes it easier to roll back or troubleshoot after an update.

Frequently Asked Questions

What is the quickest command to find my WiFi card model?

For most internal WiFi cards, lspci | grep -i network is the quickest option. For USB adapters, lsusb is usually the fastest way to get the information you need.

Why does my WiFi card show up as an “Unknown device”?

This can happen if your system’s PCI ID database is outdated or if the hardware is very new. Running sudo update-pciids (on systems that support it) and then checking again with lspci may help. The numeric vendor and device IDs can still be used to identify the card.

Can I find my WiFi card model without sudo?

Yes, in many cases. Commands like lspci, lsusb, and iw dev often provide useful information without administrative privileges. However, sudo can reveal additional details, especially with lshw and verbose output modes.

How do I know if my WiFi card is PCIe or USB?

If the card appears in lspci output, it is connected via the PCI bus (including many M.2 cards that are exposed as PCIe devices). If it appears in lsusb output, it is a USB device.

What if I see multiple network devices?

Many systems have both an Ethernet adapter and a WiFi adapter. Look for keywords like “Wireless,” “Wi-Fi,” or “802.11” in the device description. You can also use iw dev to see which interface is specifically a wireless device.

Do these commands work on all Linux distributions?

The core commands such as lspci, lsusb, dmesg, and reading from /sys work on most Linux distributions. Tools like lshw, inxi, and iw may need to be installed, but they are widely available in standard repositories.

Conclusion

Learning how to find Wifi Card Model? using terminal tools is a practical skill that can save you time when installing drivers, fixing connection problems, or verifying hardware compatibility. Commands like lspci and lsusb help you quickly identify the device, lshw and inxi provide rich hardware summaries, and dmesg or /sys give you deeper insight into drivers and firmware.

The best approach is often to start with a quick listing command, then use a more detailed tool to confirm the model, chipset, and active driver. With the methods covered in this guide, you now have a reliable toolkit for identifying virtually any WiFi adapter from the terminal, whether it is an internal PCIe card or an external USB dongle.