networks – Ethernet and Wi-Fi do not work on Ubuntu 18.04

My new laptop arrived yesterday, after installing ubuntu, I discovered that Ethernet and Wi-Fi do not work. I looked for a solution but nothing seems to work. I do not know why, but I think there is a problem with HP laptops.
The output of some commands:

rfkill list of all

enter co0: hci0: Bluetooth
Soft lock: no
Hard blocked: node 

lspci -nnk | grep -iA3 net

02: 00.0 network driver [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Hewlett-Packard Company PCIe Wireless Network Adapter RTL8821CE 802.11ac [103c:831a]
03: 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 Ethernet Gigabit Controller [103c:84be]
    Kernel driver in use: r8169
Core modules: r8169

lshw -c network

    * - UNCLAIMED NETWORK NAME
Description: network driver
Product: Realtek Semiconductor Co., Ltd.
Supplier: Realtek Semiconductor Co., Ltd.
Physical identification: 0
Bus information: pci @ 0000: 02: 00.0
version: 00
Width: 64 bits
watch: 33MHz
Capabilities: pm msi pciexpress cap_list
configuration: latency = 0
resources: ioport: 4000 (size = 256) memory: b1100000-b110ffff
*-net
Description: Ethernet interface
Product: RTL8111 / 8168/8411 PCI Express Gigabit Ethernet Controller
Supplier: Realtek Semiconductor Co., Ltd.
Physical identification: 0
Bus information: pci @ 0000: 03: 00.0
logical name: eno1
version: 15
serial: e4: e7: 49: 3e: 3d: a7
Size: 10 Mbit / s
Capacity: 1 Gbit / s
Width: 64 bits
watch: 33MHz
Capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical ti mib 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: auto negotiation = in transmission = yes controller = r8169 unit = 2.3LK-NAPI duplex = firmware medium = rtl8168h-2_0.0.2 02/26/15 latency = 0 link = no multicast = yes port = MII speed = 10 Mbit / s
resources: irq: 17 ioport: 3000 (size = 256) memory: b1004000-b1004fff memory: b1000000-b1003fff