Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# cat /etc/debian_version 
6.0.4

# uname -r
2.6.32-5-amd64

# lsusb | grep -i Atheros
Bus 002 Device 002: ID 0cf3:7015 Atheros Communications, Inc. TP-Link TL-WN821N v3 802.11n [Atheros AR7010+AR9287]

# dpkg -l | grep -i -E 'wireless|wpa'
ii  firmware-atheros   0.28+squeeze1   Binary firmware for Atheros wireless cards
ii  libiw30            30~pre9-5       Wireless tools - library
ii  wireless-tools     30~pre9-5       Tools for manipulating Linux Wireless Extensions
ii  wpasupplicant      0.6.10-2.1      client support for WPA and WPA2 (IEEE 802.11i)

# lsmod | grep -i ath
ath9k                 249976  0 
mac80211              137372  1 ath9k
ath                     8006  1 ath9k
cfg80211              101496  3 ath9k,mac80211,ath
led_class               2433  1 ath9k

# tail -n 15 /etc/network/interfaces 
allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
  wpa-driver wext
  wpa-ap-scan 1
  wpa-scan-ssid 1
  wpa-ssid iNet
  wpa-psk 966e459c646e20b96c01d13202b1cfb580fb8bdcca20af961364278aa3929d28
  wpa-key-mgmt WPA-PSK
  address 192.168.1.15
  netmask 255.255.255.0
  network 192.168.1.0
  broadcast 192.168.1.255
  gateway 192.168.1.1
  dns-nameservers 8.8.8.8 208.67.222.222

# dmesg | grep -i "usb 3-6"
[    1.529110] usb 3-6: new high speed USB device using ehci_hcd and address 2
[    1.662484] usb 3-6: New USB device found, idVendor=0cf3, idProduct=7015
[    1.662486] usb 3-6: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[    1.662488] usb 3-6: Product: USB WLAN
[    1.662489] usb 3-6: Manufacturer: ATHEROS
[    1.662490] usb 3-6: SerialNumber: 12345
[    1.662539] usb 3-6: configuration #1 chosen from 1 choice

# iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.

pan0      no wireless extensions.

# cat /proc/net/wireless 
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 22

# ifup wlan0
ioctl[SIOCGIFFLAGS]: No such device
Could not get interface 'wlan0' flags
ioctl[SIOCSIWPMKSA]: No such device
ioctl[SIOCSIWMODE]: No such device
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: No such device
ioctl[SIOCGIWMODE]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCSIWESSID]: No such device
ioctl[SIOCGIFINDEX]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCGIWMODE]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCSIWESSID]: No such device
ioctl[SIOCGIFFLAGS]: No such device
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
Failed to bring up wlan0.