How to install Wi-Fi driver for Realtek RTL8821CE on Ubuntu 18.04? [duplicate]Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE)Wifi doesn't work on Lenovo ideapad-130-15IKBHow do I install Realtek rtl8821ce driver on Ubuntu 18.10?No Wifi conection in HP Pavilion x360 with Ubuntu 18.04 LTS (Realtek RTL8821CE)No Wifi Adaptor on HP 255 G7“WiFi adapter unplugged” Ubuntu 18.04 rtl8821cewifi adapter not found. 18.10 19.04 lenovo 330Ubuntu on HP Realtek RTL8821CE Wifi card not detectedwifi 8821ce is not working on ubuntu 19.04Wifi adapter not found Ubuntu 18.04 HP, Realtek RTL8821CECan't turn on or enable wirelessUbuntu doesn't reconnect to WiFi unless I rebootWireless issues on Gateway M-6750Wireless in 13.10 or similars doesn't work!rt3290 wifi ubuntu reactivate 16.04Wifi connections not showing up on ubuntu 16.04Ethernet interface gets disabled when GPU is removed

how to make a twisted wrapper

What's the name of the role of characters who buff teammates?

What type of beer is best for beer battered fish?

Why is potassium ferrocyanide considered safe for consumption, when it is just one reaction away from the highly toxic potassium cyanide?

How to make sure there's equal difference in length between lines

Why use [FormalN]?

CO₂ level is high enough that it reduces cognitive ability. Isn't that a reason to worry?

My name causes an issue with any booking! (names end with MR and MRS)

Translation Golf XLIX - An Accurate Shot

Cron entry for last Saturday

Does milk make your bones stronger?

How to use FDE without needing to share the encryption password

What is the "opposite" of a random variable?

On a naked chicken (no coating,batter) is there any benefit of double frying?

Basic Accidental Question

Is this a pure function?

Bash to check if directory exist. If not create with an array

Dissecting the exotic bulbfish

How to avoid answering "what were you sick with"?

How much money is needed to prove you can support yourself with ESTA

Windows 10 ruined my GRUB menu

Which skill would I use for ventriloquism?

Can I request a credit item be removed from my report as soon as it is paid in full?

Passport expiration requirement for Jordan Visa



How to install Wi-Fi driver for Realtek RTL8821CE on Ubuntu 18.04? [duplicate]


Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE)Wifi doesn't work on Lenovo ideapad-130-15IKBHow do I install Realtek rtl8821ce driver on Ubuntu 18.10?No Wifi conection in HP Pavilion x360 with Ubuntu 18.04 LTS (Realtek RTL8821CE)No Wifi Adaptor on HP 255 G7“WiFi adapter unplugged” Ubuntu 18.04 rtl8821cewifi adapter not found. 18.10 19.04 lenovo 330Ubuntu on HP Realtek RTL8821CE Wifi card not detectedwifi 8821ce is not working on ubuntu 19.04Wifi adapter not found Ubuntu 18.04 HP, Realtek RTL8821CECan't turn on or enable wirelessUbuntu doesn't reconnect to WiFi unless I rebootWireless issues on Gateway M-6750Wireless in 13.10 or similars doesn't work!rt3290 wifi ubuntu reactivate 16.04Wifi connections not showing up on ubuntu 16.04Ethernet interface gets disabled when GPU is removed






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









16


















This question already has an answer here:



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

    6 answers



I'm trying to install drivers for my Wifi on my HP All-in-one desktop. I've been told to show the output of the command "sudo lshw -C network" so here it is:



*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd
physical id: 0
bus info: pci@0000:01:00.0
logical name: enp1s0
version: 15
serial: 48:ba:4e:5c:06:5f
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.21 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: ire:31 import:e000(size=256) memory: fea04000-fea04fff memory:fea00000-fea03fff

*-network UNCLAIMED
description: Network controller
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: import:d000(size=256) memory:fe900000-fe90ffff


Output from "lspci -nnk | grep -A2 0280":



