Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Haiying

Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by Haiying »

I installed Linux Mint 19.1 on a brand new HP 17-ca0205ng. Then there is no wifi driver. So I am trying to install rtl8821ce. So I downloaded the software from: https://github.com/endlessm/linux/tree/ ... /rtl8821ce

Unpacked zip archive,changed the Makefile. Line "export TopDIR ?= ..." to export "TopDIR ?= PATH TO EXTRACTED DIRECTORY". make sudo make install sudo modprobe -a 8821ce

But when I run make, I got error message that says: Initialization from incompatible pointer type.

Could anyone please help me?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by JeremyB »

In terminal

Code: Select all

sudo apt install git dkms build-essential
git clone https://github.com/tomaspinho/rtl8821ce.git
cd rtl8821ce
sudo ./dkms-install.sh
Then check mokutil --sb-state as if it says Secure Boot is enabled, it will need to be disabled in BIOS
Reboot
Haiying

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by Haiying »

Thank you very much for your quick reply.

I do not have cable at home. So without wireless connection, my PC cannot be connected to internet.

Is there any other solution with which I do not need to have the pc connected to internet?

Or can I burn a CD and save all things needed?
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by JeremyB »

Do you have the Mint 19 ISO on DVD or can you burn it to DVD?
What kernel,

Code: Select all

uname -a
Haiying

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by Haiying »

Thank you so much for your quick reply.
I burned linux mint that I found from the following site (Cinnamon 64-bit edition) on a CD:
https://linuxmint.com/​

I also got the rtl8821ce from:
https://github.com/endlessm/linux/tree/ ... /rtl8821ce

When I get home, I will tell you my kernal.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by JeremyB »

I know of a much easier way to install rtl8821ce than deal with the endlessm github site
Last edited by JeremyB on Mon Mar 25, 2019 12:30 pm, edited 1 time in total.
Reason: moved thread to wireless
Haiying

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by Haiying »

If type uname from terminal, I get:
Linux

(Sorry, just saw that I forgot -a. Will have to try again after work today.)

Could you please tell me the easier way of installing rtl8821ce?
I do not have cable. So until I can get wifi driver working, I have to burn CDs to have the files.

Thank you so much.
Haiying

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by Haiying »

JeremyB wrote: Mon Mar 25, 2019 11:47 am Do you have the Mint 19 ISO on DVD or can you burn it to DVD?
What kernel,

Code: Select all

uname -a
The output is:
Linux (my computer name) 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by JeremyB »

Download https://www.dropbox.com/s/1fkzhcpz1nmqb ... ce.ko?dl=0 and copy it to the Mint desktop using USB drive, SD card, whatever, then in terminal do

Code: Select all

cd Desktop
sudo cp 8821ce.ko /lib/modules/4.15.0-20-generic/kernel/drivers/net/wireless/
sudo depmod -a
Check mokutil --sb-state if this says that Secure Boot is enabled, you will have to disable in BIOS, leave the Secure Boot keys alone
Reboot, if wifi works do

Code: Select all

sudo apt update
Then run the commands from
posting.php?mode=reply&f=53&t=290864#pr1612938
Haiying

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by Haiying »

"Check mokutil --sb-state if this says that Secure Boot is enabled, you will have to disable in BIOS, leave the Secure Boot keys alone
Reboot"

Sorry for asking too basic question, but how to disable Secure Boot in BIOS?


Thank you so much.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by JeremyB »

I think it is under System Configuration in HP BIOS/EFI, press F10 early during boot to access the BIOS settings. I usually start tapping the F10 button when the screen is still black
Haiying

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by Haiying »

JeremyB wrote: Wed Mar 27, 2019 6:46 am Download https://www.dropbox.com/s/1fkzhcpz1nmqb ... ce.ko?dl=0 and copy it to the Mint desktop using USB drive, SD card, whatever, then in terminal do

Code: Select all

cd Desktop
sudo cp 8821ce.ko /lib/modules/4.15.0-20-generic/kernel/drivers/net/wireless/
sudo depmod -a
Check mokutil --sb-state if this says that Secure Boot is enabled, you will have to disable in BIOS, leave the Secure Boot keys alone
Reboot, if wifi works do

Code: Select all

sudo apt update
Then run the commands from
posting.php?mode=reply&f=53&t=290864#pr1612938
Thank you so much. I think I am almost there.

I followed your instruction until:
sudo depmod -a
Then I got available wifi list.
I use Unitymedia wifi hotspot. If I click on this name, no window for requiring password popped up. If I click on other wifi options, a window for password popped up.
Could you please help me with this as well?
Thank you so much.

I share the wifi with my neighbor. Max 5 device can be connected to wifi simultaneously. So I thought about the possibility and disconnected my cell phone from the internet, and tried again. Still the same.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by JeremyB »

Try deleting the connection in Network Manager and add it back
Haiying

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by Haiying »

I changed some settings for the wifispot connection, then I could get it connected with ID and password.

But if I do next step in your instruction, "sudo apt update", I get error message:

Err:1 http://archive.canonical.com/ubuntu bionic InRelease
Could not resolve 'archive.canonical.com'
Err:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Could not resolve 'archive.ubuntu.com'
Err:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Could not resolve 'security.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Could not resolve 'archive.ubuntu.com'
Err:5 http://archive.ubuntu.com/ubuntu bionic-backups InRelease
Could not resolve 'archive.ubuntu.com'
Err:6 http://packages.linuxmint.com tessa InRelease
Could not resolve 'package.linuxmint.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed fetch http://packages.linuxmint.com/dists/tessa/InRelease Could not resolve 'packages.linuxmint.com'
W: Failed fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not resolve 'archive.ubuntu.com'
W: Failed fetch http://archive.ubuntu.com/ubuntu/dists/ ... /InRelease Could not resolve 'archive.ubuntu.com'
W: Failed fetch http://archive.ubuntu.com/ubuntu/dists/ ... /InRelease Could not resolve 'archive.ubuntu.com'
W: Failed fetch http://archive.ubuntu.com/ubuntu/dists/ ... /InRelease Could not resolve 'security.ubuntu.com'
W: Failed fetch http://archive.canonical.com/ubuntu/dis ... /InRelease Could not resolve 'archive.canonical.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi driver on HP 17-ca0205ng after installing Linux mint 19.1

Post by JeremyB »

Can you tether to a smartphone with USB cable for internet?
Locked

Return to “Networking”