Ubuntu – How to fix errors installing D-Link DWA-121 wireless driver tarball

driversmakewireless

I tried the following instructions as given on D-Link's website to install the necessary drivers:

Supported OS and kernel version : LINUX (kernel 2.6.18 ~ 2.6.37)

tar zxvf rtl8192CU_linux_v2.0.1406.20110309.tar.gz
cd rtl8192CU_linux_v2.0.1406.20110309
make
su
make install
reboot

But I get errors when I run make. How to deal the error?

Best Answer

It appears your device is supported in newer releases of the Linux kernel. Ubuntu provides a package with 'backports' of this. This is fairly the same as the answer of chili555, but without downloading from a 3rd party website (potentially untrusted and unsafe) and without the need to compile.

Just do:

sudo apt-get install linux-backports-modules-cw-3.6-precise-generic

and reboot.

You would have come to this step also when following my guide: