How to install Wi-Fi driver for Realtek RTL8821CE on Ubuntu 18.04? The 2019 Stack Overflow Developer Survey Results Are InNo Wifi conection in HP Pavilion x360 with Ubuntu 18.04 LTS (Realtek RTL8821CE)“WiFi adapter unplugged” Ubuntu 18.04 rtl8821ceHow do I install Realtek rtl8821ce driver on Ubuntu 18.10?Wifi doesn't work on Lenovo ideapad-130-15IKBtrouble loading driversNo Wifi Adaptor on HP 255 G7how to install wifi adaptor, without ethernetProblem after “WiFi adapter unplugged” Ubuntu 18.04 rtl8821ce solutionwifi adapter not found in ubuntu 18.04 for hp 15.6 laptopWifi not working on Lenovo Thinkpad E580 after Ubuntu 18.4 installationCan't turn on or enable wirelessWireless issues on Gateway M-6750Wireless in 13.10 or similars doesn't work!No wireless after ugrade from 11.10 to 12.04rt3290 wifi ubuntu reactivate 16.04LAN connection and WifiWifi connections not showing up on ubuntu 16.04WIFI issues with Realtek Semiconductor Co., Ltd. Device b822 Ubuntu 18.04 LTSEthernet interface gets disabled when GPU is removedWifi not getting connected but LAN cable connection is working. Please help

Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints

Time travel alters history but people keep saying nothing's changed

How to deal with fear of taking dependencies

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

Why do I get badly formatted numerical results when I use StringForm?

How to manage monthly salary

What does "sndry explns" mean in one of the Hitchhiker's guide books?

Is flight data recorder erased after every flight?

Why is it "Tumoren" and not "Tumore"?

Monty Hall variation

CiviEvent: Public link for events of a specific type

Why isn't airport relocation done gradually?

Idiomatic way to prevent slicing?

Does a dangling wire really electrocute me if I'm standing in water?

Where does the "burst of radiance" from Holy Weapon originate?

Limit the amount of RAM Mathematica may access?

Why is the maximum length of OpenWrt’s root password 8 characters?

Deadlock Graph and Interpretation, solution to avoid

Realistic Alternatives to Dust: What Else Could Feed a Plankton Bloom?

Does it makes sense to buy a new cycle to learn riding?

Why is Grand Jury testimony secret?

Inflated grade on resume at previous job, might former employer tell new employer?

What do hard-Brexiteers want with respect to the Irish border?

Pristine Bit Checking



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



The 2019 Stack Overflow Developer Survey Results Are InNo Wifi conection in HP Pavilion x360 with Ubuntu 18.04 LTS (Realtek RTL8821CE)“WiFi adapter unplugged” Ubuntu 18.04 rtl8821ceHow do I install Realtek rtl8821ce driver on Ubuntu 18.10?Wifi doesn't work on Lenovo ideapad-130-15IKBtrouble loading driversNo Wifi Adaptor on HP 255 G7how to install wifi adaptor, without ethernetProblem after “WiFi adapter unplugged” Ubuntu 18.04 rtl8821ce solutionwifi adapter not found in ubuntu 18.04 for hp 15.6 laptopWifi not working on Lenovo Thinkpad E580 after Ubuntu 18.4 installationCan't turn on or enable wirelessWireless issues on Gateway M-6750Wireless in 13.10 or similars doesn't work!No wireless after ugrade from 11.10 to 12.04rt3290 wifi ubuntu reactivate 16.04LAN connection and WifiWifi connections not showing up on ubuntu 16.04WIFI issues with Realtek Semiconductor Co., Ltd. Device b822 Ubuntu 18.04 LTSEthernet interface gets disabled when GPU is removedWifi not getting connected but LAN cable connection is working. Please help



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








10















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
























  • Hi Haz - this question will probably be marked as a duplicate to this askubuntu.com/questions/1067286/…. On the plus side the sudo lshw -C network output is almost identical to yours so you're not the only one having trouble with a realtek wifi card, but on the minus side there are no answers to the question yet...

    – pHeLiOn
    Sep 2 '18 at 7:27











  • @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

















