解决无线网卡打不开的问题(by quqi99)

作者:张华 发表于:2019-12-29
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明

马上要回老家过春节了, 所以将最经典的小红点x220t笔记本拿出来装点东西, 结果, 突然一闪, 然后就发现网络断了, 接着再怎么wifi也无法UP了, 显示"No Wi-Fi Adapter Found", 刚开始以为是驱动的问题, 所以先升级为最新的hwe开发版驱动, 未果:

sudo add-apt-repository ppa:canonical-kernel-team/ppa
sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04

接着, 切换双系统的windows, 发现wifi也无法启动, 这时就自然想到是不是无线网卡坏了. 但另一想, 刚一闪之前还用了的, 也没干什么, 不可能是硬件坏. 然后就想着恢复它. 找到它的信息:

hua@x220t:~$ sudo lspci -nnk |grep -iA2 net
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) [8086:1502] (rev 04)
	Subsystem: Lenovo ThinkPad T520 [17aa:21ce]
	Kernel driver in use: e1000e
--
03:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0085] (rev 34)
	Subsystem: Intel Corporation Centrino Advanced-N 6205 (802.11a/b/g/n) [8086:1311]
	Kernel driver in use: iwlwifi

hua@x220t:~$ sudo iwconfig wlp3s0
wlp3s0    IEEE 802.11  ESSID:"quqiAP"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: 04:A1:51:8A:2C:A7   
          Bit Rate=1 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=55/70  Signal level=-55 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:38  Invalid misc:77   Missed beacon:0

WIFI处于硬件OFF状态, 是hardware block了吗?

hua@x220t:~$ sudo rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

确实如此, unblock它, it woks.

sudo rfkill unlock all

网上搜索了一下, 好像是由ideapad_laptop模块给禁用的, 禁用ideapad_laptop模块.

sudo vim /etc/modprobe.d/myownblacklist.conf
blacklist ideapad_laptop
sudo modprobe -r ideapad_laptop
sudo modinfo ideapad_laptop
已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 书香水墨 设计师:CSDN官方博客 返回首页