02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a]
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)









share|improve this question


















marked as duplicate by Fabby, karel, Eric Carvalho, Pilot6, Kristopher Ives Aug 13 at 0:15


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • @pHeLiOn Oh thanks, but yeah that question was posted 12 days ago and still has no answer so I'm really hoping someone here can help because I'm at a loss of what to do next.

    – Haz
    Sep 2 '18 at 7:41











  • Let's see if we can find the specific name of the wireless card and then search for solutions - please run lspci -nnk | grep -A2 0280 and show that output in your question.

    – pHeLiOn
    Sep 2 '18 at 7:48











  • Someone elsewhere also suggested going into BIOS settings and making sure Secure Boot is Disabled. Easy to try, so worth a shot.

    – pHeLiOn
    Sep 2 '18 at 7:52











  • @pHeLiOn Updated question

    – Haz
    Sep 2 '18 at 7:54











  • @pHeLiOn Yes I already had Secure Boot disabled.

    – Haz
    Sep 2 '18 at 7:56

















16


















This question already has an answer here:



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

    6 answers



I'm trying to install drivers for my Wifi on my HP All-in-one desktop. I've been told to show the output of the command "sudo lshw -C network" so here it is:



*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd
physical id: 0
bus info: pci@0000:01:00.0
logical name: enp1s0
version: 15
serial: 48:ba:4e:5c:06:5f
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.21 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: ire:31 import:e000(size=256) memory: fea04000-fea04fff memory:fea00000-fea03fff

*-network UNCLAIMED
description: Network controller
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: import:d000(size=256) memory:fe900000-fe90ffff


Output from "lspci -nnk | grep -A2 0280":



02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a]
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)









share|improve this question


















marked as duplicate by Fabby, karel, Eric Carvalho, Pilot6, Kristopher Ives Aug 13 at 0:15


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • @pHeLiOn Oh thanks, but yeah that question was posted 12 days ago and still has no answer so I'm really hoping someone here can help because I'm at a loss of what to do next.

    – Haz
    Sep 2 '18 at 7:41











  • Let's see if we can find the specific name of the wireless card and then search for solutions - please run lspci -nnk | grep -A2 0280 and show that output in your question.

    – pHeLiOn
    Sep 2 '18 at 7:48











  • Someone elsewhere also suggested going into BIOS settings and making sure Secure Boot is Disabled. Easy to try, so worth a shot.

    – pHeLiOn
    Sep 2 '18 at 7:52











  • @pHeLiOn Updated question

    – Haz
    Sep 2 '18 at 7:54











  • @pHeLiOn Yes I already had Secure Boot disabled.

    – Haz
    Sep 2 '18 at 7:56













16












16








16


15







This question already has an answer here:



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

    6 answers



I'm trying to install drivers for my Wifi on my HP All-in-one desktop. I've been told to show the output of the command "sudo lshw -C network" so here it is:



*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd
physical id: 0
bus info: pci@0000:01:00.0
logical name: enp1s0
version: 15
serial: 48:ba:4e:5c:06:5f
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.21 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: ire:31 import:e000(size=256) memory: fea04000-fea04fff memory:fea00000-fea03fff

*-network UNCLAIMED
description: Network controller
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: import:d000(size=256) memory:fe900000-fe90ffff


Output from "lspci -nnk | grep -A2 0280":



02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a]
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)









share|improve this question


















This question already has an answer here:



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

    6 answers



I'm trying to install drivers for my Wifi on my HP All-in-one desktop. I've been told to show the output of the command "sudo lshw -C network" so here it is:



*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd
physical id: 0
bus info: pci@0000:01:00.0
logical name: enp1s0
version: 15
serial: 48:ba:4e:5c:06:5f
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.21 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: ire:31 import:e000(size=256) memory: fea04000-fea04fff memory:fea00000-fea03fff

*-network UNCLAIMED
description: Network controller
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: import:d000(size=256) memory:fe900000-fe90ffff


