A friend of mine bought a new usb wifi dongle, but was not exactly plug
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
Then, open a terminal and navigate to where the downloaded driver is.
Now, to unpack it:
tar xf 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V126.96.36.199_DPO
Now, we need some programs and header files, so that we can compile the
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
sed -i 's/HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n/HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y/' os/linux/config.mk
And now, we compile and install the driver.
sudo make install
Plug in your D-Link dongle and check out the wifi connectivity! :-)