sudo eopkg it -c system.devel, just install the basic development tools, it's likely missing something in there.

    Justin
    Thanks for taking the time to reply - will give it a shot. All the best Alex

    14 days later

    Hi I have the same problem but even by installing the dev tools it doesn’t work:/

    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.20.16-112.current/build M=/home/shinryu/rtl8821ce modules
    make[1]: *** /lib/modules/4.20.16-112.current/build : Aucun fichier ou dossier de ce type. Arrêt.
    make: *** [Makefile:1902: modules] Error 2

    I'm sorry, i'm french and very bad english

    Looks like it might need the kernel headers. Try installing linux-current-headers.

    Simply change sudo make all to just make.

    Thanks , it work, problem is solved 😉

    Just for future reference: I've been using the driver over at https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce, and it has been working fine for me. One just has to edit the line of the makefile:

    export TopDIR ?= $(srctree)/drivers/net/wireless/rtl8821ce

    to an appropriate path, then make the makefile. If anyone knows of advantages or disadvantages with either driver, it would be nice to know.

    2 years later

    Also for future reference, if you just had a fresh install, remember to reboot after installing the packages described above, THEN run the make file.

    a month later

    First of all, thank you all for this thread, I followed this advice and it worked perfectly... until I restarted my computer, and now I'm back to "no wifi adapter detected". Has this happened to anyone else?

      mintaka You might have just experienced a kernel update without realizing it. Reinstall the driver following the advice and then reboot again, see if it will disappear.