Open DocSneider opened 5 years ago
Could you also add a comment in the instructions about the Net Manager bug and the fix echo -e "\n[device]\nwifi.scan-rand-mac-address=no" | sudo tee -a /etc/NetworkManager/NetworkManager.conf
I need help on this please. Im always getting this error. About kernel header.
pi@raspberrypi:~ $ cd rtl8821CU/ -bash: cd: rtl8821CU/: No such file or directory pi@raspberrypi:~ $ cd /tmp/ pi@raspberrypi:/tmp $ cd rtl8821CU/ pi@raspberrypi:/tmp/rtl8821CU $ git archive master | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION} pi@raspberrypi:/tmp/rtl8821CU $ sudo dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
Creating symlink /var/lib/dkms/rtl8821CU/5.2.5.3/source -> /usr/src/rtl8821CU-5.2.5.3
DKMS: add completed. pi@raspberrypi:/tmp/rtl8821CU $ sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION} Error! echo Your kernel headers for kernel 4.9.41-v7+ cannot be found at /lib/modules/4.9.41-v7+/build or /lib/modules/4.9.41-v7+/source.
Ok so now im stuck here:
pi@raspberrypi:/tmp/rtl8821CU $ sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
Kernel preparation unnecessary for this kernel. Skipping...
Building module: cleaning build area... 'make' KVER=4.19.75-v7+....(bad exit status: 2) Error! Bad return status for module build on kernel: 4.19.75-v7+ (armv7l) Consult /var/lib/dkms/rtl8821CU/5.2.5.3/build/make.log for more information.
Maybe it would be ok to change the build-instructions like this:
Because some users are not so familiar with git.