


Realtek Wi-Fi driver Auto installation script While installing Realtek WiFi adapter I am getting the following error it is a RTL8188EUS chipset which came with a CD enter image description here chmod +x install.sh NB: don't expect this to be enough if UEFI secure boot is enabled.This is my first hand experience with Linux so I'm not really sure what has gone wrong. Manually, if you don't want to remove/reinsert the USB NIC right after installation, you can now do: modprobe rtl8822bu USB should be plug-and-play, so I'm not sure the Reddit suggestion is then needed, you could try without first and if needed add it. That's what you have to add, but it should be run as root (or prepend sudo, or guess the destination and copy files manually), since only root can write to the target destination ( /lib/modules/.): sudo make -C /lib/modules/`uname -r`/build M=$PWD modules_installĪnd then you might also have to rebuild modules dependencies (assuming here it's with the current kernel), again with root privileges: sudo depmod -a

“modules_install” to the command: $ make -C /lib/modules/`uname -r`/build M=$PWD modules_install Then to install the module(s) just built, add the target To finalize the installation, one should still follow kernel's documentation: The -C option will continue inside kernel source/headers makefiles having additional targets. $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules It's still about building a kernel external module as described officially there:īut the module author appears to have made a few things to simplify user's life, and a simple make will build because of various variables set and then used there: all: modules The author only described additional information.
