How do I identify driver to install D-Link DWA-171 Wi-Fi USB Adapter?

How do I identify drivers to install the USB Wi-Fi adapter? Also, do I need to install Linux headers?

I tried:
inxi -Nazy  :heavy_check_mark:
Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter
vendor: Hewlett-Packard driver: rtl8723be v: kernel port: 5000
bus-ID: 08:00.0 chip-ID: 10ec:b723 class-ID: 0280
Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard
driver: r8169 v: kernel port: 4000 bus-ID: 09:00.0 chip-ID: 10ec:8136
class-ID: 0200

   ~  lsusb  :heavy_check_mark:
Bus 001 Device 002: ID 8087:8001 Intel Corp. Integrated Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 0bda:b006 Realtek Semiconductor Corp. Bluetooth Radio
Bus 002 Device 002: ID 04f2:b50d Chicony Electronics Co., Ltd HP Truevision HD
Bus 002 Device 005: ID 2001:331d D-Link Corp. DWA-171
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The device is detected in lsusb command, but I don’t know which drivers to install for it to start working.

Hello @himani :wink:

Sometimes really difficult because you have to search for the chipset and not for the model name…

At least here are hints:

In the Kconfig file of the driver packages, you will find the correct driver name.

Search for it:
Model C:

pamac search RTL8821CU

Model A:

pamac search RTL8821AU

and install the dkms version. Also don’t forget to install the kernel headers before.

1 Like