我是 Ubuntu 的新手,正在使用 19.10。无线互联网一直告诉我我的密码不正确,并且提示输入密码的提示一直循环。我不小心sudo modprobe -r iwlwifi
,现在我的 wifi 完全消失了。我尝试了包括在内的所有方法sudo modprobe iwlwifi
,但都没有成功。当我输入时dmesg | grep iwl
什么都没有发生。我唯一相关的信息是
sudo lshw -c network
产生
*-network UNCLAIMED
description: Network controller
product: Cannon Point-LP CNVi [Wireless-AC]
vendor: Intel Corporation
physical id: 14.3
bus info: pci@0000:00:14.3
version: 30
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix cap_list
configuration: latency=0
resources: memory:b431c000-b431ffff
*-network
description: Ethernet interface
physical id: 1
bus info: usb@1:6
logical name: enx00e04c6804d2
serial: 00:e0:4c:68:04:d2
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.09.10 duplex=full ip=192.168.0.46 link=yes multicast=yes port=MII speed=1Gbit/s
编辑
sudo modprobe iwlwifi
现在什么也不做
dmesg | grep iwl
[ 2.435843] Loading modules backported from iwlwifi
[ 2.435844] iwlwifi-stack-public:master:7906:7773a757
[ 2.502602] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[ 2.504534] iwlwifi 0000:00:14.3: Direct firmware load for iwl-dbg- cfg.ini failed with error -2
[ 2.507436] iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
[ 2.507437] iwlwifi 0000:00:14.3: Found debug configuration: 0
[ 2.507924] iwlwifi 0000:00:14.3: loaded firmware version 46.6bf1df06.0 op_mode iwlmvm
[ 2.701211] iwlwifi 0000:00:14.3: Detected Intel(R) Dual Band Wireless AC 9560, REV=0x318
[ 2.708455] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 2.708920] iwlwifi 0000:00:14.3: Allocated 0x00400000 bytes for firmware monitor.
[ 2.753744] iwlwifi 0000:00:14.3: base HW address: d0:ab:d5:17:9e:f4
[ 2.825134] ieee80211 phy0: Selected rate control algorithm 'iwl- mvm-rs'
[ 2.827381] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0
[ 4.637929] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 4.756187] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 4.824996] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[ 56.786408] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
[ 56.786852] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
[ 59.858918] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
[ 59.860223] iwlwifi 0000:00:14.3: Unhandled alg: 0x707
lspci -nnk | grep 0280 -A3
00:14.3 Network controller [0280]: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] [8086:9df0] (rev 30)
DeviceName: WLAN
Subsystem: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] [8086:0034]
Kernel driver in use: iwlwifi
sudo dkms status
backport-iwlwifi, 7906, 5.0.0-1030-oem-osp1, x86_64: installed
backport-iwlwifi, 7906, 5.3.0-26-generic, x86_64: installed
nvidia, 430.50, 5.0.0-1030-oem-osp1, x86_64: installed
nvidia, 430.50, 5.3.0-26-generic, x86_64: installed
答案1
当您执行此操作时,sudo modprobe -r iwlwifi
您从内核中删除了 wifi 驱动程序模块。您为什么要这样做?terminal
如果您不完全了解它们的作用,请不要在其中输入命令。
要重新加载,请键入sudo modprobe iwlwifi
。或者重新启动计算机。
关于 wifi 密码,请确保您的 CAPS LOCK 键已关闭,并确保您输入了正确的密码,包括任何大写/小写字母。密码区分大小写。确保 wifi 连接的两端都使用 WPA2。如有必要,请重置 wifi 密码。
更新#1:
- 我们发现安全启动已启用。
更新 #2:
您已将内核从 更新/升级
5.0.0-1030-oem-osp1
到5.3.0-26-generic
。dkms status
向我们展示了 backport-iwlwifi。
sudo dkms remove backport-iwlwifi/7906 --all
reboot
更新 #3:
来自笔记本电脑无法初始化 iwlwifi我们得到:
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.183.2_all.deb
sudo dpkg -i linux*.deb
谢谢@chili555