Kodi Community Forum

Full Version: Setting up Wireless N on ASROCK ION 330HT
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Guys,

I am using XBMC live. Everything is working except wireless connection. Without wireless my HTPC is useless.
Please help me getting my Wireless N setup in my ASROCK 330HT. It has Atheros ar9285 wireless N (150 Mbps). I have wasted 5 days trying to setup. I have taken help of following threads in the forums with no success.

http://forum.xbmc.org/showthread.php?tid=64093
http://forum.xbmc.org/showthread.php?tid=69458
http://forum.xbmc.org/showthread.php?tid=63197
http://www.xbmcfreak.nl/xbmc-artikelen/a...activeren/
http://forum.xbmc.org/showthread.php?p=4...post458129

I will really appreciate if you guys can help me in setting up my wireless N.
Also I am new to Linux/Ubuntu.

My wireless SSID is GOYAL.
Below are the screen shots of my system configuration.


Image

Image

From below screen shot it looks like the wireless driver is not using Wireless N
as maximum bit rate is 54Mb/s. Correct me if I am wrong. Do I need new Linux driver which can support Wirelss N.
Image

Below screen shows various setting I tried to use without any success.
Image


Thanks a lot.
Sad
My accesspoint is also not recognised.
I also use static IP adress settings on a WPA2-TSK network (WIFI "N").

I think it has to do with WPA2-TSK somehow but can not get it working...

Marcel
it worked for me to change all settings related to WPA2 to wpa1 (so ie proto=wpa instead of RSN)
Are you saying you do have a connection, but not at N speeds? I have the same problem, and up until now have been unable to solve it.

You can get a good idea of the real network speed (iwconfig does not always report the right speed):

Try copying a file from the network like this:
rsync --progress <source> <dest>

Also, with wicd-curses you can have a better look at your AP and connection rate.
Hi marcellenz,

Can you please share your steps you did to configure Wireless after installing XBMC live. I try to reinstall XBMC Live and will do exact steps as you did. be I have played so much with this that there is possiblity that I broke something.

Also can you please send the the entries in your /etc/network/interfaces file.

When I use below entries, the systems boots directly to prompt xbmcLive Login command. It does not boot to XBMC.

Code:
auto wlan0
iface wlan0 inet managed
wpa-driver wext
wpa-ssid "GOYAL"
wpa-ap-scan 3
wpa-proto WPA
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk "eceec9597d87d2f1bdc5c532a376081faf1af86e301a3a4b4885927e530607a2"
When I comment above entries and use below enteries, I get XBMC but now wireless.

Code:
auto wlan0
iface wlan0 inet dhcp
wireless-essid "GOYAL"
wireless-key "3027XXXX6216"
wireless-channel 3
wireless-mode managed


I will appreciate if you can share your steps and entries in your /etc/network/interfaces file.

Thanks a lot.
I use WPA2-TKIP protecttion for my wireless network. However, some settings I adjusted to WPA1-TKIP because of some post that suggested that some interface drivers work better with WPA1-TKIP setting eventhough the router is set to WPA2-TKIP

Further I use a static IP adress, with visible SSID from the router.


I followed:

http://www.mini-itx.com/projects/xbmc-ion/module/8 but with the changes as below:

This is my /etc/network/Interfaces file:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# Wireless
auto wlan0
iface wlan0 inet static
address 192.168.1.108
gateway 192.168.1.1
dns-nameservers 192.168.1.1
netmask 255.255.255.0
wpa-driver wext
wpa-ssid linksysmvn
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk de75de5e606041cc30c51f0d208b152396a6c5529d00968e24a658a24f1dedf7



And this is my : etc/ wpa_supplicant.conf file:



ctrl_interface=/var/run/wpa_supplicant

network={
ssid="linksysmvn"
psk="mypskword"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
}



Bear in mind I am a complete LINUX NOOB so can not explain anything of the above,but for me it works.....

Good Luck!

Marcel
Thanks marcellenz for sharing your config. I will try it and let you know.
Ok im not sure if this helps but on my Ion 330 with AR9285 (running as an Access-Point via hostapd) I have got hostapd configured and running at 150. Its only been running for about 20 minutes so far but its a start.

Basically I followed this guys setup http://blog.bokhorst.biz/3395/computers-...ess-point/

and my hostapd config is as follows:
Code:
interface=wlan0
#bridge=br0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=KILLER_ASROCK_330
[u][b]ieee80211n=1
ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][MAX-AMSDU-3839][/b][/u]
hw_mode=g
channel=1
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=1
accept_mac_file=/etc/hostapd/hostapd.accept
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=<<<password>>
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP[u] [b]CCMP[/b][/u]

The bits above and highlighted in bold & underline is all that I needed to change to get wireless N connections.

I am running Ubuntu 9.10 kernel 2.6.17

As i said i dont know if this helps you guys..
had the same problems on a Asus EB1501 using the same chipset. I just wanted to get a clean WPA2 (N), DHCP driven WiFi connection on a public broadcasted network but it seemed like a miracle to me. I wrote down the steps i took to get it working stable:

http://wiki.xbmc.org/index.php?title=Tal..._with_WPA2

Maybe you can see some similarities you did not try.
Did you manage to work this out? I have got my wifi working, but the transfer/internet speeds are extremely low.
wifi easily setup in linux on asrock HT, at least with LiveDharma.
http://forum.xbmc.org/showthread.php?tid...=easy+wifi

You can validate the HW by booting a Ubuntu desktop live CD, it should connect as soon as you click on the network manager and select net.
Quote:speeds are extremely low.

This is perhaps unrelated to wifi. Have you checked how the wired connection is working? There is a known problem in this version of ubuntu...where the system is tricked to believing IPv6 is available. I guess it depends on what router is used. I have this prob with my linked in router.
You can try the latest compat wireless drivers for an improvement.

I believe its the athk9 driver for that card.

http://ubuntuforums.org/showthread.php?p...ost8376514