在 Ubuntu 20.04.4LTS 中从睡眠模式恢复时,wifi 被禁用

在 Ubuntu 20.04.4LTS 中从睡眠模式恢复时,wifi 被禁用

运行 Gateway E-475M 64 位笔记本电脑双启动,其中装有 WIN7PRO 64 位和 UBUNTU 20.04.2.0LTS,我甚至可以进入睡眠模式几分钟,并且恢复后 wifi 检测不到任何东西...顶部栏上没有图标,去选择网络时整个东西都是空的...在该区域看不到任何 wifi(通常范围内有 4 或 5 个)。最终不会唤醒 - 即使处于“开启”状态,也保持死机状态...几天前恢复时工作正常,但现在这个问题开始了。必须冷重启才能再次打开该死的 wifi...只需注销然后重新登录并不能唤醒 wifi - 惊呆了 - 难道是我在 18.04 上遇到问题的那个该死的 avahi 东西??

顺便说一句 - WIN7PRO 启动时没有任何 wifi 问题,开启/关闭睡眠模式,甚至休眠时也没有 wifi 问题...只是说说而已

删除 avahi-仍然无法唤醒 wifi...我可以转到设置 => wifi,在“可见网络”字样旁边有一个旋转的圆圈,就像它看起来一样......

仅供参考,我的 Ubuntu 18.04LTS 笔记本电脑(锁定在 4.15.0-70 通用版本)和 Lubuntu 18.04LTS 笔记本电脑都出现了问题,直到我删除了 avahi...这台 20.04LTS 笔记本电脑于 2021 年 5 月 12 日制造,运行良好,然后大约 10 天后出现了这个问题......令人不安!

尝试过“您应该在无线连接中取消设置复选框“自动连接” – Gurupal singh”但可见网络仍然为“空白”......

尝试“当您再次唤醒设备时,尝试运行:sudo service network-manager stop,然后尝试:sudo service network-manager start。如果可行,请告诉我。– Denny”但再次……是的,没有可见的网络 :-\

尝试“当您从睡眠状态唤醒设备时尝试从终端运行此命令 - sudo modprobe -r wlp2s0;sudo modprobe wlp2s0;”......仍然没有可用的 wifi,甚至 wifi 本身也从菜单中消失......天哪!

