Please note: before deciding to post here, the resources found at the end of this question were first consulted.
Problem:
WiFi and Ethernet connection are not working. The WiFi and wired connection say they are both connected, however, when trying to access a URL via a browser there is no internet connection (browser messages say the server for any URL cannot be reached). Both wired and WiFi have been tested individually, to no success. It also appears that the PC cannot access the internet via 4G tethering from a mobile connected via USB.
Details:
Version: Ubuntu 20.04.1 LTS
The PC was left running from Thursday and over the weekend. On Thursday, the WiFi was working as expected. On the following Monday both WiFi and Ethernet stopped functioning.
Attempts to diagnose:
Checked for any updates that may have occurred on the Thursday or Friday that may have caused this problem, as seen in the below command and output:
$ find /var/lib/dpkg/info/ -name \*.list -mtime -4 | sed 's#.list$##;s#.*/##'
libgcrypt20:amd64
Pinged localhost
. This worked completely normally, suggesting the hardware is functioning as it should and this is a software issue.
Ran sudo lspci
. The output can be seen here. It looks like the wireless network adapter can be seen 3rd up from the bottom, so it seems like Ubuntu can find the wireless network card.
Ran sudo lshw -C network
. The output can be seen here along with details of the wireless/ethernet cards. Again it seems that the system can find the wireless card. Unsure of the relevance of this, but please note
that on the "configuration" line of the output there is a line that says "firmware=N/A".
Ran sudo lsmod
to see list of modules/drivers. The output can be seen here.
It seems that there is not a name match for the wireless adapter module in the output from sudo lsmod
, but tried to activate the driver name found in the output from step (3) above using rtw_8822ce
via the following command. Output seen below command.
$ sudo modprobe rtw_8822ce
modprobe: FATAL: Module rtw_8822ce not found in directory /lib/modules/5.11.0-34-generic
Also conducted simple attempts including restarting router and PC multiple times.
As suggested in the comments, I have ran ip route show
which produced the following output:
default via 192.168.0.1 dev wlp3s0 proto dhcp metric 600
Summary Question:
- It seems that this problem has arisen over the weekend since an automatic update. Is there any way to re-establish internet connection via WiFi and Ethernet connectivity, despite the fact that Ubuntu is showing that the PC is already connected to the router?
Resources consulted before posting this question:
- https://www.cyberithub.com/solved-no-internet-connection-after-installation-of-ubuntu-20-04/?fbclid=IwAR2TwnGZo2BUApIHEgcbyB_2PM9zZcER0lWcm6-2t-xhvecYaSx_7LNCOV8
- https://itsfoss.community/t/lost-wi-fi-after-upgrade-to-ubuntu-20-04/4682?fbclid=IwAR2TK5RbOQ450RlK9r2JlrC56EyszP62rFZsra2YtKUHOzg4oxCNgPoUPo8
- https://www.maketecheasier.com/fix-wi-fi-not-working-ubuntu/
- https://stackoverflow.com/questions/34800731/module-not-found-when-i-do-a-modprobe?fbclid=IwAR36ezrJ02blDZG_wxSdd5bc7sUxWA7wPqe1OgbiW5letwVWe-SDDo2C_gA
- No wifi adapter found , cannot connect Ethernet also
- https://ubuntuforums.org/showthread.php?t=1652957&fbclid=IwAR0qesFm_mjlYHUz4mK7YCzY988UHI4MemxjLVNnaNWYL-3M8ZXjMx8mbjY
- Replace Broadcom "wl" driver with "b43"
Edit:
There may be a chance that this issue has something to do with the drivers for my wireless network adapter not being compatible with the latest Ubuntu kernel my system has been updated to use. WiFi and ethernet have been working on this same machine for me for the last year.