D-Link DWA-140 and xubuntu - HOWTO

A friend of mine bought a new usb wifi dongle, but was not exactly plug and play.

A quick lsusb shows the following:

Bus 001 Device 005: ID 2001:3c15 D-Link Corp.

Not much to go on, but still something. A google search later, and we know that the adapter is using an Ralink chipset.

To get it to work, do the following, first you must get the driver. Go to this site and fill in your name and email address (they are not verified).

Then, open a terminal and navigate to where the downloaded driver is. Now, to unpack it:

bunzip2 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.bz2
tar xf 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO
cd 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/

Now, we need some programs and header files, so that we can compile the driver

sudo apt-get install build-essential linux-headers-$(uname -r)

Let us make sure the driver support wpa_supplicant and Network Manager

sed -i 's/HAS_WPA_SUPPLICANT=n/HAS_WPA_SUPPLICANT=y/' os/linux/config.mk

And now, we compile and install the driver.

sudo make
sudo make install

Plug in your D-Link dongle and check out the wifi connectivity! :-)

Written by Jannich Brendle fre 19 oktober 2012 In How to

tags: compilingdriverkubuntuplug and prayubuntukernel module

Related posts