在网上输入命令却无法使其工作
sudo lshw -class 网络返回
network NO RECLAMADO
descripción: Network controller
producto: Centrino Advanced-N 6230 [Rainbow Peak]
fabricante: Intel Corporation
id físico: 0
información del bus: pci@0000:08:00.0
versión: 34
anchura: 64 bits
reloj: 33MHz
capacidades: pm msi pciexpress bus_master cap_list
configuración: latency=0
recursos: memoria:b5900000-b5901fff
lspci -knn | grep Net -A3
libkmod: ERROR ../libkmod/libkmod-config.c:656 kmod_config_parse: /etc/modprobe.d/iwlwifi.conf line 8: ignoring bad line starting with '“options'
08:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] [8086:0091] (rev 34)
Subsystem: Intel Corporation Centrino Advanced-N 6230 AGN [8086:5221]
Kernel modules: wl
09:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
gerardo@gerardo-XPS-L412Z:~$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
gerardo@gerardo-XPS-L412Z:~$ uname -a
Linux gerardo-XPS-L412Z 5.3.0-51-generic #44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
# /etc/modprobe.d/iwlwifi.conf
# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
# microcode file installed on the system. When removing iwlwifi, first
# remove the iwl?vm module and then iwlwifi.
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
“options iwlwifi disable_msix=1”
gerardo@gerardo-XPS-L412Z:~$ lspci -knn | grep Net -A3
08:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] [8086:0091] (rev 34)
Subsystem: Intel Corporation Centrino Advanced-N 6230 AGN [8086:5221]
09:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
Subsystem: Dell RTS5209 PCI Express Card Reader [1028:0522]
gerardo@gerardo-XPS-L412Z:~$ modinfo iwlwifi | grep -E 'vermagic | intree'
gerardo@gerardo-XPS-L412Z:~$
gerardo@gerardo-XPS-L412Z:~$ grep iwlwifi /etc/modprobe.d/*
/etc/modprobe.d/iwlwifi.conf:# /etc/modprobe.d/iwlwifi.conf
/etc/modprobe.d/iwlwifi.conf:# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
/etc/modprobe.d/iwlwifi.conf:# microcode file installed on the system. When removing iwlwifi, first
/etc/modprobe.d/iwlwifi.conf:# remove the iwl?vm module and then iwlwifi.
/etc/modprobe.d/iwlwifi.conf:remove iwlwifi \
/etc/modprobe.d/iwlwifi.conf:(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
/etc/modprobe.d/iwlwifi.conf.save: /etc/modprobe.d/iwlwifi.conf
/etc/modprobe.d/iwlwifi.conf.save:# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
/etc/modprobe.d/iwlwifi.conf.save:# microcode file installed on the system. When removing iwlwifi, first
/etc/modprobe.d/iwlwifi.conf.save:# remove the iwl?vm module and then iwlwifi.
/etc/modprobe.d/iwlwifi.conf.save:remove iwlwifi \
/etc/modprobe.d/iwlwifi.conf.save:(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
/etc/modprobe.d/iwlwifi.conf.save:“options iwlwifi disable_msix=1”
答案1
您的文件已损坏/etc/modprobe.d/iwlwifi.conf
。
运行sudo nano /etc/modprobe.d/iwlwifi.conf
并删除该行
“options iwlwifi disable_msix=1”
Ctrl+O 保存,Ctrl+X 退出。
选项错误,引号错误。
我想知道这么多人从哪里得到这些垃圾?没有disable_msix
选项iwlwifi
。
重启后 Wi-Fi 就可以正常工作了。
我也建议运行
sudo apt purge bcmwl-kernel-source
这将删除不相关的 Broadcom 驱动程序。