无法在 Ubuntu 15.10、华硕 ZenBook UX305 上使用英特尔 AC 7265 连接 wifi

无法在 Ubuntu 15.10、华硕 ZenBook UX305 上使用英特尔 AC 7265 连接 wifi

我读过一些类似主题的帖子,但没有一个能解决我的问题。我两周前买了我的笔记本电脑。在第一次出现 wifi 问题后,它运行了几天。但现在,我几乎可以使用板载 wifi 卡 Intel AC 7265 进行任何连接。我尝试将这些行添加到 /etc/modprobe.d/iwlwifi.conf:

options iwlwifi 11n_disable=0

一开始我以为这有用,但我只是一次又一次地收到 wifi 密码请求。但现在和以前一样,无法连接到 Fritzbox Cable 7360。

接下来我在我的日志中发现了这两行:

[    1.601664] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-15.ucode failed with error -2
[    1.601682] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-14.ucode failed with error -2

我从以下网站获取了这些固件文件https://github.com/OpenELEC/iwlwifi-firmware/tree/master/firmware并复制到 /lib/firmware。没有效果。

您推荐什么解决方案来重新连接 wifi。我使用了 USB wifi 适配器,但它运行速度很慢,并且连接经常中断。

一些系统信息:

nunatak@zenbook:~$ ifconfig -a
lo        Link encap:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:65536  Metrik:1
          RX-Pakete:4159 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
          TX-Pakete:4159 Fehler:0 Verloren:0 Überläufe:0 Träger:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX-Bytes:280204 (280.2 KB)  TX-Bytes:280204 (280.2 KB)

wlp2s0    Link encap:Ethernet  Hardware Adresse 34:13:e8:37:91:a5  
          UP BROADCAST MULTICAST  MTU:1500  Metrik:1
          RX-Pakete:138 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
          TX-Pakete:209 Fehler:0 Verloren:0 Überläufe:0 Träger:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX-Bytes:24680 (24.6 KB)  TX-Bytes:34095 (34.0 KB)

nunatak@zenbook:~$ lspci -nnk | grep 0280 -A2
02:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)
     Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:9110]
     Kernel driver in use: iwlwifi

nunatak@zenbook:~$ iwconfig
wlp2s0    IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

lo        no wireless extensions.

nunatak@zenbook:~$ rfkill list
1: phy0: Wireless LAN
     Soft blocked: no
     Hard blocked: no
2: asus-wlan: Wireless LAN
     Soft blocked: no
     Hard blocked: no
3: asus-bluetooth: Bluetooth
     Soft blocked: yes
     Hard blocked: no

nunatak@zenbook:~$ cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1


nunatak@zenbook:/$ dmesg | grep iwl
[    1.601664] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-15.ucode failed with error -2
[    1.601682] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-14.ucode failed with error -2
[    1.608685] iwlwifi 0000:02:00.0: loaded firmware version 25.30.13.0 op_mode iwlmvm
[    1.639162] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
[    1.640538] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[    1.640981] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[    1.741289] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    1.778071] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
[    3.167514] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[    3.168108] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[    3.228866] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[    3.229464] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[    6.885733] iwlwifi 0000:02:00.0: No association and the time event is over already...
[    8.099342] iwlwifi 0000:02:00.0: No association and the time event is over already...
[    9.135990] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   10.859563] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   12.114818] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   13.103260] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   15.212138] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   17.292391] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   18.015380] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   21.675385] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   35.347746] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   52.529456] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   63.717210] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   65.371841] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   65.835744] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   70.561798] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   71.247224] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   72.281874] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   73.196575] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   76.857343] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   77.893446] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   78.924999] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   81.128964] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   85.214884] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   85.903202] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   87.039947] iwlwifi 0000:02:00.0: No association and the time event is over already...
[   95.034215] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  104.992122] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  112.852455] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  114.608110] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  256.792691] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  264.331317] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  269.724769] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  274.028032] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  274.717281] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  275.747285] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  276.781386] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  310.986914] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  322.207694] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  392.825547] iwlwifi 0000:02:00.0: No association and the time event is over already...
[  451.701144] iwlwifi 0000:02:00.0: No association and the time event is over already...

[编辑] 根据要求,ls -al /lib/firmware | grep 7265 的响应:

nunatak@zenbook:~$ ls -al /lib/firmware | grep 7265
-rw-r--r--  1 root root  736844 Nov 20 17:18 iwlwifi-7265-10.ucode
-rw-r--r--  1 root root  880604 Mai 13  2015 iwlwifi-7265-12.ucode
-rw-r--r--  1 root root  885224 Aug  3 16:43 iwlwifi-7265-13.ucode
-rw-r--r--  1 root root   26989 Jan 27 14:10 iwlwifi-7265-14.ucode
-rw-r--r--  1 root root   25986 Jan 27 14:10 iwlwifi-7265-15.ucode
-rw-r--r--  1 root root  690452 Nov 24  2014 iwlwifi-7265-8.ucode
-rw-r--r--  1 root root  697828 Dez  1  2014 iwlwifi-7265-9.ucode
-rw-r--r--  1 root root  740436 Nov 20 17:18 iwlwifi-7265D-10.ucode
-rw-r--r--  1 root root 1002800 Mai 13  2015 iwlwifi-7265D-12.ucode
-rw-r--r--  1 root root 1008692 Aug  3 16:43 iwlwifi-7265D-13.ucode
-rw-r--r--  1 root root   27005 Jan 27 14:11 iwlwifi-7265D-14.ucode
-rw-r--r--  1 root root   27005 Jan 27 14:11 iwlwifi-7265D-15.ucode

我从 github 复制了以下文件:iwlwifi-7265-14.ucode iwlwifi-7265-15.ucode iwlwifi-7265D-14.ucode iwlwifi-7265D-15.ucode

哦,我想你是对的。文件太小了。我从 github 获取了 html,而不是文件。;)

[编辑 2016 年 1 月 28 日] 我家附近还有许多其他 WLAN。路由器显示有 30 个其他 wifi 信号。其中大多数位于信道 11,这也是我们自动设置的。总共有 13 个信道,其中一些信道当时没有被其他人使用。建议切换到这种未使用的信道吗?

答案1

请安装最新的 7265 固件。从终端:

sudo apt-get update
sudo apt-get install git
git clone https://github.com/OpenELEC/iwlwifi-firmware.git
cd iwlwifi-firmware/firmware
sudo cp iwlwifi-7265*  /lib/firmware

查看:

ls -al /lib/firmware | grep 7265

重新启动并告诉我们性能是否有所改善。

检查路由器中的设置。首选 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 此示例适用于以太网,但您想要无线。

如果这些更改没有帮助,请尝试:

gksudo gedit /etc/modprobe.d/iwlwifi.conf

将添加的行更改options iwlwifi 11n_disable=0为:

options iwlwifi 11n_disable=8

仔细校对,保存并关闭文本编辑器。重新启动。

答案2

对于拥有英特尔 NUC 的人来说,请记住,吞吐量差是由于英特尔 7265 芯片设计不良造成的,如果你打开蓝牙,它会干扰 WiFi 信号,所以很简单,关闭蓝牙。

答案3

遇到了同样的问题,禁用省电功能对我有用:

iw wlan0 set power_save off

相关内容