A friend of mine bought a new usb wifi dongle, but was not exactly plug and play.
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_V184.108.40.206_DPO.bz2 tar xf 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V220.127.116.11_DPO cd 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V18.104.22.168_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 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 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