更新

更新

首先,如果我的英语不好,请原谅,我是法国人。我将计算机切换到 Debian 10 Buster,但无法使用 Wifi。事实上,我无法扫描wifi,因为我的接口不支持扫描。如果我sudo对几乎每个命令都使用它,那只是因为我仍然没有将自己添加到 sudoers 文件中。在发布此主题之前,我搜索了有关该问题的其他主题,但没有发现任何对我有帮助的内容。

kowalski@debian:~$ sudo ifconfig
[sudo] password for kowalski: 
enp60s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.45  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::3e2c:30ff:fead:f5c0  prefixlen 64  scopeid 0x20<link>
        ether 3c:2c:30:ad:f5:c0  txqueuelen 1000  (Ethernet)
        RX packets 37935  bytes 27738109 (26.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9545  bytes 1682099 (1.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 17  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 196  bytes 15300 (14.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 196  bytes 15300 (14.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vmnet1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.16.186.1  netmask 255.255.255.0  broadcast 172.16.186.255
        inet6 fe80::250:56ff:fec0:1  prefixlen 64  scopeid 0x20<link>
        ether 00:50:56:c0:00:01  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 59  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vmnet8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.233.1  netmask 255.255.255.0  broadcast 192.168.233.255
        inet6 fe80::250:56ff:fec0:8  prefixlen 64  scopeid 0x20<link>
        ether 00:50:56:c0:00:08  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 60  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

这是 ifconfig 的结果,最后 2 个接口由虚拟机使用。

kowalski@debian:~$ sudo lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 07)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:14.3 Network controller: Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller (rev 10)
00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1d.5 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a30d (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
3b:00.0 Non-Volatile memory controller: Sandisk Corp Device 5004 (rev 01)
3c:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)

这是lspci的结果

kowalski@debian:~$ sudo iwconfig
lo        no wireless extensions.

vmnet1    no wireless extensions.

vmnet8    no wireless extensions.

enp60s0   no wireless extensions.

这是 iwconfig 的结果

kowalski@debian:~$ sudo iwlist enp60s0 scan
enp60s0   Interface doesn't support scanning.

最后,这是我尝试扫描主界面时得到的结果。

请问有人可以帮助我吗?我必须注意到有线连接有效。

多谢。

更新

kowalski@debian:~$ sudo dmesg | grep wifi
[   20.270300] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[   20.279464] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-9000-pu-b0-jf-b0-38.ucode (-2)
[   20.279508] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-9000-pu-b0-jf-b0-38.ucode failed with error -2

这个错误出现了几次,输出的结尾是:

[   20.279889] iwlwifi 0000:00:14.3: minimum version required: iwlwifi-9000-pu-b0-jf-b0-30
[   20.279925] iwlwifi 0000:00:14.3: maximum version supported: iwlwifi-9000-pu-b0-jf-b0-38
[   20.279958] iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

答案1

最后,我找到了解决方案。

我必须安装firmware-iwlwifi,所以我在文件中使用的源后面添加了“non-free” /etc/apt/sources.list。然后,我做了:

sudo apt update && apt install firmware-iwlwifi
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi

然后,运行后sudo iwlist,我终于得到了:

kowalski@debian:~$ sudo iwconfig
lo        no wireless extensions.

wlp0s20f3  IEEE 802.11  ESSID:"******"  
          Mode:Managed  Frequency:5.5 GHz  Access Point: **:**:**:**:**:**   
          Bit Rate=6 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=64/70  Signal level=-46 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:9   Missed beacon:0

vmnet1    no wireless extensions.

vmnet8    no wireless extensions.

enp60s0   no wireless extensions.

我只是隐藏了“个人”内容,并且我的 Wifi 能够通过网络管理器连接。

相关内容