我的 wifi 有问题,我有惠普 Spectre 13 x2,wifi 卡 Intel Wireless-AC 7260,只要我不重启笔记本电脑,它就可以工作。现在,当 wifi 工作时:
rfkill list
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
10: nfc0: NFC
Soft blocked: yes
Hard blocked: no
11: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
当我查看 wmi 时可以看到这个
dmesg | grep wmi
[ 2.571021] wmi: Mapper loaded
[ 10.505719] acer_wmi: Acer Laptop ACPI-WMI Extras
[ 89.246158] acer_wmi: Acer Laptop WMI Extras unloaded
在我重新启动笔记本电脑后,我已经Acer-Wireless LAN
进入了 rfkill 列表,所以我必须运行这个命令:rmmod -f acer-wmi
然后echo "blacklist acer.wmi" | sudo tee /etc/modprobe.d/acer-wmi.conf
等待几分钟/几小时
iwconfig
lo no wireless extensions.
wlp7s0 IEEE 802.11abgn ESSID:"......."
Mode:Managed Frequency:5.24 GHz Access Point:......as:32
Bit Rate=26 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=52/70 Signal level=-58 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:149 Missed beacon:0
答案1
在终端中运行
sudo tee /etc/modprobe.d/blacklist-acer-wmi.conf <<< "blacklist acer_wmi"
这将禁用acer_wmi
阻止 Wi-Fi 的模块。
您的上一个命令错误。您需要acer-wmi.conf
通过
sudo rm /etc/modprobe.d/acer-wmi.conf