![Ubuntu 16.04 上的 Wifi 冻结](https://linux22.com/image/902222/Ubuntu%2016.04%20%E4%B8%8A%E7%9A%84%20Wifi%20%E5%86%BB%E7%BB%93.png)
我的 wifi 在 Ubuntu 16.04 上随机冻结。它可以通过重新连接或重新启动 iwlwifi 来恢复,即
sudo modprobe -r iwlwifi && sudo modprobe iwlwifi
根据启动的位置,它可能会在几秒到几小时的随机时间后再次冻结。
sudo dmesg | grep wifi
给出
[ 11.998788] iwlwifi 0000:08:00.0: loaded firmware version 29.1044073957.0 op_mode iwlmvm
[ 12.138269] iwlwifi 0000:08:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
[ 12.158953] iwlwifi 0000:08:00.0: base HW address: 5c:e0:c5:40:7e:d2
[ 15.407862] iwlwifi 0000:08:00.0 wlp8s0: renamed from wlan0
[ 336.819378] iwlwifi 0000:08:00.0: loaded firmware version 29.1044073957.0 op_mode iwlmvm
[ 336.845631] iwlwifi 0000:08:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
[ 336.872297] iwlwifi 0000:08:00.0: base HW address: 5c:e0:c5:40:7e:d2
[ 336.943626] iwlwifi 0000:08:00.0 wlp8s0: renamed from wlan0
[ 1101.338499] iwlwifi: unknown parameter 'wd_disable' ignored
[ 1101.341003] iwlwifi 0000:08:00.0: loaded firmware version 29.1044073957.0 op_mode iwlmvm
[ 1101.359871] iwlwifi 0000:08:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
[ 1101.384760] iwlwifi 0000:08:00.0: base HW address: 5c:e0:c5:40:7e:d2
[ 1101.453981] iwlwifi 0000:08:00.0 wlp8s0: renamed from wlan0
我尝试跟踪/var/log/kern.log
并/var/log/syslog
查看在冻结之前是否打印了特定消息,但没有打印与 wifi 相关的任何内容。我禁用了 wifi 连接的 Ipv6。我还修改了我的,/etc/modprobe.d/iwlwifi.conf
所以现在看起来像
# /etc/modprobe.d/iwlwifi.conf
# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
# microcode file installed on the system. When removing iwlwifi, first
# remove the iwl?vm module and then iwlwifi.
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
options iwlwifi 11n_disable=1
options iwlwifi wd_disable=1
options iwlwifi 11n_disable=8
对最后 3 行进行了各种组合注释。
硬件:HP Envy m6 笔记本电脑 操作系统:Ubuntu 16.04
更新:当我关闭蓝牙时,问题就消失了。
答案1
如果禁用蓝牙后该问题消失,我认为可以通过关闭蓝牙共存来解决这个问题。
在终端中运行
sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi bt_coex_active=N"
然后重新启动。