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?
3 Answers
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.
Update:
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.
4This hardware uses a RTL8812BU chipset, according to:
For this chipset, try the following commands:
sudo apt update sudo apt install -y git git clone cd rtl8822bu make sudo make install sudo modprobe 88x2bu 4Update for Ubtunu 18.04 on Kernel 4.15.0-60
works like charm
2