Ubuntu 20.04 LTS修改/usr权限为777并修复sudo问题后,无线适配器无法识别求助
Ubuntu 20.04 LTS修改/usr权限为777并修复sudo问题后,无线适配器无法识别求助
大家好,我碰到了一个头疼的问题,想请各位大佬帮忙排查一下:
之前我把/usr文件夹的权限改成了777,结果触发了sudo权限相关的错误,后来通过恢复模式把这个问题修复了,本来以为一切都正常了,结果新的麻烦又来了——我的笔记本连不上WiFi了,系统设置里直接显示“No Wifi Adapter found”。
我试着跟着网上找的一些教程操作,但都没什么效果。下面是我跑的一些诊断命令的输出,应该能帮到大家分析问题:
1. lshw -C network 输出
namle5@1-namle5-u:~$ lshw -C network WARNING: you should run this program as super-user. *-network DISABLED description: Wireless interface product: Comet Lake PCH-LP CNVi WiFi vendor: Intel Corporation physical id: 14.3 bus info: pci@0000:00:14.3 logical name: wlp0s20f3 version: 00 serial: 6c:6a:77:71:08:63 width: 64 bits clock: 33MHz capabilities: bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=iwlwifi driverversion=5.15.0-58-generic firmware=66.f1c864e0.0 QuZ-a0-hr-b0-66.u latency=0 link=no multicast=yes wireless=IEEE 802.11 resources: irq:16 memory:f1210000-f1213fff
2. ethtool -i wlan0 | grep driver 输出
namle5@1-namle5-u:~$ ethtool -i wlan0 | grep driver Cannot get driver information: No such device
3. ifconfig wlan0 up 输出
namle5@1-namle5-u:~$ ifconfig wlan0 up wlan0: ERROR while getting interface flags: No such device
4. rfkill list 输出
namle5@1-namle5-u:~$ rfkill list 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: hci0: Bluetooth Soft blocked: yes Hard blocked: no
5. lspci | egrep -i 'intel' 输出
namle5@1-namle5-u:~$ lspci | egrep -i 'intel' 00:00.0 Host bridge: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller (rev 0c) 00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02) 00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c) 00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem 00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller 00:14.2 RAM memory: Intel Corporation Comet Lake PCH-LP Shared SRAM 00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi 00:14.5 SD Host controller: Intel Corporation Comet Lake PCH-LP SCS3 00:15.0 Serial bus controller: Intel Corporation Serial IO I2C Host Controller 00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface 00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller 00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0) 00:1d.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #13 (rev f0) 00:1f.0 ISA bridge: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller 00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS 00:1f.4 SMBus: Intel Corporation Comet Lake PCH-LP SMBus Host Controller 00:1f.5 Serial bus controller: Intel Corporation Comet Lake SPI (flash) Controller
6. lspci -vv -s 00:14.3 输出
namle5@1-namle5-u:~$ lspci -vv -s 00:14.3 00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi Subsystem: Intel Corporation Wi-Fi 6 AX201 160MHz Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 16 Region 0: Memory at f1210000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: iwlwifi Kernel modules: iwlwifi, wl
7. lspci -knn | grep Net -A3; rfkill list 输出
namle5@1-namle5-u:~$ lspci -knn | grep Net -A3; rfkill list 00:14.3 Network controller [0280]: Intel Corporation Comet Lake PCH-LP CNVi WiFi [8086:02f0] Subsystem: Intel Corporation Wi-Fi 6 AX201 160MHz [8086:0074] Kernel driver in use: iwlwifi Kernel modules: iwlwifi, wl 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: hci0: Bluetooth Soft blocked: yes Hard blocked: no
麻烦各位帮忙看看问题出在哪里,有没有可行的解决办法?非常感谢大家的帮助!
备注:内容来源于stack exchange,提问作者NAM




