WPA-Personal AES/TKIP with xbmc-LIVE
#1
Hi guys.

i am such a Unix/linux noob, and have tryied for over a week now to set up my wifi on my asrock ion 330 ht-bd box.

my wifi is now:
WPA-Personal AES - but i can change to TKIP if that is better.

i have serarched several guides, and spended over 30 hours in front of the xbmc-live box - but with out luck.

are some of you guys able to help me out of how to set this up ?.

Thanks in advance.

//Chris
Reply
#2
Do you have wpa-supplicant and wireless tools installed?

whats your /etc/network/interfaces look like?

what does ifconfig say?
Reply
#3
i have just installed wpasupplicant. wireless tools was already installed

i have the following files in /etc/wpa_supplicant/
action_wpa.sh functions.sh ifupdown.sh

do i need to configure something in there ?.

my /etc/networks/interfaces looks like this
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.105
gateway 192.168.1.2
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.1.255

# wireless

auto wlan0
iface wlan0 inet dhcp
wpa-ssid D-LINK
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise AES
wpa-group AES
wpa-key-mgmt WPA-PSK
wpa-psk highpowerg1985


i have added the wireless interface to the interfaces config my self because there were not one to start with. and i have tested it with WEP encryption some time ago. And that worked very fine at that time.



my ifconfig says the following:


eth0 Link encap:Ethernet HWaddr xxxxxxxxxxxxxxxxxx
inet addr:192.168.1.105 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: xxxxxxxxxxxxxxx Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2345 errors:0 dropped:0 overruns:0 frame:0
TX packets:1072 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:804607 (804.6 KB) TX bytes:278738 (278.7 KB)
Interrupt:21 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:960 (960.0 B) TX bytes:960 (960.0 B)

wlan0 Link encap:Ethernet HWaddr xxxxxxxxxxxxxxxx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wmaster0 Link encap:UNSPEC HWaddr xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
UP RUNNING MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)




Thanks
//Chris
Reply
#4
Not an answer to your question, but use WPA2-AES. The old WPA-TKIP is vulnerable since about August last year. And I remember reading it is as vulnerable as the old WEP networks, which can be cracked with just a few packets. I remember reading it on The Register in August last year, which prompted me to change my WPA settings
Reply
#5
I think you need to convert the wpa-psk to a hexadecimal key

You can do this here: http://www.xs4all.nl/~rjoris/wpapsk.html


then do a
sudo /etc/init.d/networking restart
ifconfig
Reply
#6
Why on earth would you trust your WPA key and your SSID to a website?!

Code:
wpa_passphrase [ ssid ] [ passphrase ]
will generate you a hexidecimal key. No websites needed. Check its manual or documentation for pointers.

Chrisministeren: don't post your MAC addresses (HWaddr) online either, they are easily spoofed.
* MikroTik RB5009UG+S+IN :: ZyXEL GS1900-8HP v1 :: EAP615-Wall v1 :: Netgear GS108T v3 running OpenWrt 23.05
* LibreELEC 11:  HTPC Gigabyte Brix GB-BXA8-5545 with CEC adapter, Sony XR-64A84K :: Desktop AMD Ryzen 7 5800X / Sapphire Nitro+ Radeon 6700XT  / 27" Dell U2717D QHD
* Debian Bookworm x86_64: Celeron G1610, NFS/MariaDB/ZFS server
* Blog
Reply
#7
Thanks you - i helped with the HEX key generate. and i have used .:B:. advice and done it that way, and removed my MAC addresses Smile. Thanks for the advices.

but i i also set this:
wpa-driver wext . otherwice i was not able to connect through wireless to the internet.

but i still think this is a bit weird!!.

i cant ping i my wireless interface, only if i have a Ethernet connection established also. What could be wrong here . Some firewall or something ?.

and my wireless is also very slow on the XBMC machine. but fast on all other machine in the house.

Any clues people ? Smile
//Chris
Reply
#8
im so lost people Sad
Reply
#9
Use this
http://www.mini-itx.com/projects/xbmc-ion/module/8
Press THANK USER if I Help
Reply

Logout Mark Read Team Forum Stats Members Help
WPA-Personal AES/TKIP with xbmc-LIVE0