Output from "lspci -nnk | grep -A2 0280":



02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a]
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)




This question already has an answer here:



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

    6 answers







networking drivers wireless ubuntu-drivers






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Sep 2 '18 at 10:38









pHeLiOn

1,1057 silver badges21 bronze badges




1,1057 silver badges21 bronze badges










asked Sep 2 '18 at 7:07









HazHaz

811 gold badge1 silver badge7 bronze badges




811 gold badge1 silver badge7 bronze badges





marked as duplicate by Fabby, karel, Eric Carvalho, Pilot6, Kristopher Ives Aug 13 at 0:15


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











marked as duplicate by Fabby, karel, Eric Carvalho, Pilot6, Kristopher Ives Aug 13 at 0:15


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Fabby, karel, Eric Carvalho, Pilot6, Kristopher Ives Aug 13 at 0:15


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • @pHeLiOn Oh thanks, but yeah that question was posted 12 days ago and still has no answer so I'm really hoping someone here can help because I'm at a loss of what to do next.

    – Haz
    Sep 2 '18 at 7:41











  • Let's see if we can find the specific name of the wireless card and then search for solutions - please run lspci -nnk | grep -A2 0280 and show that output in your question.

    – pHeLiOn
    Sep 2 '18 at 7:48











  • Someone elsewhere also suggested going into BIOS settings and making sure Secure Boot is Disabled. Easy to try, so worth a shot.

    – pHeLiOn
    Sep 2 '18 at 7:52











  • @pHeLiOn Updated question

    – Haz
    Sep 2 '18 at 7:54











  • @pHeLiOn Yes I already had Secure Boot disabled.

    – Haz
    Sep 2 '18 at 7:56

















  • @pHeLiOn Oh thanks, but yeah that question was posted 12 days ago and still has no answer so I'm really hoping someone here can help because I'm at a loss of what to do next.

    – Haz
    Sep 2 '18 at 7:41











  • Let's see if we can find the specific name of the wireless card and then search for solutions - please run lspci -nnk | grep -A2 0280 and show that output in your question.

    – pHeLiOn
    Sep 2 '18 at 7:48











  • Someone elsewhere also suggested going into BIOS settings and making sure Secure Boot is Disabled. Easy to try, so worth a shot.

    – pHeLiOn
    Sep 2 '18 at 7:52











  • @pHeLiOn Updated question

    – Haz
    Sep 2 '18 at 7:54











  • @pHeLiOn Yes I already had Secure Boot disabled.

    – Haz
    Sep 2 '18 at 7:56
















@pHeLiOn Oh thanks, but yeah that question was posted 12 days ago and still has no answer so I'm really hoping someone here can help because I'm at a loss of what to do next.

– Haz
Sep 2 '18 at 7:41





@pHeLiOn Oh thanks, but yeah that question was posted 12 days ago and still has no answer so I'm really hoping someone here can help because I'm at a loss of what to do next.

– Haz
Sep 2 '18 at 7:41













Let's see if we can find the specific name of the wireless card and then search for solutions - please run lspci -nnk | grep -A2 0280 and show that output in your question.

– pHeLiOn
Sep 2 '18 at 7:48





Let's see if we can find the specific name of the wireless card and then search for solutions - please run lspci -nnk | grep -A2 0280 and show that output in your question.

– pHeLiOn
Sep 2 '18 at 7:48













Someone elsewhere also suggested going into BIOS settings and making sure Secure Boot is Disabled. Easy to try, so worth a shot.

– pHeLiOn
Sep 2 '18 at 7:52





Someone elsewhere also suggested going into BIOS settings and making sure Secure Boot is Disabled. Easy to try, so worth a shot.

– pHeLiOn
Sep 2 '18 at 7:52













@pHeLiOn Updated question

– Haz
Sep 2 '18 at 7:54





@pHeLiOn Updated question

– Haz
Sep 2 '18 at 7:54













@pHeLiOn Yes I already had Secure Boot disabled.