10















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
























  • Hi Haz - this question will probably be marked as a duplicate to this askubuntu.com/questions/1067286/…. On the plus side the sudo lshw -C network output is almost identical to yours so you're not the only one having trouble with a realtek wifi card, but on the minus side there are no answers to the question yet...

    – pHeLiOn
    Sep 2 '18 at 7:27











  • @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













10












10








10


9






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
















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)






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

820419




820419










asked Sep 2 '18 at 7:07









HazHaz

51116




51116












  • Hi Haz - this question will probably be marked as a duplicate to this askubuntu.com/questions/1067286/…. On the plus side the sudo lshw -C network output is almost identical to yours so you're not the only one having trouble with a realtek wifi card, but on the minus side there are no answers to the question yet...

    – pHeLiOn
    Sep 2 '18 at 7:27











  • @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

















  • Hi Haz - this question will probably be marked as a duplicate to this askubuntu.com/questions/1067286/…. On the plus side the sudo lshw -C network output is almost identical to yours so you're not the only one having trouble with a realtek wifi card, but on the minus side there are no answers to the question yet...

    – pHeLiOn
    Sep 2 '18 at 7:27











  • @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
















Hi Haz - this question will probably be marked as a duplicate to this askubuntu.com/questions/1067286/…. On the plus side the sudo lshw -C network output is almost identical to yours so you're not the only one having trouble with a realtek wifi card, but on the minus side there are no answers to the question yet...

– pHeLiOn
Sep 2 '18 at 7:27





Hi Haz - this question will probably be marked as a duplicate to this askubuntu.com/questions/1067286/…. On the plus side the sudo lshw -C network output is almost identical to yours so you're not the only one having trouble with a realtek wifi card, but on the minus side there are no answers to the question yet...

– pHeLiOn
Sep 2 '18 at 7:27













@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










2 Answers
2






active

oldest

votes


















18














(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







  • 3





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

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











  • Lenovo IdeaCenter - this one worked perfectly. Thank you.

    – Eugene Kartoyev
    Jan 25 at 3:39











  • praise be, praise be

    – tatsu
    Jan 25 at 21:33


















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









protected by Community Oct 30 '18 at 7:54



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









18














(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







  • 3





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

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











  • Lenovo IdeaCenter - this one worked perfectly. Thank you.

    – Eugene Kartoyev
    Jan 25 at 3:39











  • praise be, praise be

    – tatsu
    Jan 25 at 21:33















18














(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







  • 3





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

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











  • Lenovo IdeaCenter - this one worked perfectly. Thank you.

    – Eugene Kartoyev
    Jan 25 at 3:39











  • praise be, praise be

    – tatsu
    Jan 25 at 21:33













18












18








18







(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




103










answered Sep 2 '18 at 10:18









pHeLiOnpHeLiOn

820419




820419







  • 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







  • 3





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

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











  • Lenovo IdeaCenter - this one worked perfectly. Thank you.

    – Eugene Kartoyev
    Jan 25 at 3:39











  • praise be, praise be

    – tatsu
    Jan 25 at 21:33












  • 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







  • 3





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

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











  • Lenovo IdeaCenter - this one worked perfectly. Thank you.

    – Eugene Kartoyev
    Jan 25 at 3:39











  • praise be, praise be

    – tatsu
    Jan 25 at 21:33







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





3




3





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













Lenovo IdeaCenter - this one worked perfectly. Thank you.

– Eugene Kartoyev
Jan 25 at 3:39





Lenovo IdeaCenter - this one worked perfectly. Thank you.

– Eugene Kartoyev
Jan 25 at 3:39













praise be, praise be

– tatsu
Jan 25 at 21:33





praise be, praise be

– tatsu
Jan 25 at 21:33













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




112







  • 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





protected by Community Oct 30 '18 at 7:54



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»