我是 kali Linux 新手,我的 hp 笔记本电脑未检测到任何 wifi 网络。这是 lspci 的结果
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723DE 802.11b/g/n PCIe Adapter
我想我需要安装 RLT8723DE wifi 驱动程序。我什至尝试过
cd Downloads/
git clone -b extended --single-branch https://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
后来当我发出“make”命令时我得到了这个
make: *** No targets specified and no makefile found. Stop.
从我提到的地方我也得到了另一种方法,所以我尝试了
sudo dkms add ../rtlwifi_new
然后我得到了这个结果
Error! Could not find module source directory.
Directory: /usr/src/..-rtlwifi_new does not exist.
请任何人帮我解决这个问题。
我尝试了@GAD3R先生所说的,但收到了新的错误。
aashiq@kali:~/Downloads/rtlwifi_new$ make
make -C /lib/modules/5.4.0-kali2-amd64/build M=/home/aashiq/Downloads/rtlwifi_new modules
make[1]: *** /lib/modules/5.4.0-kali2-amd64/build: No such file or directory. Stop.
make: *** [Makefile:79: all] Error 2
我还通过进入该路径进行了检查/lib/modules/5.4.0-kali2-amd64/
并且没有名为的目录build
答案1
请参阅 安装说明 在 LWFinger 存储库中。
sudo apt-get update
sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git
git clone https://github.com/lwfinger/rtw88.git
cd rtw88
make
sudo make install
sudo modprobe -rv rtw_8723de
sudo modprobe -v rtw_8723de