I have Dell Inspiron 15 3000 laptop, using Ubuntu 22.04
for the last 4 months. Recently Wifi
is not working very frequently, even though it is saying that Wifi is connected. To connect to the internet, I have to reboot again. I think the hardware might be working fine. I have tried some command to get some details.
➜ ~ sudo nmcli device
DEVICE TYPE STATE CONNECTION
device_id wifi connected connection_name
device is connected even if there are no internet connection.
➜ ~ sudo lshw -c network
*-network
description: Wireless interface
product: RTL8821CE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name:
version: 00
serial:
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw_8821ce driverversion=5.15.0-52-generic firmware=N/A ip=192.168.0.103 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:74 ioport:2000(size=256) memory:c0700000-c070ffff
➜ ~ sudo lshw -businfo
Bus info Device Class Description
============================================================
pci@0000:02:00.0 device_id network RTL8821CE 802.11ac PCIe Wireless Network Adapter
To solve this, I have followed this link, tried following command:
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
But still same result. To connect to internet, I have to reboot and then after 2-3 hours same issue.
How can I fixed this issue?