Skip to content

Build a driver for the D Link DWA 182 dual band WiFi adapter

Chris edited this page May 8, 2021 · 4 revisions

Cilynx maintains a driver for WiFi adapters that use the Realtek RTL88X2BU chipset, including the D-Link DWA-182. I have tested this driver successfully with my system:

https://github.com/cilynx/rtl88x2bu

You must compile this driver from source in order to use it with your system. I followed these steps to build and install the driver on my system:

Clone the repository

git clone https://github.com/cilynx/rtl88x2bu.git

Install kernel headers

sudo apt install -y raspberrypi-kernel-headers

Install bc

The bc command is used during the build process, to install it:

sudo apt install -y bc

Edit the makefile

The target platform needs to be set:

nano rtl88x2bu/Makefile

Update the two target platform lines:

CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = y

Build the driver:

cd rtl88x2bu
make

Install the driver:

sudo make install

The driver is now installed. Use the modprobe command to load it:

sudo modprobe 88x2bu

The adapter should now appear in the list of network links:

ip link show

If you have already configured your Network Performance Monitor system you can add the new adapter by re-configuring the interfaces. Refer to the page Reconfigure the network interfaces for instructions.

Clone this wiki locally