I have got my wireless going to some degree, seems to timeout when I let the xbmc go to screensaver - not fully investigated yet.
The full description can be found in this post:
http://forum.xbmc.org/showpost.php?p=390...stcount=69
From this thread:
http://forum.xbmc.org/showthread.php?tid=56217
Here is the wireless exert:
Install required applications:
Code:
sudo apt-get install network-manager
sudo apt-get install wireless-tools
Configure files:
I kinda followed this guide,
http://ubuntuforums.org/showthread.php?t=263136, but this is what I did:
1) Open a terminal window and type:
Code:
wpa_passphrase your_ssid your_psk
Note: your_ssid is the name of your wireless network (a.k.a. SSID) and your_psk is the password you want to use to protect your network. (Look below for an example).
2) Now copy the psk string you got as output.
3) Type:
Code:
sudo nano /etc/wpa_supplicant.conf
Then paste this as follow:
Code:
ctrl_interface=/var/run/wpa_supplicant
#ap_scan=2
network={
ssid="your_ssid"
scan_ssid=1
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=your_psk
}
Note: your_psk is the psk string you got from step 1.
Here is an example:
Code:
luca@laptop1:~$ wpa_passphrase mywlan thisisthepassword
network={
ssid="mywlan"
#psk="thisisthepassword"
psk=b22ec921c254c73f99b31b76ff876692ecde36839a1f2d92150829e6afcb5515
}
The psk string is what you have to paste into /etc/wpa_supplicant.conf as your_psk. So you'll have something like this:
Code:
ctrl_interface=/var/run/wpa_supplicant
#ap_scan=2
network={
ssid="mywlan"
scan_ssid=1
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=b22ec921c254c73f99b31b76ff876692ecde36839a1f2d92150829e6afcb5515
4) Save the file and close nano.
5) Now we have to make wpa_supplicant load when system boots, so go back to the terminal window and type:
Code:
sudo nano /etc/network/interfaces
6) Add the following lines in the part regarding your wireless card, as in the example below (I removed the W from the guide, didn't like it - not sure what it did anyway):
Code:
pre-up wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
Note: "wlan0" is your wireless device and "wext" is the driver; this is a kind of generic driver, so it should work with most wireless cards. If it doesn't, please try another driver, such as hostap, ndiswrapper, etc.
Here is an example:
Code:
iface wlan0 inet dhcp
wireless-essid my_essid
pre-up wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
Then I had to rebooted with my ethernet disconnected and all was good.
However I still have a couple of issues, HD playback 720p and up, is not smooth - I don't know if this is cause I am playing it on a non-HD TV and it is downscaling? I would appreciate if someone could provide information about specific configuration/drivers for HD playback.
Also I have noted, when the XBMC box is left untouched for some period - like the screensaver time, the wifi seems to shutoff.... any ideas? I will have to investigate more myself.