I recently bought a D-Link DWA-182 Revision D1. The label says 'H/W Ver.:D1 F/W Ver.:4.00'. Unfortunately, the Linux Kernel does not ship the required driver. How can I get the wlan stick working?
D-Link provides a driver compatible with Linux 4.9 and older on its website:
There one can download the driver for Rev. D. In the archive there is a subfolder named "driver" which contains the code for the linux kernel module. Provided the necessary dependencies, the module can be compiled by invoking make. For convenience, I created a Github repository containing just the driver and brief build instructions:
Unfortunately, the driver is not compatible with Kernel 4.16. I did not try any Kernel inbetween 4.9 and 4.16.
I patched out all the compile issues when using Linux 4.16. Using the master branch of the aforementioned GitHub repo, one can build a working kernel module. I did not perform extensive testing, but I am uploading this update using the DWA-182 on Linux 4.16. Many thanks to all the open source projects whose patches I used.
This hardware uses a RTL8812BU chipset, according to: https://wikidevi.com/wiki/D-Link_DWA-182_rev_D1
For this chipset, try the following commands:
sudo apt update sudo apt install -y git git clone https://github.com/EntropicEffect/rtl8822bu.git cd rtl8822bu make sudo make install sudo modprobe 88x2bu
Update for Ubtunu 18.04 on Kernel 4.15.0-60
works like charm