Wifi not working on hp laptop

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Jdw_11983

Wifi not working on hp laptop

Post by Jdw_11983 »

I just installed Linux Mint Cinammon on my hp notebook 14 and the wifi is not working. It does work with an ethernet cable hooked up to the modem. Also, the wifi worked when I still had windows 10 on this device. The driver manager is blank when I try to use it.

I'm really new to Linux and only have just a few days of experience in using this operating system. I'm not very computer savvy.
Any advice or instructions on how to fix this would be great!

Thanks.
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 not working on hp laptop

Post by JeremyB »

Post results from terminal for

Code: Select all

mokutil --sb-state; lspci -nnk | grep -iA3 net; rfkill list
Jdw_11983

Re: Wifi not working on hp laptop

Post by Jdw_11983 »

$ mokutil --sb-state; lspci -nnk | grep -iA3 net; rfkill list
SecureBoot enabled
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:84b2]
Kernel driver in use: r8169
Kernel modules: r8169
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]
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi not working on hp laptop

Post by JeremyB »

First step, reboot and get into BIOS settings and disable Secure Boot, likely in System Config/Boot Options, do not remove the Secure Boot keys, after booting do

Code: Select all

sudo apt install git dkms build-essential
git clone https://github.com/tomaspinho/rtl8821ce.git
cd rtl8821ce
sudo ./dkms-install.sh
Reboot
Jdw_11983

Re: Wifi not working on hp laptop

Post by Jdw_11983 »

Ok. Nothing happened....wifi still not working.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi not working on hp laptop

Post by JeremyB »

Post results for

Code: Select all

mokutil --sb-state; lspci -nnk | grep -iA3 net; rfkill list; dkms status
Jdw_11983

Re: Wifi not working on hp laptop

Post by Jdw_11983 »

I tried it again. This is what it brought up.

eading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
dkms is already the newest version (2.3-3ubuntu9.2).
git is already the newest version (1:2.17.1-1ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Jdw_11983

Re: Wifi not working on hp laptop

Post by Jdw_11983 »

SecureBoot disabled
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:84b2]
Kernel driver in use: r8169
Kernel modules: r8169
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]
Kernel modules: wl
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
bcmwl, 6.30.223.271+bdcom, 4.15.0-45-generic, x86_64: installed
rtlwifi-new, 0.6: added
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi not working on hp laptop

Post by JeremyB »

Code: Select all

sudo apt remove bcmwl-kernel-source
Reboot
Jdw_11983

Re: Wifi not working on hp laptop

Post by Jdw_11983 »

Ok. Done. What's next?
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi not working on hp laptop

Post by JeremyB »

Open terminal and run

Code: Select all

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info && cat wireless-info.txt | nc termbin.com 9999
Post termbin URL from terminal
Jdw_11983

Re: Wifi not working on hp laptop

Post by Jdw_11983 »

--2019-02-17 07:28:57-- https://github.com/UbuntuForums/wireles ... eless-info
Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Ubunt ... eless-info [following]
--2019-02-17 07:29:00-- https://raw.githubusercontent.com/Ubunt ... eless-info
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.52.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.52.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17452 (17K) [text/plain]
Saving to: ‘wireless-info’

wireless-info 100%[===================>] 17.04K --.-KB/s in 0.001s

Last-modified header missing -- time-stamps turned off.
2019-02-17 07:29:05 (31.6 MB/s) - ‘wireless-info’ saved [17452/17452]

[sudo] password for daniel:

Results saved in "/home/daniel/wireless-info.txt".

https://termbin.com/45ka
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi not working on hp laptop

Post by JeremyB »

Try

Code: Select all

git clone https://github.com/tomaspinho/rtl8821ce.git
cd rtl8821ce
sudo ./dkms-install.sh
Reboot
Jdw_11983

Re: Wifi not working on hp laptop

Post by Jdw_11983 »

Tried it and didn't work.

Thanks for the help. I might check this thread later and see if anything else gets posted.

Later.
Jdw_11983

Re: Wifi not working on hp laptop

Post by Jdw_11983 »

Wifi is working now. The secure boot is still disabled. Is there a chance that might cause some problems for me?
Thanks.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi not working on hp laptop

Post by JeremyB »

Secure Boot being disabled is not a problem. There are plenty of computers online that don't even support the option
Jdw_11983

Re: Wifi not working on hp laptop

Post by Jdw_11983 »

Ok. Thank you for the help. I appreciate it.
Locked

Return to “Beginner Questions”