I am working on beaglebone black trying to integrate TP link TL-WN721N Wifi dongle which uses atheros driver. I am using linux 3.2 kernel with ti-sitara rootfs
The problem is when is type the command
wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
it shows Successfully initialised wpa_supplicant
but it gets stuck there and i have to give ctrl+c to exit from that ,after that i gave
ifup wlan0
the response was
Sending discover...
Sending discover...
Sending discover...
No lease, failing
after this I repeated the step for wpa_supplicant this time also it gets stuck and when I gave
ifup wlan0
this time it got the IP and was able to ping..........
This cycles were seemed to repeat when I tried connecting any-other wifi networks ie: wpa_supplicant gets stuck two times and on the second attempt of ifup wlan0 only i will be able to get IP
here is my /etc/wpa_supplicat.conf file
network={
ssid="UTStarcom" #psk="123force" psk=44d83e5c96bd39f47b54625d80b80c79d5b14430d424fdf6636365901b01ab14
}
and my /etc/network/interfaces
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.2.30 netmask 255.255.255.0 gateway 192.168.2.1 allow-hotplug wlan0 auto wlan0 iface wlan0 inet dhcp wpa-driver wext wpa-conf /etc/wpa_supplicant.conf
Can you suggest any solutions for this isuue?