Configuration Qualcomm Atheros AR9285 Wireless

lspci | grep Wireless

04:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

Screenshot at 2016-01-09 00:02:58

next we configure  /etc/network/interface

nano /etc/network/interface

auto lo
iface lo inet loopback

allow-hotplug wlan0
iface wlan0 inet manual
wpa-driver wext
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet dhcp

next we configure network:

nano /etc/wpa_supplicant/wpa_supplicant.conf

update_config=1
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
eapol_version=1

network={
ssid=”NETWORK_NAME
scan_ssid=1
mode=0
proto=WPA2
auth_alg=OPEN
pairwise=CCMP
group=CCMP
key_mgmt=WPA-PSK
psk=”SECRET_PASSWORD
id_str=”win7″
priority=1
}

and we down and up interface

ifdown wlan0

ifup wlan0

ps.

if you got problem when up interface using command ifup, and you see:

Operation not possible due to RF-kill

please use command rfkill to use blocked device.

rfkill list

0: asus-wwan: Wireless WAN
 Soft blocked: no
 Hard blocked: no
1: asus-wimax: WiMAX
 Soft blocked: no
 Hard blocked: no
2: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
3: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

and kill Wireless LAN, using command:

rfkill unblock 3