– Haz
Sep 2 '18 at 7:56





@pHeLiOn Yes I already had Secure Boot disabled.

– Haz
Sep 2 '18 at 7:56










3 Answers
3






active

oldest

votes


















28


















(This question is a duplicate of Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) but I was pleased that we eventually found a solution so will write up what worked for Haz.)



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.



The solution is taken directly from post #4 by Praseodym: 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 git repository from tomaspinho.



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























  • 1





    Hi you absolutely don't need to disable secure boot or EFI AFAIK blog.ubuntu.com/2017/08/11/how-to-sign-things-for-secure-boot

    – MrMesees
    Oct 18 '18 at 16:06











  • I can confirm that this works on a hp convertible x360 11 inch

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







  • 4





    Confirm that your system uses the RTL8821CE chip using lspci -nnk

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






  • 1





    make sure SecureBoot is Disabled essential! Thanks

    – Duncanmoo
    Apr 3 at 14:24







  • 1





    Thanks so much @tomaspinho and all! Works for hp 255 G7/ubuntu 18.04.2 lts

    – Asalle
    May 1 at 13:21


















2


















@pHeLiOn's answer helped me out, but it wasn't enough. So here is exactly what I did to get it working on my HP.



Make sure to remove the driver if you have previously unsuccessfully installed it via sudo ./dkms-install.sh and then the directory rm -rf rtl8821ce. It may be located in cd /var/lib/dkms/, delete it there too.




  1. I disabled secure boot (you need to reboot after this command and enter the password chars on the blue screen):



    sudo mokutil --disable-validation



  2. I upgraded the Kernel from 4.15 to 4.18, cuz for some reason it wouldn't work with 4.15. Use uname -a to check your kernel version.



    sudo apt install linux-generic-hwe-18.04
    sudo apt update && sudo apt upgrade -y



  3. Then I reinstalled the dkms headers:



    sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)



  4. I pulled the github respiratory:



    git clone https://github.com/tomaspinho/rtl8821ce



  5. Entered the new directory:



    cd rtl8821ce



  6. I changed the the file permissions:



    chmod +x dkms-install.sh
    chmod +x dkms-remove.sh



  7. I synced the driver to the correct kernel version:



    make
    sudo make install



  8. I installed the driver:



    sudo ./dkms-install.sh


  9. Finally I rebooted, and to my amazement it worked.


Additionally I changed my PCIe Activate State Power Management as suggested in the github respiratory.






share|improve this answer























  • 1





    many thanks for posting this. From all the fixes I tried, this is the only one which worked perfect with very clear explanations.!! I should have put 10 ups!

    – Gus Velasco
    Aug 28 at 2:49


















1


















The commands in the post just before this were correct except for the git pull. There is a username and password authentication requirement so you have to just go to the webpage -- https://github.com/tomaspinho/rtl8821ce -- and download the .zip file. I then tried following through with changing the shell files to executable as suggested but when they ran there was a discrepency as to where the files needed to be located. (Im definitely not complaining, it can just be a bit confusing if you didn't really know what you were doing) The files need to be extracted to /usr/src/rtl8821ce-1.0.0 (make a new directory "rtl8821ce-1.0.0" inside /usr/src) and THEN chmod +x dkms-install.sh, everything should work out like gravy from there.
Thank you so much whoever wrote this script. I dumped about 600 dollars into this badass machine and was thinking the wifi wouldn't work. Cheers.



To be specific, the machine is a new HP Pavilion x360 2-in-1 with windows 10 and ubuntu studio 18.04.






share|improve this answer























  • 1





    use git clone instead of git pull

    – mchid
    Dec 31 '18 at 22:36


















3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









28


















(This question is a duplicate of Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) but I was pleased that we eventually found a solution so will write up what worked for Haz.)



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.



