I have acquired a D-Link DWA-181 USB wifi dongle, for which the Linux driver can be downloaded here: http://support.dlink.ca/ProductInfo.aspx?m=DWA-181
In the release notes, they say that this dongle only supports kernel 3.11~4.15, so I have downgraded my kernel to 4.14.98-v7+ (I can confirm the version using uname -r).
The downloaded driver DWA-181_REVA_DRIVER_LINUX_5.6.1.5\rtl88x2BU_WiFi_linux_v5.6.1.5_33902.20190604_COEX20180928-6a6a folder contains a Makefile. I understand I should be using sudo make followed by sudo install, but when I run sudo make, I get the following output:
Code: Select all
/bin/sh: 1: bc: not found
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/4.14.98-v7+/build M=/home/pi/dlinkUSB/rtl88x2BU_WiFi_linux_v5.6.1.5_33902.20190604_COEX20180928-6a6a modules
make[1]: Entering directory '/lib/modules/4.14.98-v7+/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/lib/modules/4.14.98-v7+/build'
make: *** [Makefile:2245: modules] Error 2
Any help would be appreciated.
Thank you!