Connecting to WPA(2) using wpa_supplicant and atheros chipset -- ubuntu

4,931 views
Skip to first unread message

Alvin Mites

unread,
Sep 26, 2013, 11:54:39 PM9/26/13
to beagl...@googlegroups.com
Been hacking at this all day, it's also the 3rd card so I got a few more already invested but not giving up this time

I have a TP LINK TL-WN722N with atheros chipset AR9271
I have a beaglebone black running ubuntu 13.04 arm

I've followed upwards of a dozen different tutorials with a number of links below to different references

I can connect to a wireless router with security disabled using iwconfig

I cannot connect to anything with WPA 1 or 2

wpa_supplicant.conf looks like

network={
        proto=WPA2
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP
        ssid="MYSSID"
        #psk="supersecretpassword"
        psk=f2b34bb6b0e3ec1747325fac94ce0476a30911e08cf582df472d5df76e51dcad
}


so when I run

# wpa_supplicant -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf

I get


ioctl[SIOCSIWENCODEEXT]: Invalid argument

ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWSCAN]: Device or resource busy
wlan0: Failed to initiate AP scan
wlan0: Trying to associate with 00:00:00:00:00:00 (SSID='MYSSID' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
ioctl[SIOCSIWESSID]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
wlan0: WPA: Could not verify EAPOL-Key MIC - dropping packet
wlan0: Authentication with 00:00:00:00:00:00 timed out.

any ideas?

tried a number of variations of the above, can copy & paste from history if it will be useful



-------------------
|  reference  |
-------------------

     tutorials
          good reference for long term setup
          general reference for wireless command line in ubuntu
          

     forum posts
          worked through wpa_supplicant issues
          suggestions for auto-setup
          

wifi hotspot

Marcus Diogo

unread,
Sep 27, 2013, 8:09:40 AM9/27/13
to beagl...@googlegroups.com
hi Alvin,

on my /etc/network/interfaces i have
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf

on my wpa_supplicant.conf i have

network={

ssid="your ssid"
psk="your pass"
priority=10  # only use if you need to have one or more wifi


restart or

ifdown wlan0
ifup wlan0

if is working.

please let me know if works for you. i did some other thinks but i dont know if it was necessary


2013/9/27 Alvin Mites <al...@mitesdesign.com>

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Marcus de Vasconcelos Diogo da Silva

"Uma montanha até um cego consegue desviar,mas é nas pedras menores que nós muitas vezes tropeçamos e caimos!"

Marcus Diogo

unread,
Sep 27, 2013, 8:23:25 AM9/27/13
to beagl...@googlegroups.com
but if you would like to use wlan as start your interface and wpa_supplicant.conf must be ok.


2013/9/27 Marcus Diogo <mvdi...@gmail.com>
Reply all
Reply to author
Forward
0 new messages