The solution is taken directly from post #4 by Praseodym: 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 git repository from tomaspinho.



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























  • 1





    Hi you absolutely don't need to disable secure boot or EFI AFAIK blog.ubuntu.com/2017/08/11/how-to-sign-things-for-secure-boot

    – MrMesees
    Oct 18 '18 at 16:06











  • I can confirm that this works on a hp convertible x360 11 inch

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







  • 4





    Confirm that your system uses the RTL8821CE chip using lspci -nnk

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






  • 1





    make sure SecureBoot is Disabled essential! Thanks

    – Duncanmoo
    Apr 3 at 14:24







  • 1





    Thanks so much @tomaspinho and all! Works for hp 255 G7/ubuntu 18.04.2 lts

    – Asalle
    May 1 at 13:21















28


















(This question is a duplicate of Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) but I was pleased that we eventually found a solution so will write up what worked for Haz.)



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.



The solution is taken directly from post #4 by Praseodym: 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 git repository from tomaspinho.



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























  • 1





    Hi you absolutely don't need to disable secure boot or EFI AFAIK blog.ubuntu.com/2017/08/11/how-to-sign-things-for-secure-boot

    – MrMesees
    Oct 18 '18 at 16:06











  • I can confirm that this works on a hp convertible x360 11 inch

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







  • 4





    Confirm that your system uses the RTL8821CE chip using lspci -nnk

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






  • 1





    make sure SecureBoot is Disabled essential! Thanks

    – Duncanmoo
    Apr 3 at 14:24







  • 1





    Thanks so much @tomaspinho and all! Works for hp 255 G7/ubuntu 18.04.2 lts

    – Asalle
    May 1 at 13:21













28














28










28









(This question is a duplicate of Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) but I was pleased that we eventually found a solution so will write up what worked for Haz.)



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.



The solution is taken directly from post #4 by Praseodym: 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 git repository from tomaspinho.



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 question is a duplicate of Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) but I was pleased that we eventually found a solution so will write up what worked for Haz.)



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.



The solution is taken directly from post #4 by Praseodym: 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 git repository from tomaspinho.



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

103 bronze badges




103 bronze badges










answered Sep 2 '18 at 10:18









pHeLiOnpHeLiOn

1,1057 silver badges21 bronze badges




1,1057 silver badges21 bronze badges










  • 1





    Hi you absolutely don't need to disable secure boot or EFI AFAIK blog.ubuntu.com/2017/08/11/how-to-sign-things-for-secure-boot

    – MrMesees
    Oct 18 '18 at 16:06











  • I can confirm that this works on a hp convertible x360 11 inch

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







  • 4





    Confirm that your system uses the RTL8821CE chip using lspci -nnk

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






  • 1





    make sure SecureBoot is Disabled essential! Thanks

    – Duncanmoo
    Apr 3 at 14:24







  • 1





    Thanks so much @tomaspinho and all! Works for hp 255 G7/ubuntu 18.04.2 lts

    – Asalle
    May 1 at 13:21












  • 1





    Hi you absolutely don't need to disable secure boot or EFI AFAIK blog.ubuntu.com/2017/08/11/how-to-sign-things-for-secure-boot

    – MrMesees
    Oct 18 '18 at 16:06











  • I can confirm that this works on a hp convertible x360 11 inch

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







  • 4





    Confirm that your system uses the RTL8821CE chip using lspci -nnk

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






  • 1





    make sure SecureBoot is Disabled essential! Thanks

    – Duncanmoo
    Apr 3 at 14:24







  • 1





    Thanks so much @tomaspinho and all! Works for hp 255 G7/ubuntu 18.04.2 lts

    – Asalle
    May 1 at 13:21







1




1





Hi you absolutely don't need to disable secure boot or EFI AFAIK blog.ubuntu.com/2017/08/11/how-to-sign-things-for-secure-boot

– MrMesees
Oct 18 '18 at 16:06





Hi you absolutely don't need to disable secure boot or EFI AFAIK blog.ubuntu.com/2017/08/11/how-to-sign-things-for-secure-boot

– MrMesees
Oct 18 '18 at 16:06













I can confirm that this works on a hp convertible x360 11 inch

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






