我在使用 ath9k 时遇到无线连接问题,无法连接到任何无线网络。我可以在 Windows 8.1 上顺利连接到无线网络,但在使用 ubuntu gnome 时却没有成功。
任何帮助都值得感激。
操作系统:Ubuntu Gnome 13.10
到目前为止已尝试过的:
sudo modprobe -r ath9k
sudo modprobe ath9k nohwcrypt=1
sudo modprobe -r brcmsmac
echo "blacklist brcmsmac" | sudo tee -a /etc/modprobe.d/blacklist.conf
无线网卡:TP Link TL-WDN3800
*************** info trace ***************
***** uname -a *****
Linux jamie 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
***** lsb_release *****
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
***** lspci *****
03:00.0 Network controller [0280]: Qualcomm Atheros AR93xx Wireless Network Adapter [168c:0030] (rev 01)
Subsystem: Qualcomm Atheros Device [168c:3116]
Kernel driver in use: ath9k
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
Subsystem: Gigabyte Technology Co., Ltd Motherboard [1458:e000]
Kernel driver in use: r8169
***** lsusb *****
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
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:0003 Linux Foundation 3.0 root hub
Bus 004 Device 004: ID 15d9:0a4d Trust International B.V. Optical Mouse
Bus 004 Device 007: ID 413c:2107 Dell Computer Corp.
Bus 004 Device 002: ID 2109:3431
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
***** PCMCIA Card Info *****
***** iwconfig *****
wlan0 IEEE 802.11abgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
***** rfkill *****
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
***** lsmod *****
brcmsmac 562767 0
cordic 12574 1 brcmsmac
brcmutil 15618 1 brcmsmac
bcma 46670 1 brcmsmac
ath9k 151173 0
ath9k_common 13859 1 ath9k
ath9k_hw 444645 2 ath9k_common,ath9k
ath 23827 3 ath9k_common,ath9k,ath9k_hw
mac80211 596969 2 ath9k,brcmsmac
cfg80211 479757 4 ath,ath9k,brcmsmac,mac80211
***** nm-tool *****
NetworkManager Tool
State: disconnected
- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: r8169
State: unavailable
Default: no
HW Address: 94:DE:80:78:51:14
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
- Device: wlan0 ----------------------------------------------------------------
Type: 802.11 WiFi
Driver: ath9k
State: disconnected
Default: no
HW Address: A0:F3:C1:24:C5:87
Capabilities:
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points
BTWiFi-with-FON: Infra, 02:22:69:6B:FF:48, Freq 2437 MHz, Rate 54 Mb/s, Strength 57
BTWiFi: Infra, 02:22:69:6B:FF:4B, Freq 2437 MHz, Rate 54 Mb/s, Strength 65
TalkTalk: Infra, 20:F3:A3:FE:0D:16, Freq 2462 MHz, Rate 54 Mb/s, Strength 82 WPA WPA2
BTHomeHub2-TMW4: Infra, 00:22:69:6B:FF:4A, Freq 2437 MHz, Rate 54 Mb/s, Strength 64 WPA WPA2
virginmedia2978209: Infra, 74:44:01:F3:23:C0, Freq 2462 MHz, Rate 54 Mb/s, Strength 30 WPA WPA2
***** NetworkManager.state *****
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
***** NetworkManager.conf *****
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
***** interfaces *****
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
***** iwlist *****
wlan0 Scan completed :
Cell 01 - Address: 20:F3:A3:FE:0D:16
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=64/70 Signal level=-46 dBm
Encryption key:on
ESSID:"TalkTalk"
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=000000009e93517f
Extra: Last beacon: 1156ms ago
IE: Unknown: 000854616C6B54616C6B
IE: Unknown: 010882848B960C121824
IE: Unknown: 03010B
IE: Unknown: 050400010000
IE: Unknown: 2A0104
IE: Unknown: 32043048606C
IE: Unknown: 2D1A0E181EFF00000000000000000000000000000000000000000000
IE: Unknown: 3D160B070000000000000000000000000000000000000000
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
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: DD1E00904C330E181EFF00000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C340B070000000000000000000000000000000000000000
IE: Unknown: DD0600E04C020160
IE: Unknown: DD0E0050F204104A0001101044000102
Cell 02 - Address: 74:44:01:F3:23:C0
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=24/70 Signal level=-86 dBm
Encryption key:on
ESSID:"virginmedia2978209"
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=0000011cc720019c
Extra: Last beacon: 1172ms ago
IE: Unknown: 001276697267696E6D6564696132393738323039
IE: Unknown: 010882848B962430486C
IE: Unknown: 03010B
IE: Unknown: 050400010000
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: 2D1AFC181BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D160B080400000000000000000000000000000000000000
IE: Unknown: DD180050F204104A00011010440001021049000600372A000120
IE: Unknown: DD090010180203F02C0000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
***** resolv.conf *****
***** blacklist *****
lsmod 的输出 | grep -E 'ath|brcmsmac'
** lsmod | grep -E 'ath|brcmsmac' **
ath9k 151173 0
ath9k_common 13859 1 ath9k
ath9k_hw 444645 2 ath9k_common,ath9k
ath 23827 3 ath9k_common,ath9k,ath9k_hw
mac80211 596969 1 ath9k
cfg80211 479757 3 ath,ath9k,mac80211
dmesg 的输出 | grep -E 'cfg|ath|wlan'
答案1
执行:
sudo modprobe -r brcmsmac
然后尝试连接。这样应该可以了。
如果有效(或者无效)则执行以下操作:
echo "blacklist brcmsmac" | sudo tee -a /etc/modprobe.d/blacklist.conf
然后重新启动。
答案2
尝试使用
rfkill list all
在终端中。它将显示类似以下内容的内容
`0:phy0:无线局域网软阻止:是硬阻止:否 1:hp-wifi:无线局域网软阻止:否硬阻止:否
如果他们中的任何一个回答是,请使用rfkill unblock all
希望这能解决问题