HawaiiMike Wrote:Actually I ought to ask another question. I'm still having problems setting up wireless WPA protection. Anyone have any recent links for setup guides? I was using this one from Ubuntu forums but ran into problems:
http://ubuntuforums.org/showthread.php?t=571188
I've got an RA type wireless card on the REVO and when I get to the command:
sudo ifconfig wlan0 up
I get the following error message:
SIOCSiFFLAGS: Operation not permitted
XBMC Live Wireless Setup
From the XBMCfreak site with some minor modifications.
A few things will be assumed.
1. If you had to compile your adapters driver you did it correctly.
2. You properly inserted the module after you compiled the driver.
3. You did not create and use a wpa_supplicant.conf (not needed)
4. You are using WPA2-PSK [AES] encryption.
Setting up Wifi using XBMC Live
Code:
sudo apt-get install wireless-tools wpasupplicant
The packages installed will allow us to configure wifi and encrypt the password. My network is configured with WPA2-PSK [AES] but the configuration procedure for others kind of networks should be quite the same. After we?ve installed the packages we should be able to encrypt passphares with the following command:
Code:
wpa_passphrase your_essid your_ascii_key
Your_essid should be replaced by the name of the network.
Your_ascii_key should be replaced with the password.
This is just an example:
Code:
wpa_passphrase 'Wireless Home' password100
The result should be:
Code:
network={
ssid="Wireless Home"
#psk="12345678"
psk=fe727aa8b64ac9b3f54c72432da14faed933ea511ecab15bbc6c52e7522f709a
}
Now we have the network and key encrypted we can start adding this information to the interfaces configuration file:
Code:
sudo nano /etc/network/interfaces
Comment out the wired network interface with a # in front of the relevant portion
Code:
# The primary network interface
# auto eth0
# iface eth0 inet dhcp
Add the following lines of code, the wpa-psk line should match the result from wpa_passphrase:
Code:
auto ra0
iface ra0 inet dhcp
wpa-ssid Wireless Home
wpa-driver wext
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk fe727aa8b64ac9b3f54c72432da14faed933ea511ecab15bbc6c52e7522f709a
Now we should restart the networking services:
Code:
sudo /etc/init.d/networking restart
By typing ifconfig we can validate that we?re connected to the network.
In this tutorial I?m using WPA2-PSK [AES] encryption.
By typing iwconfig you can see the details of the wileless adapter