2010-01-09, 00:35
Im trying desperately to avoid bloating my new 330HT by installing Windows or Ubuntu with full blown GUI however after 3 days of reading and experimenting I have almost given up. Here is what I have so far.
When I boot up the box, there is no wifi connection however I can get it working but it requires me doing the following each time and its getting a little bit annoying!
Once done, i can then switch back to the XBMC UI (Ctrl Alt F7) and it works, I can browse my Windows 7 shares, play mp3s and movies etc.
To get the above to run I have added the following to the /etc/network/interfaces file
#Wireless Connection
auto wlan0
iface wlan0 inet dhcp
Previous to this I have also created the conf file with wpa_passphrase ssidname mykey > /etc/wpa_supplicant/wpa.conf but then you already knew that after reading the commands above anyway!
Initially I was trying to put all the settings for the connection in /etc/network/interfaces for wpa including the encryption key etc but I could never get the DHCP broadcast to get an answer.
If it helps I am using SkyBroadbands Sagem router which utilises WPA (not WPA2) and WirelessG.
If anyone can help me change the config in some way so that the wlan auto connects on reboot that would be great.
Cheers!
When I boot up the box, there is no wifi connection however I can get it working but it requires me doing the following each time and its getting a little bit annoying!
- Switch to terminal (CTRL ALT F1)
- Login with xbmc account
- run sudo iwlist wlan0 scan
- run sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa.conf -B
- run dhclient wlan0 -r
- run dhclient wlan0
Once done, i can then switch back to the XBMC UI (Ctrl Alt F7) and it works, I can browse my Windows 7 shares, play mp3s and movies etc.
To get the above to run I have added the following to the /etc/network/interfaces file
#Wireless Connection
auto wlan0
iface wlan0 inet dhcp
Previous to this I have also created the conf file with wpa_passphrase ssidname mykey > /etc/wpa_supplicant/wpa.conf but then you already knew that after reading the commands above anyway!
Initially I was trying to put all the settings for the connection in /etc/network/interfaces for wpa including the encryption key etc but I could never get the DHCP broadcast to get an answer.
If it helps I am using SkyBroadbands Sagem router which utilises WPA (not WPA2) and WirelessG.
If anyone can help me change the config in some way so that the wlan auto connects on reboot that would be great.
Cheers!