Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE)How to install Wi-Fi driver for Realtek RTL8821CE on Ubuntu 18.04?Driver for Realtek rtl8821ce (Lenovo 720S-13ARR ultrabook)Ubuntu 18.04 HP Laptop Realtek 8821CE WiFi Adapter not workingWifi doesn't work on Lenovo ideapad-130-15IKBWireless LAN not working on Lenovo Ideapad 330 Ubuntu 18.04Wireless LAN not working on Lenovo Ideapad 330How do I install Realtek rtl8821ce driver on Ubuntu 18.10?Lenovo Ideapad 720S and Ubuntu 17.10 does not see rtlwifi NIC rtl8821CEwifi adapter not found. 18.10 19.04 lenovo 330No WiFi Adapter Found Ubuntu 18.04.02 Desktop in HP Laptop Model 15-daxxxActivate/deactivate Wi-Fi on Lenovo B5400 under Ubuntu 14.04ThinkPad X61 wireless failureBluetooth not working Lenovo G580 Ubuntu 14.04 LTSWiFi not working on Asus Q503UA Xubuntu 14.04disable default network package and use wicd

being overqualified as a barrier for getting a job

Is the net charge on a capacitor zero? If yes, then why?

USA fingerprint on arrival

How to optimise the use of 10 nuclear fuel pellets in medieval period?

What's the advantage of importance sampling?

Why are the Democrats & Republicans so homogeneous in their opinions of impeaching Trump?

List Product / Combinations With Strings

How to write rhead only on the first page?

What's the name of this retro Simpsons videogame?

Values in a table, or spreadtab table, given to 2 decimal places

What are some games I can watch to become better in playing chess?

What is the structure in this question? "it's difficult knowing which one to choose."

Software to assist drawing of complex, three-dimensional skeletal formula from scratch or from existing crystal structure

Table columns widths are not equal

How can I force a bank to close my account with them?

What does "x employee is no longer employed by XYZ company" mean?

Set identification

Why aren't we seeing carbon taxes in practice?

Speedup or Caching for a Multi-Iteration MIP problem

Is paying for portrait photos good for the people in the community you're photographing?

Are there any spell casters that can cast life giving spells without 'expensive' components?

What does a reduction gearbox do in a turbofan engine?

Any reason not to use global lambdas?

Why are bicycle tires incapable of maintaining pressure over time, while car tyres seem to have less of a problem?



Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE)


How to install Wi-Fi driver for Realtek RTL8821CE on Ubuntu 18.04?Driver for Realtek rtl8821ce (Lenovo 720S-13ARR ultrabook)Ubuntu 18.04 HP Laptop Realtek 8821CE WiFi Adapter not workingWifi doesn't work on Lenovo ideapad-130-15IKBWireless LAN not working on Lenovo Ideapad 330 Ubuntu 18.04Wireless LAN not working on Lenovo Ideapad 330How do I install Realtek rtl8821ce driver on Ubuntu 18.10?Lenovo Ideapad 720S and Ubuntu 17.10 does not see rtlwifi NIC rtl8821CEwifi adapter not found. 18.10 19.04 lenovo 330No WiFi Adapter Found Ubuntu 18.04.02 Desktop in HP Laptop Model 15-daxxxActivate/deactivate Wi-Fi on Lenovo B5400 under Ubuntu 14.04ThinkPad X61 wireless failureBluetooth not working Lenovo G580 Ubuntu 14.04 LTSWiFi not working on Asus Q503UA Xubuntu 14.04disable default network package and use wicd






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









14


















We just bought a Lenovo ThinkPad E570 (which is supposed to have the Intel 8265 for wireless). This laptop was bought in part because it is certified to run Ubuntu and as such to me at least it would make sense for things to work out of the box... but no such luck.



First, I installed Ubuntu 17.10 and after installation realised Wi-Fi was not working. I also tried Ubuntu 16.04 from a USB drive since that is the version of Ubuntu it is certified for, but no luck there either.



The wireless chip is not detected by lshw (or even lspci by the looks of it), ip link does not show a wireless interface, and the iwlwifi kernel module is not loaded at boot (I can load this myself using modprobe iwlwifi but this does not make Wi-Fi work). I think it is a combined Wi-Fi/Bluetooth chip, and Bluetooth does appear to work (or at least Bluetooth shows up in Gnome and rfkill list).



modinfo iwlwifi | grep 8265 shows me a file ending in -34 is supposedly loaded but only a file ending in -33 (and some other lower numbers) is present in /lib/firmware, if that helps).



I have also installed the Linux 4.14.9 kernel in an attempt to get things to work, but this did not resolve the issue either.



Further information



root@ThinkPad-E570:~# modinfo iwlwifi | grep 8265
firmware: iwlwifi-8265-34.ucode
root@ThinkPad-E570:~# rfkill list all
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
root@ThinkPad-E570:~# dmesg | grep iwl
root@ThinkPad-E570:~# lspci -nnk | grep 0280 -A3
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]
Subsystem: Lenovo Device [17aa:c024]


Update



I just noticed that the laptop does not have an Intel wireless chip at all, but in fact has a Realtek one... which means that the specs presented on the product page of the shop I bought this laptop at were not accurate... Sigh. Same problem stands, however, just with a crappier wireless chip.










share|improve this question






















  • 1





    For future Googlers, I'd like to note that the chosen answer also works on Linux Mint 19.1

    – LondonRob
    May 9 at 15:33











  • The Lenovo website specifies it has an Intel WiFi card, so if you bought it used, you have a case against the shop. See the weblinks added above for confirmation.

    – K7AAY
    Aug 2 at 22:00






  • 1





    This worked for me youtube.com/watch?v=vPfLVsyQU_A

    – Dagang
    Aug 26 at 3:44











  • thanks @Dagang, you saved my hours. I am tried it on lenovo ideapad 130 15ikb.

    – Hridaynath
    Oct 11 at 4:30

















14


















We just bought a Lenovo ThinkPad E570 (which is supposed to have the Intel 8265 for wireless). This laptop was bought in part because it is certified to run Ubuntu and as such to me at least it would make sense for things to work out of the box... but no such luck.



First, I installed Ubuntu 17.10 and after installation realised Wi-Fi was not working. I also tried Ubuntu 16.04 from a USB drive since that is the version of Ubuntu it is certified for, but no luck there either.



The wireless chip is not detected by lshw (or even lspci by the looks of it), ip link does not show a wireless interface, and the iwlwifi kernel module is not loaded at boot (I can load this myself using modprobe iwlwifi but this does not make Wi-Fi work). I think it is a combined Wi-Fi/Bluetooth chip, and Bluetooth does appear to work (or at least Bluetooth shows up in Gnome and rfkill list).



modinfo iwlwifi | grep 8265 shows me a file ending in -34 is supposedly loaded but only a file ending in -33 (and some other lower numbers) is present in /lib/firmware, if that helps).



I have also installed the Linux 4.14.9 kernel in an attempt to get things to work, but this did not resolve the issue either.



Further information



root@ThinkPad-E570:~# modinfo iwlwifi | grep 8265
firmware: iwlwifi-8265-34.ucode
root@ThinkPad-E570:~# rfkill list all
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
root@ThinkPad-E570:~# dmesg | grep iwl
root@ThinkPad-E570:~# lspci -nnk | grep 0280 -A3
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]
Subsystem: Lenovo Device [17aa:c024]


Update



I just noticed that the laptop does not have an Intel wireless chip at all, but in fact has a Realtek one... which means that the specs presented on the product page of the shop I bought this laptop at were not accurate... Sigh. Same problem stands, however, just with a crappier wireless chip.










