Thinkpad T460p WLAN问题

Thinkpad T460p WLAN问题

有时我的 WLAN 可以工作,有时它不显示任何网络(尽管有很多;我可以用手机看到)。重新启动有帮助。我有一个英特尔无线 8260 芯片。我使用专有驱动程序,因为不使用它根本不起作用。

这是什么问题?我该如何解决?

调试输出

芯片得到认可:

$ sudo lshw -C network                    
  *-network               
       description: Wireless interface
       product: Wireless 8260
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 3a
       serial: 44:85:00:74:18:41
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-21-generic firmware=16.242414.0 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
       resources: irq:128 memory:f2100000-f2101fff
  *-network
       description: Ethernet interface
       product: Ethernet Connection (2) I219-LM
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 31
       serial: 50:7b:9d:e2:0c:93
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.8-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:125 memory:f2200000-f221ffff
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: enxe20c6546aca7
       serial: e2:0c:65:46:ac:a7
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.112 link=yes multicast=yes

驱动程序似乎已加载:

$ lsmod | grep wifi
iwlwifi               200704  1 iwlmvm
cfg80211              565248  3 iwlwifi,mac80211,iwlmvm

iwconfig 也显示了它。它不能通过功能键禁用,因为Tx-Power=0 dBm和 不是Tx-Power=off

$ sudo iwconfig
enxe20c6546aca7  no wireless extensions.

enp0s31f6  no wireless extensions.

lo        no wireless extensions.

wlp3s0    IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

当 Dmesg 不起作用时:

dmesg | grep -e iwl -e wlp
[    4.033651] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-19.ucode failed with error -2
[    4.033666] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-18.ucode failed with error -2
[    4.033804] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-17.ucode failed with error -2
[    4.056273] iwlwifi 0000:03:00.0: loaded firmware version 16.242414.0 op_mode iwlmvm
[    4.098668] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[    4.098977] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.099898] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.100833] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.246808] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    4.247687] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
[    4.510635] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[    4.510968] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.511344] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.512637] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.651268] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.652059] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.652926] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.739438] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready

dmesg 工作时:

$ dmesg | grep -e iwl -e wlp
[    4.002403] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-19.ucode failed with error -2
[    4.002418] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-18.ucode failed with error -2
[    4.003545] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-8000C-17.ucode failed with error -2
[    4.019494] iwlwifi 0000:03:00.0: loaded firmware version 16.242414.0 op_mode iwlmvm
[    4.068569] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[    4.068879] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.069859] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.072034] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.218682] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    4.219874] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
[    4.620410] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[    4.620953] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.621328] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.621998] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.760365] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.760788] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    4.761451] iwlwifi 0000:03:00.0: can't access the RSA semaphore it is write protected
[    4.852426] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[    5.174281] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[   20.399706] wlp3s0: authenticate with 00:1f:3f:10:85:c7
[   20.408384] wlp3s0: send auth to 00:1f:3f:10:85:c7 (try 1/3)
[   20.415065] wlp3s0: authenticated
[   20.417192] wlp3s0: associate with 00:1f:3f:10:85:c7 (try 1/3)
[   20.428684] wlp3s0: RX AssocResp from 00:1f:3f:10:85:c7 (capab=0x411 status=0 aid=3)
[   20.430381] wlp3s0: associated
[   20.430426] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready

答案1

当后续固件文件发布并可用时,您的驱动程序会加载 -16 固件。在网络连接正常的情况下,请打开终端并执行以下操作:

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

重新启动并告诉我们是否有任何改进。

答案2

虽然 chili555 的答案非常好,并且可以消除这些令人讨厌的错误,但您也可以尝试这个:

sudo systemctl restart network-manager.service

如果有效,您可以创建一个脚本来实现自动化。

打开终端并输入以下内容:

sudo nano /etc/systemd/system/wifi-resume.service现在右键单击将脚本粘贴到那里。按 CTRL + X 退出并按 Y 保存。现在激活它:sudo systemctl enable wifi-resume.service

脚本:

#/etc/systemd/system/wifi-resume.service
#sudo systemctl enable wifi-resume.service
[Unit]
Description=Restart networkmanager at resume
After=suspend.target
After=hibernate.target
After=hybrid-sleep.target

[Service]
Type=oneshot
ExecStart=/bin/systemctl restart network-manager.service

[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target

希望这有帮助。它在我的笔记本电脑上运行良好。(英特尔 7265)

相关内容