我无法使用 Xubuntu 16.04 连接到我的 wifi 网络。我使用 Acer Aspire E5-573-54HH 和 Qualcomm Atheros QCA9377 无线网络适配器。我尝试使用网络管理器连接,但它反复要求输入密码。所以我尝试了 Wicd。当我尝试连接时,我收到密码错误的错误消息。直到昨天,我在这台笔记本电脑上安装了 Windows 10,它运行良好。我如何获取更多信息并解决此问题?
直到 Ubuntu 15.10,WiFi 适配器和固件都存在问题。用户必须手动安装。使用 Ubuntu 16.04 时应该直接安装,这样我就可以找到我的网络,并查看通道和安全设置等属性,但我无法连接。即使我将安全性设置为无并尝试连接,我也可以在 Wicd 中看到有一个不安全的网络并且密码错误。很奇怪。
最后我尝试了 Edimax Wifi USB Stick(带网络管理器),它工作正常。但我更喜欢使用我的实习生 wifi 卡。
$ iwconfig
wlp3s0 IEEE 802.11abgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
enp2s0 no wireless extensions.
lo no wireless extensions.
wlx801f02e4a8fd IEEE 802.11bgn ESSID:"Gljja"
Mode:Managed Frequency:2.432 GHz Access Point: 00:17:9A:6F:FC:FB
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=42/70 Signal level=-68 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:3714 Missed beacon:0
$ dmesg | grep wlp3s0
[ 16.973819] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[ 23.974863] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 25.886916] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 29.998944] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 62.996019] wlp3s0: authenticate with 00:17:9a:6f:fc:fb
[ 63.039736] wlp3s0: send auth to 00:17:9a:6f:fc:fb (try 1/3)
[ 63.041261] wlp3s0: authenticated
[ 63.041408] ath10k_pci 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[ 63.041412] ath10k_pci 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[ 63.042042] wlp3s0: associate with 00:17:9a:6f:fc:fb (try 1/3)
[ 63.044123] wlp3s0: RX AssocResp from 00:17:9a:6f:fc:fb (capab=0x431 status=0 aid=5)
[ 63.045580] wlp3s0: associated
[ 63.045612] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[ 66.731076] wlp3s0: disassociated from 00:17:9a:6f:fc:fb (Reason: 3)
[ 74.658881] wlp3s0: authenticate with 00:17:9a:6f:fc:fb
[ 74.701802] wlp3s0: send auth to 00:17:9a:6f:fc:fb (try 1/3)
[ 74.703335] wlp3s0: authenticated
[ 74.703501] ath10k_pci 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[ 74.703504] ath10k_pci 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[ 74.705913] wlp3s0: associate with 00:17:9a:6f:fc:fb (try 1/3)
[ 74.707983] wlp3s0: RX AssocResp from 00:17:9a:6f:fc:fb (capab=0x431 status=0 aid=5)
[ 74.709876] wlp3s0: associated
[ 77.884261] wlp3s0: disassociated from 00:17:9a:6f:fc:fb (Reason: 3)
[ 80.430329] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
$ dmesg | grep wlx801f02e4a8fd
[ 99.498664] rtl8192cu 2-2:1.0 wlx801f02e4a8fd: renamed from wlan0
[ 99.529120] IPv6: ADDRCONF(NETDEV_UP): wlx801f02e4a8fd: link is not ready
[ 99.924207] IPv6: ADDRCONF(NETDEV_UP): wlx801f02e4a8fd: link is not ready
[ 99.961862] IPv6: ADDRCONF(NETDEV_UP): wlx801f02e4a8fd: link is not ready
[ 118.058355] wlx801f02e4a8fd: authenticate with 00:17:9a:6f:fc:fb
[ 118.080625] wlx801f02e4a8fd: send auth to 00:17:9a:6f:fc:fb (try 1/3)
[ 118.099749] wlx801f02e4a8fd: authenticated
[ 118.099934] rtl8192cu 2-2:1.0 wlx801f02e4a8fd: disabling HT as WMM/QoS is not supported by the AP
[ 118.099939] rtl8192cu 2-2:1.0 wlx801f02e4a8fd: disabling VHT as WMM/QoS is not supported by the AP
[ 118.101826] wlx801f02e4a8fd: associate with 00:17:9a:6f:fc:fb (try 1/3)
[ 118.205854] wlx801f02e4a8fd: associate with 00:17:9a:6f:fc:fb (try 2/3)
[ 118.247341] wlx801f02e4a8fd: RX AssocResp from 00:17:9a:6f:fc:fb (capab=0x431 status=0 aid=5)
[ 118.347487] wlx801f02e4a8fd: associated
[ 118.347496] IPv6: ADDRCONF(NETDEV_CHANGE): wlx801f02e4a8fd: link becomes ready
$ dmesg | grep ath10k[ 13.823372] ath10k_pci 0000:03:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
[ 14.546304] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[ 16.653947] ath10k_pci 0000:03:00.0: qca9377 hw1.0 (0x05020000, 0x003820ff sub 11ad:0806) fw WLAN.TF.1.0-00267-1 fwapi 5 bdapi 2 htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features ignore-otp
[ 16.653955] ath10k_pci 0000:03:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 16.973819] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[ 63.041408] ath10k_pci 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[ 63.041412] ath10k_pci 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[ 66.846535] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 66.846829] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 67.051342] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 67.153714] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 67.256116] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 67.358519] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 68.236463] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 68.382577] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 68.484971] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 68.587389] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 74.703501] ath10k_pci 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[ 74.703504] ath10k_pci 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[ 78.007234] ath10k_warn: 12 callbacks suppressed
[ 78.007248] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 79.544039] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 79.646432] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 79.748817] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 79.851341] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 79.851477] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 80.058047] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 108.727056] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 363.692698] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 3072.853880] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 3261.599501] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 4080.691326] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 4521.829086] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 4836.667286] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
答案1
请先更新固件:
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.161_all.deb
sudo dpkg -i linux*.deb
重新启动并告诉我们您是否连接了。
在您的日志中,我们看到:
wlp3s0: disassociated from 00:17:9a:6f:fc:fb (Reason: 3)
据此,“原因 3”的意思是:“由于发送 STA 正在离开(或已经离开)IBSS 或 ESS,因此取消认证”
http://www.aboutcher.co.uk/2012/07/linux-wifi-deauthenticated-reason-codes/
我想知道这是否是因为您的路由器设置为使用自动信道选择,而不是固定信道。请检查路由器中的设置。首选 WPA2-AES;而不是任何 WPA 和 WPA2 混合模式,当然也不是 TKIP。其次,如果您的路由器支持 N 速度,则在 2.4 GHz 频段中使用 20 MHz 的信道宽度可能会比自动 20/40 MHz 具有更好的连接性,尽管它可能会影响 N 速度。使用固定信道(1、6 或 11)比使用自动信道选择更幸运。此外,请确保路由器未设置为仅使用 N 速度;首选自动 B、G 和 N。进行这些更改后,重新启动路由器。
接下来,我建议明确设置你的监管范围。检查你的:
sudo iw reg get
如果您选择 00,则这是一个通用的设置。请在此处查找您的设置:http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2然后暂时设置一下:
sudo iw reg set IS
当然,如果不是冰岛,请替换您的国家代码。永久设置它:
gksudo gedit /etc/default/crda
如果您没有文本编辑器 gedit,请使用 nano 或 Kate 或 leafpad。
将最后一行改为:
REGDOMAIN=IS
仔细校对,保存并关闭文本编辑器。
接下来,我在网络管理器中将 IPv6 设置为忽略:http://docs.fedoraproject.org/en-US/Fedora/18/html/Installation_Guide/images/netconfig/network-connections-ipv6-ignore.png 此示例适用于以太网,但您想要无线。