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