在这里扯淡,但尝试过“我目前的解决方案是每次唤醒计算机时运行 sudo killall NetworkManager”,下拉菜单中的 wifi 消失了,所以没有检查任何东西,然后我运行 sudo service network-manager start 并且它又回来了,但仍然没有可用的 wifi - 这让我想回到使用我的 Lubuntu 18.04 笔记本电脑,因为它挂起并且没有 wifi 问题......只是一台低端 32 位笔记本电脑(1.5Ghz w/1Gb ram),以速度慢而闻名 :-[

信息 - pci 显示为 intel pro wireless 3945ABG...USB 显示为 Realtek RTL8188EUS,但实际上是 TP-LINK 型号 TL-WN725N(去图......)

最新尝试:“我打开一个终端窗口并运行“sudo iwlist scan”,网络被检测到并立即连接”=> 但是我的网络仍然处于“关闭”状态,只有 USB 处于开启状态 - PCI 死机如门钉 :-P [我得到 wlp2s0 接口不支持扫描:网络已关闭;但对于 wlx8416f91d3f6d 扫描完成:并且它找到了单元 01 到单元 10...]

我不再提供赏金(毫无价值)

问题仍然存在 - 恢复后,pci wifi 迟早会断线,然后直到重启才会恢复 - 休眠时 pci wifi 工作正常,但从休眠状态恢复需要很长时间!目前只需将网线从 wifi 扩展器插入局域网即可,但不能移动...

这是 lsmod | egrep 'module|iwp|iwl' 和 dmesg | grep -i iwl 的结果(首先清除 dmesg,wifi 运行,然后暂停,然后恢复,然后 wifi 断线):

真希望我可以让这个输出看起来更好一些——抱歉!

> batgirl@batgirl-E-475M:~/Desktop$ lsmod | egrep 'module|iwp|iwl'
>iwl3945                94208  0
>iwlegacy              114688  1 iwl3945
>mac80211             1228800  2 iwl3945,iwlegacy
>cfg80211              954368  3 iwl3945,iwlegacy,mac80211
>batgirl@batgirl-E-475M:~/Desktop$ 
>batgirl@batgirl-E-475M:~/Desktop$ dmesg | grep -i iwl
>[   20.703742] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
>[   20.703748] iwl3945: Copyright(c) 2003-2011 Intel Corporation
>[   20.703750] iwl3945: hw_scan is disabled
>[   20.703825] iwl3945 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
>[   20.767591] iwl3945 0000:02:00.0: Tunable channels: 11 802.11bg, 13 802.11a channels
>[   20.767601] iwl3945 0000:02:00.0: Detected Intel Wireless WiFi Link 3945ABG
>[   20.767967] ieee80211 phy0: Selected rate control algorithm 'iwl-3945-rs'
>[   25.556001] iwl3945 0000:02:00.0 wlp2s0: renamed from wlan0
>[   61.110020] iwl3945 0000:02:00.0: loaded firmware version 15.32.2.9
batgirl@batgirl-E-475M:~/Desktop$ dmesg | grep -i iwl
>[   20.703742] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
>[   20.703748] iwl3945: Copyright(c) 2003-2011 Intel Corporation
>[   20.703750] iwl3945: hw_scan is disabled
>[   20.703825] iwl3945 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
>[   20.767591] iwl3945 0000:02:00.0: Tunable channels: 11 802.11bg, 13 802.11a channels
>[   20.767601] iwl3945 0000:02:00.0: Detected Intel Wireless WiFi Link 3945ABG
>[   20.767967] ieee80211 phy0: Selected rate control algorithm 'iwl-3945-rs'
>[   25.556001] iwl3945 0000:02:00.0 wlp2s0: renamed from wlan0
>[   61.110020] iwl3945 0000:02:00.0: loaded firmware version 15.32.2.9
>[  316.050830] iwl3945 0000:02:00.0: can't change power state from D3hot to D0 (config space inaccessible)
>[  320.045831] WARNING: CPU: 0 PID: 696 at drivers/net/wireless/intel/iwlegacy/common.c:97 _il_grab_nic_access+0xa8/0xc0 [iwlegacy]
>[  320.045831] Modules linked in: ccm binfmt_misc nls_iso8859_1 snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec snd_hda_core snd_hwdep i915 snd_pcm snd_seq_midi snd_seq_midi_event ttm iwl3945 drm_kms_helper pcmcia snd_rawmidi iwlegacy snd_seq mac80211 coretemp snd_seq_device cec cfg80211 rc_core yenta_socket pcmcia_rsrc i2c_algo_bit joydev fb_sys_fops wmi_bmof snd_timer syscopyarea input_leds sysfillrect serio_raw libarc4 at24 pcmcia_core snd sysimgblt tifm_7xx1 tifm_core soundcore mac_hid sch_fq_codel ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp parport drm ip_tables x_tables autofs4 hid_generic usbhid sdhci_pci lpc_ich pata_acpi hid psmouse firewire_ohci firewire_core cqhci ahci i2c_i801 i2c_smbus crc_itu_t libahci sdhci e1000e wmi video
>[  320.045831] RIP: 0010:_il_grab_nic_access+0xa8/0xc0 [iwlegacy]
>[  320.045831]  il_wr_prph+0x35/0x90 [iwlegacy]
>[  320.045831]  il_apm_init+0x1be/0x230 [iwlegacy]
>[  320.045831]  il3945_apm_init+0x1f/0x150 [iwl3945]
>[  320.045831]  il3945_hw_nic_init+0x33/0x560 [iwl3945]
>[  320.045831]  __il3945_up.part.0+0x70/0x140 [iwl3945]
>[  320.045831]  il3945_mac_start+0x70/0x1c0 [iwl3945]
>[  320.990337] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  320.990353] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  321.117510] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  321.117519] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  321.244966] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  321.244973] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  321.372096] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  321.372102] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  321.499218] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  321.499223] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  321.500047] iwl3945 0000:02:00.0: Unable to initialize device after 5 attempts.
>[  322.513903] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  322.513917] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  322.641250] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  322.641261] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  322.768839] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  322.768848] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  322.896142] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  322.896151] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  323.023431] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  323.023441] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  323.023800] iwl3945 0000:02:00.0: Unable to initialize device after 5 attempts.
>[  323.958924] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  323.958940] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  324.086102] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  324.086112] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  324.213359] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  324.213372] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  324.340481] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  324.340487] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  324.467607] iwl3945 0000:02:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
>[  324.467613] iwl3945 0000:02:00.0: Unable to set up bootstrap uCode: -5
>[  324.467995] iwl3945 0000:02:00.0: Unable to initialize device after 5 attempts.

一条新注释:禁用 NetworkManager/network-manager 并安装西太平洋岛屿发展中国家希望并祈祷它能修复这个 wifi 驱动程序崩溃- 暂停后恢复时仍然丢失 wifi - 疯了!!!

相关内容