[Voyage-linux] Connecting to an AP with Atheros card and WPA2
Kim-man 'Punky' TSE
(spam-protected)
Fri Jul 2 09:19:41 HKT 2010
Hi Jakub,
Try in the simple one first, in /etc/wpa_supplicant/wpa_supplicant.conf:
network={
ssid="my_AP_ssid"
psk=my_key_generated_by_wpa_passphrase
proto=RSN
}
My console always has "ath0: unknown SIOCSIWAUTH flag 12 " has this
printed out, but should consider no harm at this moment.
- Punky
On 7/1/2010 4:06 AM, Jakub Velimsky wrote:
>
> Hi,
>
> this is a beginner's question, so please be patient with me. I am
> using Voyage linux 0.6.5 on an Alix.3 board with an Atheros card. I'd
> like to simply connect to my home AP (an Asus wireles router) with
> WPA2. Here follows some relevant info:
>
> lspci -v:
> Ethernet controller: Atheros Communications Inc. AR5413 802.11abg NIC ()
> Subsystem: Wistron NeWeb Corp. DCMA-82 High Power WLAN
> 802.11a/b/g mini)
> Flags: bus master, medium devsel, latency 96, IRQ 9
> Memory at e0040000 (32-bit, non-prefetchable) [size=64K]
> Capabilities: [44] Power Management version 2
> Kernel driver in use: ath_pci
> Kernel modules: ath5k, ath_pci
>
> /etc/network/interfaces:
> auto ath0
> iface ath0 inet dhcp
> madwifi-base wifi0
> wireless-mode managed
> wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
>
> /etc/wpa_supplicant/wpa_supplicant.conf:
> network={
> ssid="my_AP_ssid"
> psk=my_key_generated_by_wpa_passphrase
> proto=RSN
> key_mgmt=WPA-PSK
> pairwise=CCMP TKIP
> group=CCMP TKIP
> }
>
> lsmod | grep ath:
> ath_rate_minstrel 11812 1
> ath_pci 185244 0
> wlan 184544 4 wlan_scan_sta,ath_rate_minstrel,ath_pci
> ath_hal 320500 3 ath_rate_minstrel,ath_pci
>
> I am getting only repeated message on the serial console and in
> /var/log/messages:
> ath0: unknown SIOCSIWAUTH flag 12
> and no connection to the AP. What am I doing wrong?
>
> Thanks for any help,
>
> Jakub
>
> --------- Jakub VELIMSKY ---------
> http://geo.mff.cuni.cz/~velimsky/
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
More information about the Voyage-linux
mailing list