Building an ION powered Home Theatre PC with XBMC 10.0
Configuring Wi-Fi
This page is specific to the Zotac ION range of motherboards. Other motherboards may be configured differently.
Warning: this is a difficult module. In our experience Wi-Fi doesn't handle HD video very well.
Requirements:
You must have installed XBMC Live to your local disk for this module to work.
Your XBMC system needs an Internet connection.
Instructions:
1. Open a command line shell
2. Double check that you have wpasupplicant installed by typing the following commands:
sudo apt-get update
If you are prompted for a password use the one you set up during your xbmc installation.

sudo apt-get install wpasupplicant

type y and press enter here

You may already find that wpasupplicant is already installed. If not, this command will install it.
sudo su -
(The $ prompt should change to a #, drive carefully from here on in!)
Now you need to enter your Wi-Fi network parameters into the configuration file. Thankfully there is a small tool to do this for you.
Replace myHomeNetwork with your Wi-Fi network's name (SSID) and replace mySecretPassword with your Wi-Fi password.
Your SSID and password are both case-sensitive.
wpa_passphrase myHomeNetwork mySecretPassword > /etc/wpa_supplicant.conf
Now you need to tell the Wi-Fi drivers that you want to use WPA (this guide assumes your using WPA on your home network, if your not then why not?). Type this command to edit the wpa_supplicant.conf file:
nano /etc/wpa_supplicant.conf

You file should look something like this:
network={
ssid="myHomeNetwork"
#psk="mySecretPassword"
psk=be0fc44e1e70e7a1cfc085ec1db8...
}
The long string is an encrypted version of your password.

Now edit the file. You need to add the parts highlighted in bold below:
Change it to look like:
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="myHomeNetwork"
#psk="mySecretPassword"
psk=be0fc44e1e70e7a1cfc085ec1db8...
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
}

Now press the Control & X keys together, followed by the Y key and then press Enter to save the updated file.
Just one more file to edit and we are done! Edit the /etc/network/interfaces file with the following command:
nano /etc/network/interfaces

Your file should look like this:

Add this text above the line "# The loopback network interface"
auto wlan0
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

Now press the Control & X keys together, followed by the Y key and then press Enter to save the updated file.
We are all done. To test your Wi-Fi connectivity remove your Ethernet (cable network) connector from the back of your system. Make sure your Wi-Fi aerial is in the back of your system! Now reboot your system and you should be wire-free. Once rebooted why not check your IP address?

*Your cabled connection will always take priority - your Wi-Fi connection will only be used when the cable is not inserted.
*Advert* Zotac ION Boards and Bundles! *Advert* In stock at the Mini-ITX.com Online Store. We serve the UK, Europe, USA and beyond. Order before 7.00PM GMT and we'll ship same day! |
|
|