Ahoj, omlouvám se za tu pauzu, nebyl jsem doma. Před přečtením tvé odpovědi jsem ztratil nervy a přeinstaloval na Xubuntu 14.04 LTS. Potom jsem ještě několikrát zkoušel ovladač stažený z TP-LINKu. Nakonec se mi podařil nainstalovat, ale Archer pořád nic ... Tak jsem opět přeinstaloval, opět na 14.04 LTS, a znovu zkusil tvůj kód. Tentokrát vše proběhlo OK, ale Archer mlčí ... Jen podotýkám, že TP-LINK TL WN722N stále bez problémů funguje.
Přikládám "wireless-info.txt".
########## wireless info START ##########
Report from: 20 Jan 2017 17:26 CET +0100
Booted last: 20 Jan 2017 17:11 CET +0100
Script from: 08 Jul 2016 02:16 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
##### kernel ############################
Linux 3.13.0-108-generic #155-Ubuntu SMP Wed Jan 11 16:58:52 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash
##### desktop ###########################
Xubuntu
##### lspci #############################
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 01)
Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
Kernel driver in use: r8169
##### lsusb #############################
Bus 001 Device 008: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 009: ID 148f:761a Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
##### PCMCIA card info ##################
##### rfkill ############################
1: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
##### lsmod #############################
ath9k_htc 95963 0
ath9k_common 13551 1 ath9k_htc
ath9k_hw 453856 2 ath9k_common,ath9k_htc
ath 28698 3 ath9k_common,ath9k_htc,ath9k_hw
mac80211 638901 1 ath9k_htc
cfg80211 496328 4 ath,mac80211,ath9k_htc,mt7610u_sta
##### interfaces ########################
auto lo
iface lo inet loopback
##### ifconfig ##########################
eth0 Link encap:Ethernet HWaddr <MAC 'eth0' [IF1]>
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ra0 Link encap:Ethernet HWaddr <MAC 'ra0' [IF2]>
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:281 errors:0 dropped:0 overruns:0 frame:0
TX packets:783 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:71564 (71.5 KB) TX bytes:81852 (81.8 KB)
wlan0 Link encap:Ethernet HWaddr <MAC 'wlan0' [IF3]>
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::<IP6 'wlan0' [IF3]>/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:255 errors:0 dropped:0 overruns:0 frame:0
TX packets:193 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:99349 (99.3 KB) TX bytes:26404 (26.4 KB)
##### iwconfig ##########################
eth0 no wireless extensions.
lo no wireless extensions.
ra0 Ralink STA ESSID:"" Nickname:"MT7610U_STA"
Mode:Auto Frequency=2.412 GHz Bit Rate=1 Mb/s
RTS thr:off Fragment thr:off
Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
wlan0 IEEE 802.11bgn ESSID:"3pidovikreta"
Mode:Managed Frequency:2.457 GHz Access Point: <MAC '3pidovikreta' [AC2]>
Bit Rate=72.2 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-39 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:3 Missed beacon:0
##### route #############################
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
192.168.0.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
##### resolv.conf #######################
nameserver 127.0.1.1
##### network managers ##################
Installed:
NetworkManager
Running:
root 675 1 0 17:11 ? 00:00:00 NetworkManager
##### NetworkManager info ###############
NetworkManager Tool
State: connected (global)
- Device: wlan0 [3pidovikreta] ------------------------------------------------
Type: 802.11 WiFi
Driver: ath9k_htc
State: connected
Default: yes
HW Address: <MAC 'wlan0' [IF3]>
Capabilities:
Speed: 72 Mb/s
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points (* = current AP)
jenkotor: Infra, <MAC 'jenkotor' [AC5]>, Freq 2462 MHz, Rate 54 Mb/s, Strength 24 WPA
mildanew: Infra, <MAC 'mildanew' [AC4]>, Freq 2457 MHz, Rate 54 Mb/s, Strength 20 WEP
SATnet_Rosice_nadrazi: Infra, <MAC 'SATnet_Rosice_nadrazi' [AN3]>, Freq 2422 MHz, Rate 54 Mb/s, Strength 17
*3pidovikreta: Infra, <MAC '3pidovikreta' [AC2]>, Freq 2457 MHz, Rate 54 Mb/s, Strength 82 WPA WPA2
RosBaNov: Infra, <MAC 'RosBaNov' [AC3]>, Freq 2427 MHz, Rate 11 Mb/s, Strength 27 WEP
mildanew2: Infra, <MAC 'mildanew2' [AC1]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 17 WEP
IPv4 Settings:
Address: 192.168.0.100
Prefix: 24 (255.255.255.0)
Gateway: 192.168.0.1
DNS: 192.168.0.1
- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: r8169
State: unavailable
Default: no
HW Address: <MAC 'eth0' [IF1]>
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
##### NetworkManager.state ##############
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
##### NetworkManager.conf ###############
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
no-auto-default=<MAC 'eth0' [IF1]>,
[ifupdown]
managed=false
##### NetworkManager profiles ###########
[[/etc/NetworkManager/system-connections/3pidovikreta]] (600 root)
[connection] id=3pidovikreta | type=802-11-wireless
[802-11-wireless] ssid=3pidovikreta
[ipv4] method=auto
[ipv6] method=auto
##### iw reg get ########################
Region: Europe/Prague (based on set time zone)
country 00:
(2402 - 2472 @ 40), (3, 20)
(2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
##### iwlist channels ###################
eth0 no frequency information.
lo no frequency information.
ra0 40 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 14 : 2.484 GHz
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 100 : 5.5 GHz
Channel 104 : 5.52 GHz
Channel 108 : 5.54 GHz
Channel 112 : 5.56 GHz
Channel 116 : 5.58 GHz
Channel 120 : 5.6 GHz
Channel 124 : 5.62 GHz
Channel 128 : 5.64 GHz
Channel 132 : 5.66 GHz
Channel 136 : 5.68 GHz
Current Frequency:2.412 GHz (Channel 1)
wlan0 13 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Current Frequency:2.457 GHz (Channel 10)
##### iwlist scan #######################
eth0 Interface doesn't support scanning.
lo Interface doesn't support scanning.
Channel occupancy:
1 APs on Frequency:2.412 GHz (Channel 1)
2 APs on Frequency:2.427 GHz (Channel 4)
4 APs on Frequency:2.457 GHz (Channel 10)
2 APs on Frequency:2.462 GHz (Channel 11)
1 APs on Frequency:5.24 GHz (Channel 48)
ra0 Scan completed :
Cell 01 - Address: <MAC 'mildanew2' [AC1]>
Protocol:802.11b/g
ESSID:"mildanew2"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality=24/100 Signal level=-80 dBm Noise level=-81 dBm
Encryption key:on
Bit Rates:54 Mb/s
Cell 02 - Address: <MAC '3pidovikreta' [AC2]>
Protocol:802.11b/g/n
ESSID:"3pidovikreta"
Mode:Managed
Frequency:2.457 GHz (Channel 10)
Quality=100/100 Signal level=-48 dBm Noise level=-92 dBm
Encryption key:on
Bit Rates:54 Mb/s
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
Cell 03 - Address: <MAC 'RosBaNov' [AC3]>
Protocol:802.11b
ESSID:"RosBaNov"
Mode:Managed
Frequency:2.427 GHz (Channel 4)
Quality=24/100 Signal level=-80 dBm Noise level=-84 dBm
Encryption key:on
Bit Rates:11 Mb/s
Cell 04 - Address: <MAC 'mildanew' [AC4]>
Protocol:802.11b/g
ESSID:"mildanew"
Mode:Managed
Frequency:2.457 GHz (Channel 10)
Quality=20/100 Signal level=-82 dBm Noise level=-86 dBm
Encryption key:on
Bit Rates:54 Mb/s
Cell 05 - Address: <MAC 'jenkotor' [AC5]>
Protocol:802.11b/g/n
ESSID:"jenkotor"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality=29/100 Signal level=-78 dBm Noise level=-73 dBm
Encryption key:on
Bit Rates:57.5 Mb/s
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 06 - Address: <MAC '3pidovikreta' [AC6]>
Protocol:802.11a/n
ESSID:"3pidovikreta"
Mode:Managed
Frequency:5.24 GHz (Channel 48)
Quality=100/100 Signal level=-49 dBm Noise level=-92 dBm
Encryption key:on
Bit Rates:120 Mb/s
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
wlan0 Scan completed :
Cell 01 - Address: <MAC '3pidovikreta' [AC2]>
Channel:10
Frequency:2.457 GHz (Channel 10)
Quality=66/70 Signal level=-44 dBm
Encryption key:on
ESSID:"3pidovikreta"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000069cb53a099
Extra: Last beacon: 228ms ago
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
Cell 02 - Address: <MAC 'mildanew' [AC4]>
Channel:10
Frequency:2.457 GHz (Channel 10)
Quality=20/70 Signal level=-90 dBm
Encryption key:on
ESSID:"mildanew"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000072725d32bc
Extra: Last beacon: 308ms ago
Cell 03 - Address: <MAC 'jenkotor' [AC5]>
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=24/70 Signal level=-86 dBm
Encryption key:on
ESSID:"jenkotor"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=000000037472c997
Extra: Last beacon: 796ms ago
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 04 - Address: <MAC 'RosBaNov' [AC3]>
Channel:4
Frequency:2.427 GHz (Channel 4)
Quality=28/70 Signal level=-82 dBm
Encryption key:on
ESSID:"RosBaNov"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Mode:Master
Extra:tsf=000000726fe1530e
Extra: Last beacon: 5068ms ago
##### module infos ######################
[ath9k_htc]
filename: /lib/modules/3.13.0-108-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
firmware: htc_9271.fw
firmware: htc_7010.fw
description: Atheros driver 802.11n HTC based wireless devices
license: Dual BSD/GPL
author: Atheros Communications
srcversion: B5A275153628C1C5AC6C72B
depends: ath9k_hw,ath9k_common,mac80211,ath,cfg80211
intree: Y
vermagic: 3.13.0-108-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 13:29:69:42:4A:66:8F:47:81:B0:45:73:27:1F:4C:C7:80:C7:6B:A4
sig_hashalgo: sha512
parm: debug:Debugging mask (uint)
parm: nohwcrypt:Disable hardware encryption (int)
parm: btcoex_enable:Enable wifi-BT coexistence (int)
parm: ps_enable:Enable WLAN PowerSave (int)
[ath9k_common]
filename: /lib/modules/3.13.0-108-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
license: Dual BSD/GPL
description: Shared library for Atheros wireless 802.11n LAN cards.
author: Atheros Communications
srcversion: 93644B269B570BC55CF5154
depends: ath,ath9k_hw
intree: Y
vermagic: 3.13.0-108-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 13:29:69:42:4A:66:8F:47:81:B0:45:73:27:1F:4C:C7:80:C7:6B:A4
sig_hashalgo: sha512
[ath9k_hw]
filename: /lib/modules/3.13.0-108-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: 4D7E3FBEBDFF649364222B3
depends: ath
intree: Y
vermagic: 3.13.0-108-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 13:29:69:42:4A:66:8F:47:81:B0:45:73:27:1F:4C:C7:80:C7:6B:A4
sig_hashalgo: sha512
[ath]
filename: /lib/modules/3.13.0-108-generic/kernel/drivers/net/wireless/ath/ath.ko
license: Dual BSD/GPL
description: Shared library for Atheros wireless LAN cards.
author: Atheros Communications
srcversion: 88A67C5359B02C5A710AFCF
depends: cfg80211
intree: Y
vermagic: 3.13.0-108-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 13:29:69:42:4A:66:8F:47:81:B0:45:73:27:1F:4C:C7:80:C7:6B:A4
sig_hashalgo: sha512
[mac80211]
filename: /lib/modules/3.13.0-108-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: C31A92A72ADA65F2F8247FB
depends: cfg80211
intree: Y
vermagic: 3.13.0-108-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 13:29:69:42:4A:66:8F:47:81:B0:45:73:27:1F:4C:C7:80:C7:6B:A4
sig_hashalgo: sha512
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)
[cfg80211]
filename: /lib/modules/3.13.0-108-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 0055529745EF9A8A3E57FC3
depends:
intree: Y
vermagic: 3.13.0-108-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 13:29:69:42:4A:66:8F:47:81:B0:45:73:27:1F:4C:C7:80:C7:6B:A4
sig_hashalgo: sha512
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)
##### module parameters #################
[ath9k_htc]
btcoex_enable: 0
nohwcrypt: 0
ps_enable: 0
[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500
[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00
##### /etc/modules ######################
lp
rtc
##### modprobe options ##################
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en
##### rc.local ##########################
exit 0
##### pm-utils ##########################
##### udev rules ########################
[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF1]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# USB device 0x:0x (ath9k_htc)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan0' [IF3]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
##### dmesg #############################
[ 839.556025] <==== rt28xx_init, Status=0
[ 839.860391] rtusb init rt2870 --->
########## wireless info END ############