I can confirm that this works on a hp convertible x360 11 inch

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





4




4





Confirm that your system uses the RTL8821CE chip using lspci -nnk

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





Confirm that your system uses the RTL8821CE chip using lspci -nnk

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




1




1





make sure SecureBoot is Disabled essential! Thanks

– Duncanmoo
Apr 3 at 14:24






make sure SecureBoot is Disabled essential! Thanks

– Duncanmoo
Apr 3 at 14:24





1




1





Thanks so much @tomaspinho and all! Works for hp 255 G7/ubuntu 18.04.2 lts

– Asalle
May 1 at 13:21





Thanks so much @tomaspinho and all! Works for hp 255 G7/ubuntu 18.04.2 lts

– Asalle
May 1 at 13:21













2


















@pHeLiOn's answer helped me out, but it wasn't enough. So here is exactly what I did to get it working on my HP.



Make sure to remove the driver if you have previously unsuccessfully installed it via sudo ./dkms-install.sh and then the directory rm -rf rtl8821ce. It may be located in cd /var/lib/dkms/, delete it there too.




  1. I disabled secure boot (you need to reboot after this command and enter the password chars on the blue screen):



    sudo mokutil --disable-validation



  2. I upgraded the Kernel from 4.15 to 4.18, cuz for some reason it wouldn't work with 4.15. Use uname -a to check your kernel version.



    sudo apt install linux-generic-hwe-18.04
    sudo apt update && sudo apt upgrade -y



  3. Then I reinstalled the dkms headers:



    sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)



  4. I pulled the github respiratory:



    git clone https://github.com/tomaspinho/rtl8821ce



  5. Entered the new directory:



    cd rtl8821ce



  6. I changed the the file permissions:



    chmod +x dkms-install.sh
    chmod +x dkms-remove.sh



  7. I synced the driver to the correct kernel version:



    make
    sudo make install



  8. I installed the driver:



    sudo ./dkms-install.sh


  9. Finally I rebooted, and to my amazement it worked.


Additionally I changed my PCIe Activate State Power Management as suggested in the github respiratory.






share|improve this answer























  • 1





    many thanks for posting this. From all the fixes I tried, this is the only one which worked perfect with very clear explanations.!! I should have put 10 ups!

    – Gus Velasco
    Aug 28 at 2:49















2


















@pHeLiOn's answer helped me out, but it wasn't enough. So here is exactly what I did to get it working on my HP.



Make sure to remove the driver if you have previously unsuccessfully installed it via sudo ./dkms-install.sh and then the directory rm -rf rtl8821ce. It may be located in cd /var/lib/dkms/, delete it there too.




  1. I disabled secure boot (you need to reboot after this command and enter the password chars on the blue screen):



    sudo mokutil --disable-validation



  2. I upgraded the Kernel from 4.15 to 4.18, cuz for some reason it wouldn't work with 4.15. Use uname -a to check your kernel version.



    sudo apt install linux-generic-hwe-18.04
    sudo apt update && sudo apt upgrade -y



  3. Then I reinstalled the dkms headers:



    sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)



  4. I pulled the github respiratory:



    git clone https://github.com/tomaspinho/rtl8821ce



  5. Entered the new directory:



    cd rtl8821ce



  6. I changed the the file permissions:



    chmod +x dkms-install.sh
    chmod +x dkms-remove.sh



  7. I synced the driver to the correct kernel version:



    make
    sudo make install



  8. I installed the driver:



    sudo ./dkms-install.sh


  9. Finally I rebooted, and to my amazement it worked.


Additionally I changed my PCIe Activate State Power Management as suggested in the github respiratory.






share|improve this answer























  • 1





    many thanks for posting this. From all the fixes I tried, this is the only one which worked perfect with very clear explanations.!! I should have put 10 ups!

    – Gus Velasco
    Aug 28 at 2:49













2














2










2









@pHeLiOn's answer helped me out, but it wasn't enough. So here is exactly what I did to get it working on my HP.



