从 https://github.com/lwfinger/rtlwifi_new.git 安装 rtl8723de 驱动程序时出错

从 https://github.com/lwfinger/rtlwifi_new.git 安装 rtl8723de 驱动程序时出错

我按照以下步骤安装 rtl8723de 的 WiFi 驱动程序:

sudo apt update
sudo apt install git dkms
git clone -b rtw88 https://github.com/lwfinger/rtlwifi_new.git
sudo dkms add ./rtlwifi_new
sudo dkms install rtlwifi-new/0.6

我面临以下问题:

$ sudo dkms install rtlwifi-new/0.6
Error! Your kernel headers for kernel 5.3.0-59-generic cannot be found.
Please install the linux-headers-5.3.0-59-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located

请帮忙!

答案1

请尝试:

sudo apt update
sudo apt install linux-headers-generic

接下来,尝试再次安装无线驱动程序。

答案2

https://github.com/smlinux/rtl8723de这是安装驱动程序的新链接。旧链接现已过时。

只要按照说明操作,WiFi 就会正常运行。

问候,Gargi

相关内容