ONLY TESTED ON RASPXBMC
1. - The package firmware-ralink from the Debian Squeeze install doesn't work - it doesn't contain the right firmware.
sudo wget http://ftp.uk.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-ralink_0.28+squeeze1_all.deb
- CODE
sudo dpkg --install firmware-ralink_0.28+squeeze1_all.deb
5. Install package wpasupplicant & usb utils and wireless tools for lsusb and iwconfig
6. Create a config file:
with the following content - dont forget to change the SSID to your wireless network name and the PSK to your wireless password
NOTE: The critical change (for WPA-PSK) I had to make from those advised elsewhere was to change "proto=RSN" to "proto=WPA"
7. Modify the interfaces file:
to use the wpa configuration, like:
8 Then restart the interface:
- CODE
sudo apt-get install wpasupplicant usbutils wireless-tools
6. Create a config file:
- CODE
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
with the following content - dont forget to change the SSID to your wireless network name and the PSK to your wireless password
- CODE
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
network={
ssid="network_id"
psk="password"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
id_str="Nickname"
}
NOTE: The critical change (for WPA-PSK) I had to make from those advised elsewhere was to change "proto=RSN" to "proto=WPA"
7. Modify the interfaces file:
- CODE
sudo nano /etc/network/interfaces
to use the wpa configuration, like:
- CODE
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
8 Then restart the interface:
- CODE
sudo /etc/init.d/networking restart
- CODE
sudo /etc/init.d/networking restart
Cheers for doing all the hard work!!
ReplyDeleteEbay is saturated with the RT5370 chipset Wifi adaptors at low cost but I didn't want to buy without knowing if I could get it to work. So thanks to you, i'm going to buy one of these bad-boys!
Many Thanks
Brad
Thank you very much! I bought a cheap RT5370 on ebay and after spending hours trying to get it going. I found your website and after following your instructions, I had wifi working within minutes!!
ReplyDeleteCheers
Thanks for sharing this, very detailed how to. Any tips on how to configure WPA2-PSK[AES] on wpa_supplicant.conf? (tried a few different configurations without success).
ReplyDeleteCheers
Igor
I was really excited to se that you hade the same chipset issues. I cannot get it to work however.
ReplyDeletenetwork restart gives:
Cannot find device "wlan0"
Bind socket to interface: No such device
Failed to bring up wlan0.
done.
lsusb shows:
Bus 001 Device 007: ID 2001:3c15 D-Link Corp.
dmesg:
generic-usb 0003:2101:8501.0003: hiddev0: USB HID v1.11 Device [Action Star USB HID] on usb-bcm2708_usb-1.2.1/input0
usb 1-1.2.2: new high-speed USB device number 7 using dwc_otg
usb 1-1.2.2: New USB device found, idVendor=2001, idProduct=3c15
usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2.2: Product: 11n Adapter
usb 1-1.2.2: Manufacturer: D-Link
usb 1-1.2.2: SerialNumber: 1.0
bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100k)
bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100k)
Any ideas?
Seems like it is not picking up the correct driver. The card i use is a D-Link DWA-140 rev B3
I can't get mine to work on wheezy. If I install the firmware link above the drivers complain that they don't support the chip set. If I apt-get install firmware-ralink then I don't get complaints. wlan0 is created, but I can activate it.
ReplyDeleteYet to find out what's really wrong.
Richard
cant get mine to detect either I have 3 of these adapters.
ReplyDeletelatest raspbian seems to work now for this
ReplyDeleteThanks!
ReplyDeleteUsing a WiPi dongle from Element14 - worked with Openelec 3.2.2, but not with the latest Raspbian from NOOBS v1.3 :0
Your Blog saved me.