Make sure to remove the driver if you have previously unsuccessfully installed it via sudo ./dkms-install.sh and then the directory rm -rf rtl8821ce. It may be located in cd /var/lib/dkms/, delete it there too.




  1. I disabled secure boot (you need to reboot after this command and enter the password chars on the blue screen):



    sudo mokutil --disable-validation



  2. I upgraded the Kernel from 4.15 to 4.18, cuz for some reason it wouldn't work with 4.15. Use uname -a to check your kernel version.



    sudo apt install linux-generic-hwe-18.04
    sudo apt update && sudo apt upgrade -y



  3. Then I reinstalled the dkms headers:



    sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)



  4. I pulled the github respiratory:



    git clone https://github.com/tomaspinho/rtl8821ce



  5. Entered the new directory:



    cd rtl8821ce



  6. I changed the the file permissions:



    chmod +x dkms-install.sh
    chmod +x dkms-remove.sh



  7. I synced the driver to the correct kernel version:



    make
    sudo make install



  8. I installed the driver:



    sudo ./dkms-install.sh


  9. Finally I rebooted, and to my amazement it worked.


Additionally I changed my PCIe Activate State Power Management as suggested in the github respiratory.






share|improve this answer
















@pHeLiOn's answer helped me out, but it wasn't enough. So here is exactly what I did to get it working on my HP.



Make sure to remove the driver if you have previously unsuccessfully installed it via sudo ./dkms-install.sh and then the directory rm -rf rtl8821ce. It may be located in cd /var/lib/dkms/, delete it there too.




  1. I disabled secure boot (you need to reboot after this command and enter the password chars on the blue screen):



    sudo mokutil --disable-validation



  2. I upgraded the Kernel from 4.15 to 4.18, cuz for some reason it wouldn't work with 4.15. Use uname -a to check your kernel version.



    sudo apt install linux-generic-hwe-18.04
    sudo apt update && sudo apt upgrade -y



  3. Then I reinstalled the dkms headers:



    sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)



  4. I pulled the github respiratory:



    git clone https://github.com/tomaspinho/rtl8821ce



  5. Entered the new directory:



    cd rtl8821ce



  6. I changed the the file permissions:



    chmod +x dkms-install.sh
    chmod +x dkms-remove.sh



  7. I synced the driver to the correct kernel version:



    make
    sudo make install



  8. I installed the driver:



    sudo ./dkms-install.sh


  9. Finally I rebooted, and to my amazement it worked.


Additionally I changed my PCIe Activate State Power Management as suggested in the github respiratory.







share|improve this answer















share|improve this answer




share|improve this answer








edited Jul 25 at 23:13

























answered Jul 25 at 23:05









ThomasAFinkThomasAFink

1294 bronze badges




1294 bronze badges










  • 1





    many thanks for posting this. From all the fixes I tried, this is the only one which worked perfect with very clear explanations.!! I should have put 10 ups!

    – Gus Velasco
    Aug 28 at 2:49












  • 1





    many thanks for posting this. From all the fixes I tried, this is the only one which worked perfect with very clear explanations.!! I should have put 10 ups!

    – Gus Velasco
    Aug 28 at 2:49







1




1





many thanks for posting this. From all the fixes I tried, this is the only one which worked perfect with very clear explanations.!! I should have put 10 ups!

– Gus Velasco
Aug 28 at 2:49





many thanks for posting this. From all the fixes I tried, this is the only one which worked perfect with very clear explanations.!! I should have put 10 ups!

– Gus Velasco
Aug 28 at 2:49











1


















The commands in the post just before this were correct except for the git pull. There is a username and password authentication requirement so you have to just go to the webpage -- https://github.com/tomaspinho/rtl8821ce -- and download the .zip file. I then tried following through with changing the shell files to executable as suggested but when they ran there was a discrepency as to where the files needed to be located. (Im definitely not complaining, it can just be a bit confusing if you didn't really know what you were doing) The files need to be extracted to /usr/src/rtl8821ce-1.0.0 (make a new directory "rtl8821ce-1.0.0" inside /usr/src) and THEN chmod +x dkms-install.sh, everything should work out like gravy from there.
Thank you so much whoever wrote this script. I dumped about 600 dollars into this badass machine and was thinking the wifi wouldn't work. Cheers.



