DLINK DWA-171 AC750 Wireless Dual Band USB Adapter Linux Drivers

The Cameo manufactured version of the DLINK DWA-171 is based on a RealTek RTL8821AU and has an USB Vendor ID (VID) of 0x2001 and Product ID (PID) of 0x3314.

To date, the mainline Linux Kernel does not support this device, hence drivers need to be compiled manually.

Download the 4.3.7 version of the driver and compile:

wget http://wiki.beyondlogic.org/downloads/rtl8811AU_linux_v4.3.7_11618.20141029.tar.gz
tar -xzf rtl8811AU_linux_v4.3.7_11618.20141029.tar.gz
cd rtl8811AU_linux_v4.3.7_11618.20141029
make

If you get the following error:

../rtl8811AU_linux_v4.3.7_11618.20141029/core/rtw_debug.c:66:64: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
  DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);

add the following to the Makefile:

EXTRA_CFLAGS += -Wno-error=date-time

and rebuild.

Upon a successful build, you should have the kernel module 8821au.ko. To install the module, use:

sudo insmod 8821au.ko