share|improve this question






















  • 1





    For future Googlers, I'd like to note that the chosen answer also works on Linux Mint 19.1

    – LondonRob
    May 9 at 15:33











  • The Lenovo website specifies it has an Intel WiFi card, so if you bought it used, you have a case against the shop. See the weblinks added above for confirmation.

    – K7AAY
    Aug 2 at 22:00






  • 1





    This worked for me youtube.com/watch?v=vPfLVsyQU_A

    – Dagang
    Aug 26 at 3:44











  • thanks @Dagang, you saved my hours. I am tried it on lenovo ideapad 130 15ikb.

    – Hridaynath
    Oct 11 at 4:30













14













14









14


9






We just bought a Lenovo ThinkPad E570 (which is supposed to have the Intel 8265 for wireless). This laptop was bought in part because it is certified to run Ubuntu and as such to me at least it would make sense for things to work out of the box... but no such luck.



First, I installed Ubuntu 17.10 and after installation realised Wi-Fi was not working. I also tried Ubuntu 16.04 from a USB drive since that is the version of Ubuntu it is certified for, but no luck there either.



The wireless chip is not detected by lshw (or even lspci by the looks of it), ip link does not show a wireless interface, and the iwlwifi kernel module is not loaded at boot (I can load this myself using modprobe iwlwifi but this does not make Wi-Fi work). I think it is a combined Wi-Fi/Bluetooth chip, and Bluetooth does appear to work (or at least Bluetooth shows up in Gnome and rfkill list).



modinfo iwlwifi | grep 8265 shows me a file ending in -34 is supposedly loaded but only a file ending in -33 (and some other lower numbers) is present in /lib/firmware, if that helps).



I have also installed the Linux 4.14.9 kernel in an attempt to get things to work, but this did not resolve the issue either.



Further information



root@ThinkPad-E570:~# modinfo iwlwifi | grep 8265
firmware: iwlwifi-8265-34.ucode
root@ThinkPad-E570:~# rfkill list all
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
root@ThinkPad-E570:~# dmesg | grep iwl
root@ThinkPad-E570:~# lspci -nnk | grep 0280 -A3
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]
Subsystem: Lenovo Device [17aa:c024]


Update



I just noticed that the laptop does not have an Intel wireless chip at all, but in fact has a Realtek one... which means that the specs presented on the product page of the shop I bought this laptop at were not accurate... Sigh. Same problem stands, however, just with a crappier wireless chip.










share|improve this question
















We just bought a Lenovo ThinkPad E570 (which is supposed to have the Intel 8265 for wireless). This laptop was bought in part because it is certified to run Ubuntu and as such to me at least it would make sense for things to work out of the box... but no such luck.



First, I installed Ubuntu 17.10 and after installation realised Wi-Fi was not working. I also tried Ubuntu 16.04 from a USB drive since that is the version of Ubuntu it is certified for, but no luck there either.



The wireless chip is not detected by lshw (or even lspci by the looks of it), ip link does not show a wireless interface, and the iwlwifi kernel module is not loaded at boot (I can load this myself using modprobe iwlwifi but this does not make Wi-Fi work). I think it is a combined Wi-Fi/Bluetooth chip, and Bluetooth does appear to work (or at least Bluetooth shows up in Gnome and rfkill list).



modinfo iwlwifi | grep 8265 shows me a file ending in -34 is supposedly loaded but only a file ending in -33 (and some other lower numbers) is present in /lib/firmware, if that helps).



I have also installed the Linux 4.14.9 kernel in an attempt to get things to work, but this did not resolve the issue either.



Further information



root@ThinkPad-E570:~# modinfo iwlwifi | grep 8265
firmware: iwlwifi-8265-34.ucode
root@ThinkPad-E570:~# rfkill list all
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
root@ThinkPad-E570:~# dmesg | grep iwl
root@ThinkPad-E570:~# lspci -nnk | grep 0280 -A3
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]
Subsystem: Lenovo Device [17aa:c024]


Update



I just noticed that the laptop does not have an Intel wireless chip at all, but in fact has a Realtek one... which means that the specs presented on the product page of the shop I bought this laptop at were not accurate... Sigh. Same problem stands, however, just with a crappier wireless chip.







networking wireless lenovo realtek-wireless






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 2 at 21:59









K7AAY

8,0215 gold badges23 silver badges52 bronze badges




8,0215 gold badges23 silver badges52 bronze badges










asked Dec 28 '17 at 23:11









RobinJRobinJ

7,8375 gold badges40 silver badges66 bronze badges




7,8375 gold badges40 silver badges66 bronze badges










  • 1





    For future Googlers, I'd like to note that the chosen answer also works on Linux Mint 19.1

    – LondonRob
    May 9 at 15:33











  • The Lenovo website specifies it has an Intel WiFi card, so if you bought it used, you have a case against the shop. See the weblinks added above for confirmation.

    – K7AAY
    Aug 2 at 22:00






  • 1





    This worked for me youtube.com/watch?v=vPfLVsyQU_A

    – Dagang
    Aug 26 at 3:44











  • thanks @Dagang, you saved my hours. I am tried it on lenovo ideapad 130 15ikb.

    – Hridaynath
    Oct 11 at 4:30












  • 1





    For future Googlers, I'd like to note that the chosen answer also works on Linux Mint 19.1

    – LondonRob
    May 9 at 15:33











  • The Lenovo website specifies it has an Intel WiFi card, so if you bought it used, you have a case against the shop. See the weblinks added above for confirmation.

    – K7AAY
    Aug 2 at 22:00






  • 1





    This worked for me youtube.com/watch?v=vPfLVsyQU_A

    – Dagang
    Aug 26 at 3:44











  • thanks @Dagang, you saved my hours. I am tried it on lenovo ideapad 130 15ikb.

    – Hridaynath
    Oct 11 at 4:30







1




1





For future Googlers, I'd like to note that the chosen answer also works on Linux Mint 19.1

– LondonRob
May 9 at 15:33





For future Googlers, I'd like to note that the chosen answer also works on Linux Mint 19.1

– LondonRob
May 9 at 15:33













The Lenovo website specifies it has an Intel WiFi card, so if you bought it used, you have a case against the shop. See the weblinks added above for confirmation.

– K7AAY
Aug 2 at 22:00





The Lenovo website specifies it has an Intel WiFi card, so if you bought it used, you have a case against the shop. See the weblinks added above for confirmation.

– K7AAY
Aug 2 at 22:00




1




1





This worked for me youtube.com/watch?v=vPfLVsyQU_A

– Dagang
Aug 26 at 3:44





This worked for me youtube.com/watch?v=vPfLVsyQU_A

– Dagang
Aug 26 at 3:44













thanks @Dagang, you saved my hours. I am tried it on lenovo ideapad 130 15ikb.

– Hridaynath
Oct 11 at 4:30





thanks @Dagang, you saved my hours. I am tried it on lenovo ideapad 130 15ikb.

– Hridaynath
Oct 11 at 4:30










6 Answers
6






active

oldest

votes


















14



















First, I would suggest that these instructions are more likely to work with Ubuntu 17.10. If you are not currently running it now, I suggest that you re-install it.



Click this link to download the driver file: https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce



Unless you have specified otherwise in your browser, downloads go to the directory Downloads. Open a terminal and do:



cd ~/Downloads
unzip rtl8821ce.zip
cd rtl8821ce
nano Makefile


Scroll down to line 152 and change the line that now reads:



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


To now read:



export TopDIR ?= $ ~/Downloads/rtl8821ce


Proofread carefully, twice, and save (Ctrl+o followed by Enter) and close (Ctrl+x) the text editor.



Now do:



make
sudo make install
sudo modprobe 8821ce


Your wireless should now be working.



EDIT: You have compiled the module for your currently running kernel version only. When Update Manager offers a later kernel version, known as linux-image, after the requested reboot, you must recompile:



cd rtl8821ce
make clean
make
sudo make install
sudo modprobe 8821ce


Please retain the file and these instructions for that time.






share|improve this answer



























  • This is what I found yesterday as well and it worked :) One thing I'm curious about is whether this will keep working across kernel updates, though.

    – RobinJ
    Dec 30 '17 at 10:32











  • Very good catch! Please see my edit above in a few moments.

    – chili555
    Dec 30 '17 at 15:18











  • after editing the file i tried to run make command , but it gives me an error. i run the "make" in the "rtl8821ce" directory , the error is /bin/sh: 1 cc:not found. Any idea . Is make a default utility comes with OS ?

    – DILEEP THOMAS
    Sep 18 '18 at 7:15











  • @DILEEPTHOMAS Please start your own new question.

    – chili555
    Sep 18 '18 at 12:56











  • For me edit the file wasnt necessary. Just download driver compile install and activate mod where enough. Thanks!!!

    – Diego Andrés Díaz Espinoza
    Dec 25 '18 at 17:01


















14



















This is a follow up to stason's answer who suggests using dkms.



As far as I can tell, at the time of writing this, there is not yet a Wifi Driver for the Realtek RTL8821CE in the official Ubuntu Repositories.



Over on github there is a repository with an RTL8821CE driver aimed at kernels 4.14 and above and specifically for Arch Linux with no support provided for other Linux Distros: https://github.com/tomaspinho/rtl8821ce



(Minor note: as of February 2019 tomaspinho is sadly no longer able to maintain the driver as he no longer has access to a computer with this chipset, and so a new maintainer may be needed, but the driver still works with Ubuntu 18.04 as at that time.)



It has, however, been reported to work just fine with Ubuntu 18.04.