To be specific, the machine is a new HP Pavilion x360 2-in-1 with windows 10 and ubuntu studio 18.04.






share|improve this answer























  • 1





    use git clone instead of git pull

    – mchid
    Dec 31 '18 at 22:36















1


















The commands in the post just before this were correct except for the git pull. There is a username and password authentication requirement so you have to just go to the webpage -- https://github.com/tomaspinho/rtl8821ce -- and download the .zip file. I then tried following through with changing the shell files to executable as suggested but when they ran there was a discrepency as to where the files needed to be located. (Im definitely not complaining, it can just be a bit confusing if you didn't really know what you were doing) The files need to be extracted to /usr/src/rtl8821ce-1.0.0 (make a new directory "rtl8821ce-1.0.0" inside /usr/src) and THEN chmod +x dkms-install.sh, everything should work out like gravy from there.
Thank you so much whoever wrote this script. I dumped about 600 dollars into this badass machine and was thinking the wifi wouldn't work. Cheers.



To be specific, the machine is a new HP Pavilion x360 2-in-1 with windows 10 and ubuntu studio 18.04.






share|improve this answer























  • 1





    use git clone instead of git pull

    – mchid
    Dec 31 '18 at 22:36













1














1










1









The commands in the post just before this were correct except for the git pull. There is a username and password authentication requirement so you have to just go to the webpage -- https://github.com/tomaspinho/rtl8821ce -- and download the .zip file. I then tried following through with changing the shell files to executable as suggested but when they ran there was a discrepency as to where the files needed to be located. (Im definitely not complaining, it can just be a bit confusing if you didn't really know what you were doing) The files need to be extracted to /usr/src/rtl8821ce-1.0.0 (make a new directory "rtl8821ce-1.0.0" inside /usr/src) and THEN chmod +x dkms-install.sh, everything should work out like gravy from there.
Thank you so much whoever wrote this script. I dumped about 600 dollars into this badass machine and was thinking the wifi wouldn't work. Cheers.



To be specific, the machine is a new HP Pavilion x360 2-in-1 with windows 10 and ubuntu studio 18.04.






share|improve this answer
















The commands in the post just before this were correct except for the git pull. There is a username and password authentication requirement so you have to just go to the webpage -- https://github.com/tomaspinho/rtl8821ce -- and download the .zip file. I then tried following through with changing the shell files to executable as suggested but when they ran there was a discrepency as to where the files needed to be located. (Im definitely not complaining, it can just be a bit confusing if you didn't really know what you were doing) The files need to be extracted to /usr/src/rtl8821ce-1.0.0 (make a new directory "rtl8821ce-1.0.0" inside /usr/src) and THEN chmod +x dkms-install.sh, everything should work out like gravy from there.
Thank you so much whoever wrote this script. I dumped about 600 dollars into this badass machine and was thinking the wifi wouldn't work. Cheers.



To be specific, the machine is a new HP Pavilion x360 2-in-1 with windows 10 and ubuntu studio 18.04.







share|improve this answer















share|improve this answer




share|improve this answer








edited Oct 9 '18 at 8:33

























answered Oct 9 '18 at 8:28









bobdobbsbobdobbs

112 bronze badges




112 bronze badges










  • 1





    use git clone instead of git pull

    – mchid
    Dec 31 '18 at 22:36












  • 1





    use git clone instead of git pull

    – mchid
    Dec 31 '18 at 22:36







1




1





use git clone instead of git pull

– mchid
Dec 31 '18 at 22:36





use git clone instead of git pull

– mchid
Dec 31 '18 at 22:36



Popular posts from this blog

Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü