我尝试按照此链接中提到的步骤进行操作: make:*** [模块] 错误 2
当我输入此命令时:
sudo modprobe rtl8723de
我收到错误:
modprobe: FATAL: Module rtl8723de not found in directory /lib/modules/4.15.0-34-generic
之前我尝试了该命令rm /etc/modprobe.d/iwlwifi.conf
,因为它给出了错误的选项错误。
步骤如下:
$ sudo rm -r rtl8723de*
rm: cannot remove 'rtl8723de*': No such file or directory
$ sudo apt update && sudo apt -y install git
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ git clone https://github.com/lwfinger/rtlwifi_new.git
done
$ cd rtlwifi_new
$ make
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-34-generic'
$ sudo make install
make -C /lib/modules/4.15.0-34-generic/build M=/home/shubham/rtlwifi_new modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-34-generic'
Building modules, stage 2.
MODPOST 15 modules
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-34-generic'
Making backups
Install rtlwifi SUCCESS
$ sudo modprobe rtl8723de
modprobe: FATAL: Module rtl8723de not found in directory /lib/modules/4.15.0-34-generic
答案1
请尝试:
sudo rm -rf rtlwifi_new
git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo make install
sudo modprobe rtl8723de
如有任何错误,请发表。
我们克隆了 git 的“扩展”分支。Finger 先生目前维护九此驱动程序套件的分支。他会不时添加和删除分支。因此,并非每个论坛上发布的每个答案都会永远有效。