A temporary internet connection will be required (such as an ethernet cable, USB wifi dongle or connecting your phone with a usb cable and 'tethering' it to use your phone's Wifi)



The solution is taken directly from post #4 by Praseodym (much praise to their wisdom!): https://ubuntuforums.org/showthread.php?t=2398917 and will install a number of packages for building the wifi driver module (git, dkms, build-essential & linux-headers) and clone the rtl8821ce git repository from tomaspinho (much praise also!).



DKMS is used because it's "a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated."




Open up a terminal and type the following lines (You can cut and paste if you prefer):



sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
chmod +x dkms-install.sh
chmod +x dkms-remove.sh
sudo ./dkms-install.sh


After this is completed successfully, you should reboot and find that your Wifi is working.



You also want to make sure SecureBoot is Disabled in the BIOS settings or it won't let you load the unsigned self-complied kernel module.






share|improve this answer



























  • I can confirm the you don't need to disable SecureBoot. If you have SecureBoot enabled simply follow the prompts during the sudo ./dkms-install.sh and enter the same password which you will choose during the reboot.

    – Niel de Wet
    Dec 1 '18 at 12:26






  • 1





    Worked for me. Saved my time.

    – Iftakharul Alam
    Jan 15 at 7:06











  • Fantastic. Thank you. This worked for me.

    – Dr Xorile
    Nov 15 at 21:43


















2



















Update 2018-02-27



Please note the suggested driver is for Endless OS and therefore it might break at any point. If any body has an official driver for Ubuntu it will be better.



Original Answer



This is not a new answer, would be better a comment.



So I tried to follow @chili555 answer but I kept getting errors while trying to make the module.



Errors like:



/rtl8821ce/include/osdep_service_linux.h:294:2: error: implicit declaration of function ‘timer_setup’; did you mean ‘ether_setup’?
[-Werror=implicit-function-declaration]
timer_setup(ptimer, pfunc, 0);
^~~~~~~~~~~ ether_setup


So I tried downloading a different revision (zip archive direct download link) which by the time of the original answer might be master as well. Then I was able to make the module and install following the steps provided by @chili555






share|improve this answer


































    2



















    dkms build/install for rtl8821ce can be found here: https://github.com/tomaspinho/rtl8821ce



    When you use that approach you won't need to rebuild the module each time kernel is updated.



    I have just built it on Lenovo Idea 720s with kubuntu 18.04.




    Also I suggest you edit Makefile to change the log level from 4 (info) to 3 (warnings). Otherwise you will find your /var/log/syslog filling up at a crazy speed with useless info messages from the driver.



    So edit Makefile, to change:



    CONFIG_RTW_LOG_LEVEL = 4


    to:



    CONFIG_RTW_LOG_LEVEL = 3


    and then build and install the module as per instructions. If you already installed it, you need to uninstall it (using dkms-remove.sh) and then reinstall it again.



    Alternatively you can manually change the log level until next reboot with:



    echo 3 > /proc/net/rtl8821ce/log_level


    update: the maintainer changed the Makefile to reflect this suggestion, so if you make a fresh checkout/download it'll already have the right (quiet) setting.






    share|improve this answer


































      1



















      A solution for the timer error.



      I manage to make it work for my lenovo E570 with ubuntu 16.04 and here are my steps:
      First, I upgrade my kernel version to 4.15.4 using this guide



      I believe any kernel version above 4.15.4 should work because I had to upgrade my kernel to 4.15.9 again. Note the driver needs to be reinstalled.



      Then, I followed the steps mentioned in @chili555 answers






      share|improve this answer



























      • What do you mean by "installing the driver"?

        – pim
        Mar 13 '18 at 5:44











      • It means you need to sudo make install again. please let me know if it worked for you and what kernel version are you using. This method worked for me before, but recently I had to reinstall ubuntu several times and it stopped working for me.

        – Juichung_Kuo
        Mar 13 '18 at 21:58












      • The following thread includes an alternative driver to the 8821ce, link and it works for me again

        – Juichung_Kuo
        Mar 17 '18 at 21:06












      • I seem to have exactly the same machine as you, running 16.04 LTS and seem to be having exactly the same issues, but without any success. Is it possible for you to post, line by line, exactly what you did to get yours working: I seems to be going round in circles and keep seeing the back of my head. Arrrrgh. Thanks.

        – Piloti
        Jan 22 at 20:50












      • uh.. it's been a while and I dont remember exactly what i did to fix it. But did you check out the link i posted above because it contains what commands i used. also have you tried this: github.com/lwfinger/rtlwifi_new

        – Juichung_Kuo
        Jan 28 at 22:52



















      0



















      credits to praseodym from ubuntuusers.de for this short tutorial using dkms to install the driver because after trying several answered variants, only this worked for me on a fresh installed debian 10 (buster):



      sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
      git clone https://github.com/tomaspinho/rtl8821ce
      cd rtl8821ce
      chmod +x dkms-install.sh
      chmod +x dkms-remove.sh
      sudo ./dkms-install.sh


      removal works this way:



      sudo ./dkms-remove.sh 


      it was also mentioned to eventually disable secure boot, even before os installation. not sure if this makes a difference because i was needing this on a "HP Slimline (290-a0512ng) Desktop PC" which had secure boot disabled by default i checked/noticed after os installation.






      share|improve this answer





























        6 Answers
        6






        active

        oldest

        votes








        6 Answers
        6






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        14



















        First, I would suggest that these instructions are more likely to work with Ubuntu 17.10. If you are not currently running it now, I suggest that you re-install it.



        Click this link to download the driver file: https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce



        Unless you have specified otherwise in your browser, downloads go to the directory Downloads. Open a terminal and do:



        cd ~/Downloads
        unzip rtl8821ce.zip
        cd rtl8821ce
        nano Makefile


        Scroll down to line 152 and change the line that now reads:



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


        To now read:



        export TopDIR ?= $ ~/Downloads/rtl8821ce


        Proofread carefully, twice, and save (Ctrl+o followed by Enter) and close (Ctrl+x) the text editor.



        Now do:



        make
        sudo make install
        sudo modprobe 8821ce


        Your wireless should now be working.



        EDIT: You have compiled the module for your currently running kernel version only. When Update Manager offers a later kernel version, known as linux-image, after the requested reboot, you must recompile:



        cd rtl8821ce
        make clean
        make
        sudo make install
        sudo modprobe 8821ce


        Please retain the file and these instructions for that time.






        share|improve this answer



























        • This is what I found yesterday as well and it worked :) One thing I'm curious about is whether this will keep working across kernel updates, though.

          – RobinJ
          Dec 30 '17 at 10:32











        • Very good catch! Please see my edit above in a few moments.

          – chili555
          Dec 30 '17 at 15:18











        • after editing the file i tried to run make command , but it gives me an error. i run the "make" in the "rtl8821ce" directory , the error is /bin/sh: 1 cc:not found. Any idea . Is make a default utility comes with OS ?

          – DILEEP THOMAS
          Sep 18 '18 at 7:15











        • @DILEEPTHOMAS Please start your own new question.

          – chili555
          Sep 18 '18 at 12:56











        • For me edit the file wasnt necessary. Just download driver compile install and activate mod where enough. Thanks!!!

          – Diego Andrés Díaz Espinoza
          Dec 25 '18 at 17:01















        14



















        First, I would suggest that these instructions are more likely to work with Ubuntu 17.10. If you are not currently running it now, I suggest that you re-install it.



        Click this link to download the driver file: https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce



        Unless you have specified otherwise in your browser, downloads go to the directory Downloads. Open a terminal and do:



        cd ~/Downloads
        unzip rtl8821ce.zip
        cd rtl8821ce
        nano Makefile


        Scroll down to line 152 and change the line that now reads:



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


        To now read:



        export TopDIR ?= $ ~/Downloads/rtl8821ce


        Proofread carefully, twice, and save (Ctrl+o followed by Enter) and close (Ctrl+x) the text editor.



        Now do:



        make
        sudo make install
        sudo modprobe 8821ce


        Your wireless should now be working.



        EDIT: You have compiled the module for your currently running kernel version only. When Update Manager offers a later kernel version, known as linux-image, after the requested reboot, you must recompile:



        cd rtl8821ce
        make clean
        make
        sudo make install
        sudo modprobe 8821ce


        Please retain the file and these instructions for that time.






        share|improve this answer



























        • This is what I found yesterday as well and it worked :) One thing I'm curious about is whether this will keep working across kernel updates, though.

          – RobinJ
          Dec 30 '17 at 10:32











        • Very good catch! Please see my edit above in a few moments.

          – chili555
          Dec 30 '17 at 15:18











        • after editing the file i tried to run make command , but it gives me an error. i run the "make" in the "rtl8821ce" directory , the error is /bin/sh: 1 cc:not found. Any idea . Is make a default utility comes with OS ?

          – DILEEP THOMAS
          Sep 18 '18 at 7:15











        • @DILEEPTHOMAS Please start your own new question.

          – chili555
          Sep 18 '18 at 12:56











        • For me edit the file wasnt necessary. Just download driver compile install and activate mod where enough. Thanks!!!

          – Diego Andrés Díaz Espinoza
          Dec 25 '18 at 17:01













        14















        14











        14









        First, I would suggest that these instructions are more likely to work with Ubuntu 17.10. If you are not currently running it now, I suggest that you re-install it.



        Click this link to download the driver file: https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce



        Unless you have specified otherwise in your browser, downloads go to the directory Downloads. Open a terminal and do:



        cd ~/Downloads
        unzip rtl8821ce.zip
        cd rtl8821ce
        nano Makefile


        Scroll down to line 152 and change the line that now reads:



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


        To now read:



        export TopDIR ?= $ ~/Downloads/rtl8821ce


        Proofread carefully, twice, and save (Ctrl+o followed by Enter) and close (Ctrl+x) the text editor.



        Now do:



        make
        sudo make install
        sudo modprobe 8821ce


        Your wireless should now be working.



        EDIT: You have compiled the module for your currently running kernel version only. When Update Manager offers a later kernel version, known as linux-image, after the requested reboot, you must recompile:



        cd rtl8821ce
        make clean
        make
        sudo make install
        sudo modprobe 8821ce


        Please retain the file and these instructions for that time.






        share|improve this answer
















        First, I would suggest that these instructions are more likely to work with Ubuntu 17.10. If you are not currently running it now, I suggest that you re-install it.



        Click this link to download the driver file: https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce



        Unless you have specified otherwise in your browser, downloads go to the directory Downloads. Open a terminal and do:



        cd ~/Downloads
        unzip rtl8821ce.zip
        cd rtl8821ce
        nano Makefile


        Scroll down to line 152 and change the line that now reads:



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


        To now read:



        export TopDIR ?= $ ~/Downloads/rtl8821ce


        Proofread carefully, twice, and save (Ctrl+o followed by Enter) and close (Ctrl+x) the text editor.



        Now do:



        make
        sudo make install
        sudo modprobe 8821ce


        Your wireless should now be working.



        EDIT: You have compiled the module for your currently running kernel version only. When Update Manager offers a later kernel version, known as linux-image, after the requested reboot, you must recompile:



        cd rtl8821ce
        make clean
        make
        sudo make install
        sudo modprobe 8821ce


        Please retain the file and these instructions for that time.







        share|improve this answer















        share|improve this answer




        share|improve this answer








        edited Dec 30 '17 at 15:22

























        answered Dec 29 '17 at 14:52









        chili555chili555

        42.6k6 gold badges57 silver badges89 bronze badges




        42.6k6 gold badges57 silver badges89 bronze badges















        • This is what I found yesterday as well and it worked :) One thing I'm curious about is whether this will keep working across kernel updates, though.

          – RobinJ
          Dec 30 '17 at 10:32











        • Very good catch! Please see my edit above in a few moments.

          – chili555
          Dec 30 '17 at 15:18











        • after editing the file i tried to run make command , but it gives me an error. i run the "make" in the "rtl8821ce" directory , the error is /bin/sh: 1 cc:not found. Any idea . Is make a default utility comes with OS ?

          – DILEEP THOMAS
          Sep 18 '18 at 7:15











        • @DILEEPTHOMAS Please start your own new question.

          – chili555
          Sep 18 '18 at 12:56











        • For me edit the file wasnt necessary. Just download driver compile install and activate mod where enough. Thanks!!!

          – Diego Andrés Díaz Espinoza
          Dec 25 '18 at 17:01

















        • This is what I found yesterday as well and it worked :) One thing I'm curious about is whether this will keep working across kernel updates, though.

          – RobinJ
          Dec 30 '17 at 10:32











        • Very good catch! Please see my edit above in a few moments.

          – chili555
          Dec 30 '17 at 15:18











        • after editing the file i tried to run make command , but it gives me an error. i run the "make" in the "rtl8821ce" directory , the error is /bin/sh: 1 cc:not found. Any idea . Is make a default utility comes with OS ?

          – DILEEP THOMAS
          Sep 18 '18 at 7:15











        • @DILEEPTHOMAS Please start your own new question.

          – chili555
          Sep 18 '18 at 12:56











        • For me edit the file wasnt necessary. Just download driver compile install and activate mod where enough. Thanks!!!

          – Diego Andrés Díaz Espinoza
          Dec 25 '18 at 17:01
















        This is what I found yesterday as well and it worked :) One thing I'm curious about is whether this will keep working across kernel updates, though.

        – RobinJ
        Dec 30 '17 at 10:32





        This is what I found yesterday as well and it worked :) One thing I'm curious about is whether this will keep working across kernel updates, though.

        – RobinJ
        Dec 30 '17 at 10:32













        Very good catch! Please see my edit above in a few moments.

        – chili555
        Dec 30 '17 at 15:18





        Very good catch! Please see my edit above in a few moments.

        – chili555
        Dec 30 '17 at 15:18













        after editing the file i tried to run make command , but it gives me an error. i run the "make" in the "rtl8821ce" directory , the error is /bin/sh: 1 cc:not found. Any idea . Is make a default utility comes with OS ?

        – DILEEP THOMAS
        Sep 18 '18 at 7:15





        after editing the file i tried to run make command , but it gives me an error. i run the "make" in the "rtl8821ce" directory , the error is /bin/sh: 1 cc:not found. Any idea . Is make a default utility comes with OS ?

        – DILEEP THOMAS
        Sep 18 '18 at 7:15













        @DILEEPTHOMAS Please start your own new question.

        – chili555
        Sep 18 '18 at 12:56





        @DILEEPTHOMAS Please start your own new question.

        – chili555
        Sep 18 '18 at 12:56













        For me edit the file wasnt necessary. Just download driver compile install and activate mod where enough. Thanks!!!

        – Diego Andrés Díaz Espinoza
        Dec 25 '18 at 17:01





        For me edit the file wasnt necessary. Just download driver compile install and activate mod where enough. Thanks!!!

        – Diego Andrés Díaz Espinoza
        Dec 25 '18 at 17:01













        14



















        This is a follow up to stason's answer who suggests using dkms.



        As far as I can tell, at the time of writing this, there is not yet a Wifi Driver for the Realtek RTL8821CE in the official Ubuntu Repositories.



        Over on github there is a repository with an RTL8821CE driver aimed at kernels 4.14 and above and specifically for Arch Linux with no support provided for other Linux Distros: https://github.com/tomaspinho/rtl8821ce



        (Minor note: as of February 2019 tomaspinho is sadly no longer able to maintain the driver as he no longer has access to a computer with this chipset, and so a new maintainer may be needed, but the driver still works with Ubuntu 18.04 as at that time.)



        It has, however, been reported to work just fine with Ubuntu 18.04.



        A temporary internet connection will be required (such as an ethernet cable, USB wifi dongle or connecting your phone with a usb cable and 'tethering' it to use your phone's Wifi)



        The solution is taken directly from post #4 by Praseodym (much praise to their wisdom!): https://ubuntuforums.org/showthread.php?t=2398917 and will install a number of packages for building the wifi driver module (git, dkms, build-essential & linux-headers) and clone the rtl8821ce git repository from tomaspinho (much praise also!).



        DKMS is used because it's "a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated."




        Open up a terminal and type the following lines (You can cut and paste if you prefer):



        sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
        git clone https://github.com/tomaspinho/rtl8821ce
        cd rtl8821ce
        chmod +x dkms-install.sh
        chmod +x dkms-remove.sh
        sudo ./dkms-install.sh


        After this is completed successfully, you should reboot and find that your Wifi is working.



        You also want to make sure SecureBoot is Disabled in the BIOS settings or it won't let you load the unsigned self-complied kernel module.






        share|improve this answer



























        • I can confirm the you don't need to disable SecureBoot. If you have SecureBoot enabled simply follow the prompts during the sudo ./dkms-install.sh and enter the same password which you will choose during the reboot.

          – Niel de Wet
          Dec 1 '18 at 12:26






        • 1





          Worked for me. Saved my time.

          – Iftakharul Alam
          Jan 15 at 7:06











        • Fantastic. Thank you. This worked for me.

          – Dr Xorile
          Nov 15 at 21:43















        14



















        This is a follow up to stason's answer who suggests using dkms.



        As far as I can tell, at the time of writing this, there is not yet a Wifi Driver for the Realtek RTL8821CE in the official Ubuntu Repositories.



        Over on github there is a repository with an RTL8821CE driver aimed at kernels 4.14 and above and specifically for Arch Linux with no support provided for other Linux Distros: https://github.com/tomaspinho/rtl8821ce



        (Minor note: as of February 2019 tomaspinho is sadly no longer able to maintain the driver as he no longer has access to a computer with this chipset, and so a new maintainer may be needed, but the driver still works with Ubuntu 18.04 as at that time.)



        It has, however, been reported to work just fine with Ubuntu 18.04.



        A temporary internet connection will be required (such as an ethernet cable, USB wifi dongle or connecting your phone with a usb cable and 'tethering' it to use your phone's Wifi)



        The solution is taken directly from post #4 by Praseodym (much praise to their wisdom!): https://ubuntuforums.org/showthread.php?t=2398917 and will install a number of packages for building the wifi driver module (git, dkms, build-essential & linux-headers) and clone the rtl8821ce git repository from tomaspinho (much praise also!).



        DKMS is used because it's "a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated."




        Open up a terminal and type the following lines (You can cut and paste if you prefer):



        sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
        git clone https://github.com/tomaspinho/rtl8821ce
        cd rtl8821ce
        chmod +x dkms-install.sh
        chmod +x dkms-remove.sh
        sudo ./dkms-install.sh


        After this is completed successfully, you should reboot and find that your Wifi is working.



        You also want to make sure SecureBoot is Disabled in the BIOS settings or it won't let you load the unsigned self-complied kernel module.






        share|improve this answer



























        • I can confirm the you don't need to disable SecureBoot. If you have SecureBoot enabled simply follow the prompts during the sudo ./dkms-install.sh and enter the same password which you will choose during the reboot.

          – Niel de Wet
          Dec 1 '18 at 12:26






        • 1





          Worked for me. Saved my time.

          – Iftakharul Alam
          Jan 15 at 7:06











        • Fantastic. Thank you. This worked for me.

          – Dr Xorile
          Nov 15 at 21:43













        14















        14











        14









        This is a follow up to stason's answer who suggests using dkms.



        As far as I can tell, at the time of writing this, there is not yet a Wifi Driver for the Realtek RTL8821CE in the official Ubuntu Repositories.



        Over on github there is a repository with an RTL8821CE driver aimed at kernels 4.14 and above and specifically for Arch Linux with no support provided for other Linux Distros: https://github.com/tomaspinho/rtl8821ce



        (Minor note: as of February 2019 tomaspinho is sadly no longer able to maintain the driver as he no longer has access to a computer with this chipset, and so a new maintainer may be needed, but the driver still works with Ubuntu 18.04 as at that time.)



        It has, however, been reported to work just fine with Ubuntu 18.04.



        A temporary internet connection will be required (such as an ethernet cable, USB wifi dongle or connecting your phone with a usb cable and 'tethering' it to use your phone's Wifi)



        The solution is taken directly from post #4 by Praseodym (much praise to their wisdom!): https://ubuntuforums.org/showthread.php?t=2398917 and will install a number of packages for building the wifi driver module (git, dkms, build-essential & linux-headers) and clone the rtl8821ce git repository from tomaspinho (much praise also!).



        DKMS is used because it's "a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated."




        Open up a terminal and type the following lines (You can cut and paste if you prefer):



        sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
        git clone https://github.com/tomaspinho/rtl8821ce
        cd rtl8821ce
        chmod +x dkms-install.sh
        chmod +x dkms-remove.sh
        sudo ./dkms-install.sh


        After this is completed successfully, you should reboot and find that your Wifi is working.



        You also want to make sure SecureBoot is Disabled in the BIOS settings or it won't let you load the unsigned self-complied kernel module.






        share|improve this answer
















        This is a follow up to stason's answer who suggests using dkms.



        As far as I can tell, at the time of writing this, there is not yet a Wifi Driver for the Realtek RTL8821CE in the official Ubuntu Repositories.



        Over on github there is a repository with an RTL8821CE driver aimed at kernels 4.14 and above and specifically for Arch Linux with no support provided for other Linux Distros: https://github.com/tomaspinho/rtl8821ce



        (Minor note: as of February 2019 tomaspinho is sadly no longer able to maintain the driver as he no longer has access to a computer with this chipset, and so a new maintainer may be needed, but the driver still works with Ubuntu 18.04 as at that time.)



        It has, however, been reported to work just fine with Ubuntu 18.04.



        A temporary internet connection will be required (such as an ethernet cable, USB wifi dongle or connecting your phone with a usb cable and 'tethering' it to use your phone's Wifi)



        The solution is taken directly from post #4 by Praseodym (much praise to their wisdom!): https://ubuntuforums.org/showthread.php?t=2398917 and will install a number of packages for building the wifi driver module (git, dkms, build-essential & linux-headers) and clone the rtl8821ce git repository from tomaspinho (much praise also!).



        DKMS is used because it's "a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated."




        Open up a terminal and type the following lines (You can cut and paste if you prefer):



        sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
        git clone https://github.com/tomaspinho/rtl8821ce
        cd rtl8821ce
        chmod +x dkms-install.sh
        chmod +x dkms-remove.sh
        sudo ./dkms-install.sh


        After this is completed successfully, you should reboot and find that your Wifi is working.



        You also want to make sure SecureBoot is Disabled in the BIOS settings or it won't let you load the unsigned self-complied kernel module.







        share|improve this answer















        share|improve this answer




        share|improve this answer








        edited Mar 1 at 13:27









        dave559

        153 bronze badges




        153 bronze badges










        answered Sep 2 '18 at 10:30









        pHeLiOnpHeLiOn

        1,1707 silver badges21 bronze badges




        1,1707 silver badges21 bronze badges















        • I can confirm the you don't need to disable SecureBoot. If you have SecureBoot enabled simply follow the prompts during the sudo ./dkms-install.sh and enter the same password which you will choose during the reboot.

          – Niel de Wet
          Dec 1 '18 at 12:26






        • 1





          Worked for me. Saved my time.

          – Iftakharul Alam
          Jan 15 at 7:06











        • Fantastic. Thank you. This worked for me.

          – Dr Xorile
          Nov 15 at 21:43

















        • I can confirm the you don't need to disable SecureBoot. If you have SecureBoot enabled simply follow the prompts during the sudo ./dkms-install.sh and enter the same password which you will choose during the reboot.

          – Niel de Wet
          Dec 1 '18 at 12:26






        • 1





          Worked for me. Saved my time.

          – Iftakharul Alam
          Jan 15 at 7:06











        • Fantastic. Thank you. This worked for me.

          – Dr Xorile
          Nov 15 at 21:43
















        I can confirm the you don't need to disable SecureBoot. If you have SecureBoot enabled simply follow the prompts during the sudo ./dkms-install.sh and enter the same password which you will choose during the reboot.

        – Niel de Wet
        Dec 1 '18 at 12:26





        I can confirm the you don't need to disable SecureBoot. If you have SecureBoot enabled simply follow the prompts during the sudo ./dkms-install.sh and enter the same password which you will choose during the reboot.

        – Niel de Wet
        Dec 1 '18 at 12:26




        1




        1





        Worked for me. Saved my time.

        – Iftakharul Alam
        Jan 15 at 7:06





        Worked for me. Saved my time.

        – Iftakharul Alam
        Jan 15 at 7:06













        Fantastic. Thank you. This worked for me.

        – Dr Xorile
        Nov 15 at 21:43





        Fantastic. Thank you. This worked for me.

        – Dr Xorile
        Nov 15 at 21:43











        2



















        Update 2018-02-27



        Please note the suggested driver is for Endless OS and therefore it might break at any point. If any body has an official driver for Ubuntu it will be better.



        Original Answer



        This is not a new answer, would be better a comment.



        So I tried to follow @chili555 answer but I kept getting errors while trying to make the module.



        Errors like:



        /rtl8821ce/include/osdep_service_linux.h:294:2: error: implicit declaration of function ‘timer_setup’; did you mean ‘ether_setup’?
        [-Werror=implicit-function-declaration]
        timer_setup(ptimer, pfunc, 0);
        ^~~~~~~~~~~ ether_setup


        So I tried downloading a different revision (zip archive direct download link) which by the time of the original answer might be master as well. Then I was able to make the module and install following the steps provided by @chili555






        share|improve this answer































          2



















          Update 2018-02-27



          Please note the suggested driver is for Endless OS and therefore it might break at any point. If any body has an official driver for Ubuntu it will be better.



          Original Answer



          This is not a new answer, would be better a comment.



          So I tried to follow @chili555 answer but I kept getting errors while trying to make the module.



          Errors like:



          /rtl8821ce/include/osdep_service_linux.h:294:2: error: implicit declaration of function ‘timer_setup’; did you mean ‘ether_setup’?
          [-Werror=implicit-function-declaration]
          timer_setup(ptimer, pfunc, 0);
          ^~~~~~~~~~~ ether_setup


          So I tried downloading a different revision (zip archive direct download link) which by the time of the original answer might be master as well. Then I was able to make the module and install following the steps provided by @chili555






          share|improve this answer





























            2















            2











            2









            Update 2018-02-27



            Please note the suggested driver is for Endless OS and therefore it might break at any point. If any body has an official driver for Ubuntu it will be better.



            Original Answer



            This is not a new answer, would be better a comment.



            So I tried to follow @chili555 answer but I kept getting errors while trying to make the module.



            Errors like:



            /rtl8821ce/include/osdep_service_linux.h:294:2: error: implicit declaration of function ‘timer_setup’; did you mean ‘ether_setup’?
            [-Werror=implicit-function-declaration]
            timer_setup(ptimer, pfunc, 0);
            ^~~~~~~~~~~ ether_setup


            So I tried downloading a different revision (zip archive direct download link) which by the time of the original answer might be master as well. Then I was able to make the module and install following the steps provided by @chili555






            share|improve this answer
















            Update 2018-02-27



            Please note the suggested driver is for Endless OS and therefore it might break at any point. If any body has an official driver for Ubuntu it will be better.



            Original Answer



            This is not a new answer, would be better a comment.



            So I tried to follow @chili555 answer but I kept getting errors while trying to make the module.



            Errors like:



            /rtl8821ce/include/osdep_service_linux.h:294:2: error: implicit declaration of function ‘timer_setup’; did you mean ‘ether_setup’?
            [-Werror=implicit-function-declaration]
            timer_setup(ptimer, pfunc, 0);
            ^~~~~~~~~~~ ether_setup


            So I tried downloading a different revision (zip archive direct download link) which by the time of the original answer might be master as well. Then I was able to make the module and install following the steps provided by @chili555







            share|improve this answer















            share|improve this answer




            share|improve this answer








            edited Mar 7 '18 at 10:07









            David Foerster

            29.9k13 gold badges71 silver badges119 bronze badges




            29.9k13 gold badges71 silver badges119 bronze badges










            answered Feb 5 '18 at 0:26









            ingkeviningkevin

            311 silver badge5 bronze badges




            311 silver badge5 bronze badges
























                2



















                dkms build/install for rtl8821ce can be found here: https://github.com/tomaspinho/rtl8821ce



                When you use that approach you won't need to rebuild the module each time kernel is updated.



                I have just built it on Lenovo Idea 720s with kubuntu 18.04.




                Also I suggest you edit Makefile to change the log level from 4 (info) to 3 (warnings). Otherwise you will find your /var/log/syslog filling up at a crazy speed with useless info messages from the driver.



                So edit Makefile, to change:



                CONFIG_RTW_LOG_LEVEL = 4


                to:



                CONFIG_RTW_LOG_LEVEL = 3


                and then build and install the module as per instructions. If you already installed it, you need to uninstall it (using dkms-remove.sh) and then reinstall it again.



                Alternatively you can manually change the log level until next reboot with:



                echo 3 > /proc/net/rtl8821ce/log_level


                update: the maintainer changed the Makefile to reflect this suggestion, so if you make a fresh checkout/download it'll already have the right (quiet) setting.






                share|improve this answer































                  2



















                  dkms build/install for rtl8821ce can be found here: https://github.com/tomaspinho/rtl8821ce



                  When you use that approach you won't need to rebuild the module each time kernel is updated.



                  I have just built it on Lenovo Idea 720s with kubuntu 18.04.




                  Also I suggest you edit Makefile to change the log level from 4 (info) to 3 (warnings). Otherwise you will find your /var/log/syslog filling up at a crazy speed with useless info messages from the driver.



                  So edit Makefile, to change:



                  CONFIG_RTW_LOG_LEVEL = 4


                  to:



                  CONFIG_RTW_LOG_LEVEL = 3


                  and then build and install the module as per instructions. If you already installed it, you need to uninstall it (using dkms-remove.sh) and then reinstall it again.



                  Alternatively you can manually change the log level until next reboot with:



                  echo 3 > /proc/net/rtl8821ce/log_level


                  update: the maintainer changed the Makefile to reflect this suggestion, so if you make a fresh checkout/download it'll already have the right (quiet) setting.






                  share|improve this answer





























                    2















                    2











                    2









                    dkms build/install for rtl8821ce can be found here: https://github.com/tomaspinho/rtl8821ce



                    When you use that approach you won't need to rebuild the module each time kernel is updated.



                    I have just built it on Lenovo Idea 720s with kubuntu 18.04.




                    Also I suggest you edit Makefile to change the log level from 4 (info) to 3 (warnings). Otherwise you will find your /var/log/syslog filling up at a crazy speed with useless info messages from the driver.



                    So edit Makefile, to change:



                    CONFIG_RTW_LOG_LEVEL = 4


                    to:



                    CONFIG_RTW_LOG_LEVEL = 3


                    and then build and install the module as per instructions. If you already installed it, you need to uninstall it (using dkms-remove.sh) and then reinstall it again.



                    Alternatively you can manually change the log level until next reboot with:



                    echo 3 > /proc/net/rtl8821ce/log_level


                    update: the maintainer changed the Makefile to reflect this suggestion, so if you make a fresh checkout/download it'll already have the right (quiet) setting.






                    share|improve this answer
















                    dkms build/install for rtl8821ce can be found here: https://github.com/tomaspinho/rtl8821ce



                    When you use that approach you won't need to rebuild the module each time kernel is updated.



                    I have just built it on Lenovo Idea 720s with kubuntu 18.04.




                    Also I suggest you edit Makefile to change the log level from 4 (info) to 3 (warnings). Otherwise you will find your /var/log/syslog filling up at a crazy speed with useless info messages from the driver.



                    So edit Makefile, to change:



                    CONFIG_RTW_LOG_LEVEL = 4


                    to:



                    CONFIG_RTW_LOG_LEVEL = 3


                    and then build and install the module as per instructions. If you already installed it, you need to uninstall it (using dkms-remove.sh) and then reinstall it again.



                    Alternatively you can manually change the log level until next reboot with:



                    echo 3 > /proc/net/rtl8821ce/log_level


                    update: the maintainer changed the Makefile to reflect this suggestion, so if you make a fresh checkout/download it'll already have the right (quiet) setting.







                    share|improve this answer















                    share|improve this answer




                    share|improve this answer








                    edited Sep 17 '18 at 1:07

























                    answered Aug 22 '18 at 8:48









                    stasonstason

                    3413 silver badges11 bronze badges




                    3413 silver badges11 bronze badges
























                        1



















                        A solution for the timer error.



                        I manage to make it work for my lenovo E570 with ubuntu 16.04 and here are my steps:
                        First, I upgrade my kernel version to 4.15.4 using this guide



                        I believe any kernel version above 4.15.4 should work because I had to upgrade my kernel to 4.15.9 again. Note the driver needs to be reinstalled.



                        Then, I followed the steps mentioned in @chili555 answers






                        share|improve this answer



























                        • What do you mean by "installing the driver"?

                          – pim
                          Mar 13 '18 at 5:44











                        • It means you need to sudo make install again. please let me know if it worked for you and what kernel version are you using. This method worked for me before, but recently I had to reinstall ubuntu several times and it stopped working for me.

                          – Juichung_Kuo
                          Mar 13 '18 at 21:58












                        • The following thread includes an alternative driver to the 8821ce, link and it works for me again

                          – Juichung_Kuo
                          Mar 17 '18 at 21:06












                        • I seem to have exactly the same machine as you, running 16.04 LTS and seem to be having exactly the same issues, but without any success. Is it possible for you to post, line by line, exactly what you did to get yours working: I seems to be going round in circles and keep seeing the back of my head. Arrrrgh. Thanks.

                          – Piloti
                          Jan 22 at 20:50












                        • uh.. it's been a while and I dont remember exactly what i did to fix it. But did you check out the link i posted above because it contains what commands i used. also have you tried this: github.com/lwfinger/rtlwifi_new

                          – Juichung_Kuo
                          Jan 28 at 22:52
















                        1



















                        A solution for the timer error.



                        I manage to make it work for my lenovo E570 with ubuntu 16.04 and here are my steps:
                        First, I upgrade my kernel version to 4.15.4 using this guide



                        I believe any kernel version above 4.15.4 should work because I had to upgrade my kernel to 4.15.9 again. Note the driver needs to be reinstalled.



                        Then, I followed the steps mentioned in @chili555 answers






                        share|improve this answer



























                        • What do you mean by "installing the driver"?

                          – pim
                          Mar 13 '18 at 5:44











                        • It means you need to sudo make install again. please let me know if it worked for you and what kernel version are you using. This method worked for me before, but recently I had to reinstall ubuntu several times and it stopped working for me.

                          – Juichung_Kuo
                          Mar 13 '18 at 21:58












                        • The following thread includes an alternative driver to the 8821ce, link and it works for me again

                          – Juichung_Kuo
                          Mar 17 '18 at 21:06












                        • I seem to have exactly the same machine as you, running 16.04 LTS and seem to be having exactly the same issues, but without any success. Is it possible for you to post, line by line, exactly what you did to get yours working: I seems to be going round in circles and keep seeing the back of my head. Arrrrgh. Thanks.

                          – Piloti
                          Jan 22 at 20:50












                        • uh.. it's been a while and I dont remember exactly what i did to fix it. But did you check out the link i posted above because it contains what commands i used. also have you tried this: github.com/lwfinger/rtlwifi_new

                          – Juichung_Kuo
                          Jan 28 at 22:52














                        1















                        1











                        1









                        A solution for the timer error.



                        I manage to make it work for my lenovo E570 with ubuntu 16.04 and here are my steps:
                        First, I upgrade my kernel version to 4.15.4 using this guide



                        I believe any kernel version above 4.15.4 should work because I had to upgrade my kernel to 4.15.9 again. Note the driver needs to be reinstalled.



                        Then, I followed the steps mentioned in @chili555 answers






                        share|improve this answer
















                        A solution for the timer error.



                        I manage to make it work for my lenovo E570 with ubuntu 16.04 and here are my steps:
                        First, I upgrade my kernel version to 4.15.4 using this guide



                        I believe any kernel version above 4.15.4 should work because I had to upgrade my kernel to 4.15.9 again. Note the driver needs to be reinstalled.



                        Then, I followed the steps mentioned in @chili555 answers







                        share|improve this answer















                        share|improve this answer




                        share|improve this answer








                        edited Mar 13 '18 at 0:21

























                        answered Mar 12 '18 at 23:10









                        Juichung_KuoJuichung_Kuo

                        112 bronze badges




                        112 bronze badges















                        • What do you mean by "installing the driver"?

                          – pim
                          Mar 13 '18 at 5:44











                        • It means you need to sudo make install again. please let me know if it worked for you and what kernel version are you using. This method worked for me before, but recently I had to reinstall ubuntu several times and it stopped working for me.

                          – Juichung_Kuo
                          Mar 13 '18 at 21:58












                        • The following thread includes an alternative driver to the 8821ce, link and it works for me again

                          – Juichung_Kuo
                          Mar 17 '18 at 21:06












                        • I seem to have exactly the same machine as you, running 16.04 LTS and seem to be having exactly the same issues, but without any success. Is it possible for you to post, line by line, exactly what you did to get yours working: I seems to be going round in circles and keep seeing the back of my head. Arrrrgh. Thanks.

                          – Piloti
                          Jan 22 at 20:50












                        • uh.. it's been a while and I dont remember exactly what i did to fix it. But did you check out the link i posted above because it contains what commands i used. also have you tried this: github.com/lwfinger/rtlwifi_new

                          – Juichung_Kuo
                          Jan 28 at 22:52


















                        • What do you mean by "installing the driver"?

                          – pim
                          Mar 13 '18 at 5:44











                        • It means you need to sudo make install again. please let me know if it worked for you and what kernel version are you using. This method worked for me before, but recently I had to reinstall ubuntu several times and it stopped working for me.

                          – Juichung_Kuo
                          Mar 13 '18 at 21:58












                        • The following thread includes an alternative driver to the 8821ce, link and it works for me again

                          – Juichung_Kuo
                          Mar 17 '18 at 21:06












                        • I seem to have exactly the same machine as you, running 16.04 LTS and seem to be having exactly the same issues, but without any success. Is it possible for you to post, line by line, exactly what you did to get yours working: I seems to be going round in circles and keep seeing the back of my head. Arrrrgh. Thanks.

                          – Piloti
                          Jan 22 at 20:50












                        • uh.. it's been a while and I dont remember exactly what i did to fix it. But did you check out the link i posted above because it contains what commands i used. also have you tried this: github.com/lwfinger/rtlwifi_new

                          – Juichung_Kuo
                          Jan 28 at 22:52

















                        What do you mean by "installing the driver"?

                        – pim
                        Mar 13 '18 at 5:44





                        What do you mean by "installing the driver"?

                        – pim
                        Mar 13 '18 at 5:44













                        It means you need to sudo make install again. please let me know if it worked for you and what kernel version are you using. This method worked for me before, but recently I had to reinstall ubuntu several times and it stopped working for me.

                        – Juichung_Kuo
                        Mar 13 '18 at 21:58






                        It means you need to sudo make install again. please let me know if it worked for you and what kernel version are you using. This method worked for me before, but recently I had to reinstall ubuntu several times and it stopped working for me.

                        – Juichung_Kuo
                        Mar 13 '18 at 21:58














                        The following thread includes an alternative driver to the 8821ce, link and it works for me again

                        – Juichung_Kuo
                        Mar 17 '18 at 21:06






                        The following thread includes an alternative driver to the 8821ce, link and it works for me again

                        – Juichung_Kuo
                        Mar 17 '18 at 21:06














                        I seem to have exactly the same machine as you, running 16.04 LTS and seem to be having exactly the same issues, but without any success. Is it possible for you to post, line by line, exactly what you did to get yours working: I seems to be going round in circles and keep seeing the back of my head. Arrrrgh. Thanks.

                        – Piloti
                        Jan 22 at 20:50






                        I seem to have exactly the same machine as you, running 16.04 LTS and seem to be having exactly the same issues, but without any success. Is it possible for you to post, line by line, exactly what you did to get yours working: I seems to be going round in circles and keep seeing the back of my head. Arrrrgh. Thanks.

                        – Piloti
                        Jan 22 at 20:50














                        uh.. it's been a while and I dont remember exactly what i did to fix it. But did you check out the link i posted above because it contains what commands i used. also have you tried this: github.com/lwfinger/rtlwifi_new

                        – Juichung_Kuo
                        Jan 28 at 22:52






                        uh.. it's been a while and I dont remember exactly what i did to fix it. But did you check out the link i posted above because it contains what commands i used. also have you tried this: github.com/lwfinger/rtlwifi_new

                        – Juichung_Kuo
                        Jan 28 at 22:52












                        0



















                        credits to praseodym from ubuntuusers.de for this short tutorial using dkms to install the driver because after trying several answered variants, only this worked for me on a fresh installed debian 10 (buster):



                        sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
                        git clone https://github.com/tomaspinho/rtl8821ce
                        cd rtl8821ce
                        chmod +x dkms-install.sh
                        chmod +x dkms-remove.sh
                        sudo ./dkms-install.sh


                        removal works this way:



                        sudo ./dkms-remove.sh 


                        it was also mentioned to eventually disable secure boot, even before os installation. not sure if this makes a difference because i was needing this on a "HP Slimline (290-a0512ng) Desktop PC" which had secure boot disabled by default i checked/noticed after os installation.






                        share|improve this answer





























                          0



















                          credits to praseodym from ubuntuusers.de for this short tutorial using dkms to install the driver because after trying several answered variants, only this worked for me on a fresh installed debian 10 (buster):



                          sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
                          git clone https://github.com/tomaspinho/rtl8821ce
                          cd rtl8821ce
                          chmod +x dkms-install.sh
                          chmod +x dkms-remove.sh
                          sudo ./dkms-install.sh


                          removal works this way:



                          sudo ./dkms-remove.sh 


                          it was also mentioned to eventually disable secure boot, even before os installation. not sure if this makes a difference because i was needing this on a "HP Slimline (290-a0512ng) Desktop PC" which had secure boot disabled by default i checked/noticed after os installation.






                          share|improve this answer



























                            0















                            0











                            0









                            credits to praseodym from ubuntuusers.de for this short tutorial using dkms to install the driver because after trying several answered variants, only this worked for me on a fresh installed debian 10 (buster):



                            sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
                            git clone https://github.com/tomaspinho/rtl8821ce
                            cd rtl8821ce
                            chmod +x dkms-install.sh
                            chmod +x dkms-remove.sh
                            sudo ./dkms-install.sh


                            removal works this way:



                            sudo ./dkms-remove.sh 


                            it was also mentioned to eventually disable secure boot, even before os installation. not sure if this makes a difference because i was needing this on a "HP Slimline (290-a0512ng) Desktop PC" which had secure boot disabled by default i checked/noticed after os installation.






                            share|improve this answer














                            credits to praseodym from ubuntuusers.de for this short tutorial using dkms to install the driver because after trying several answered variants, only this worked for me on a fresh installed debian 10 (buster):



                            sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
                            git clone https://github.com/tomaspinho/rtl8821ce
                            cd rtl8821ce
                            chmod +x dkms-install.sh
                            chmod +x dkms-remove.sh
                            sudo ./dkms-install.sh


                            removal works this way:



                            sudo ./dkms-remove.sh 


                            it was also mentioned to eventually disable secure boot, even before os installation. not sure if this makes a difference because i was needing this on a "HP Slimline (290-a0512ng) Desktop PC" which had secure boot disabled by default i checked/noticed after os installation.







                            share|improve this answer













                            share|improve this answer




                            share|improve this answer










                            answered Aug 15 at 15:43









                            vchrizzvchrizz

                            114 bronze badges




                            114 bronze badges
























                                Highly active question. Earn 10 reputation in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.












                                Highly active question. Earn 10 reputation in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.











                                Highly active question. Earn 10 reputation in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.





                                Highly active question. Earn 10 reputation in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.


                                Popular posts from this blog

                                Tamil (spriik) Luke uk diar | Nawigatjuun

                                Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                                Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?