我的 wifi 突然停止工作,即使重启后也是如此
sudo lshw -C network
给出了
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:05:00.0
logical name: eth0 version: 06
serial: 24:b6:fd:27:e1:b8
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:30 ioport:e000(size=256) memory:f1104000-f1104fff memory:f1100000-f1103fff
*-network
description: Ethernet interface
physical id: 2
logical name: usb0
serial: fa:dd:3b:86:b9:76
capabilities: ethernet
physical configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.167 link=yes multicast=yes
我的 wifi 设备是英特尔迅驰无线 n 1030(彩虹峰)
我尝试更改 iwlwifi.conf,但没有任何帮助,然后在网站上我找到了一个下载 https://www.intel.in/content/www/in/en/support/network-and-io/wireless-networking/000005511.html
这些是安装固件的说明:
Copy the files into the distribution-specific firmware directory, /lib/firmware.
If the directory does not work, consult your distribution documentation.
If you configure the kernel yourself, make sure firmware loading is enabled.
请注意,除了 iwlwifi-6000g2b-5.ucode 文件之外,还有另外两个文件不需要复制(一个是许可证,另一个是自述文件),然后它再次启动
然而又遇到了一个新问题,几个小时后 wifi 就断线了
dmesg | grep iwl 给出以下内容
[ 20.654434] iwlwifi 0000:09:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[ 21.575195] iwlwifi 0000:09:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 21.575199] iwlwifi 0000:09:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[ 21.575200] iwlwifi 0000:09:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[ 21.575203] iwlwifi 0000:09:00.0: Detected Intel(R) Centrino(R) Wireless-N 1030 BGN, REV=0xB0
[ 21.575256] iwlwifi 0000:09:00.0: L1 Disabled - LTR Disabled
[ 21.595943] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[ 27.574648] iwlwifi 0000:09:00.0: L1 Disabled - LTR Disabled
[ 27.581175] iwlwifi 0000:09:00.0: L1 Disabled - LTR Disabled
[ 27.581262] iwlwifi 0000:09:00.0: Radio type=0x2-0x2-0x1
[ 27.648799] iwlwifi 0000:09:00.0: L1 Disabled - LTR Disabled
[ 27.655322] iwlwifi 0000:09:00.0: L1 Disabled - LTR Disabled
[ 27.655409] iwlwifi 0000:09:00.0: Radio type=0x2-0x2-0x1
[ 2240.088860] iwlwifi 0000:09:00.0: L1 Disabled - LTR Disabled
[ 2240.095386] iwlwifi 0000:09:00.0: L1 Disabled - LTR Disabled
[ 2240.095475] iwlwifi 0000:09:00.0: Radio type=0x2-0x2-0x1
[ 2240.163097] iwlwifi 0000:09:00.0: L1 Disabled - LTR Disabled
[ 2240.169634] iwlwifi 0000:09:00.0: L1 Disabled - LTR Disabled
[ 2240.169729] iwlwifi 0000:09:00.0: Radio type=0x2-0x2-0x1
我也参考了错误报告https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1420935 已尝试以下创建一个名为的文件:/etc/modprobe.d/wifi_bug.conf
在文件中添加以下行:options iwlmvm power_scheme=1 options iwlwifi bt_coex_active=N swcrypto=1 11n_disable=1
将该文件的所有权设置为与该文件夹中的其他文件相同。
重启。
工作了一段时间,问题仍然存在,目前我使用的内核版本是 4.4.0-130-generic
答案1
从这个答案中:重置 WiFi您可以在重启后关闭并再次打开 WiFi。这将模拟适用于您的笔记本电脑的物理电源按钮循环关闭和打开。