I was performing a DNS Lookup using a custom .c file i've written (while on a VPN) and suddenly I lost internet connection and I can't even access the WiFi settings.
I've also tried connecting to ethernet and it doesn't work either (i've tested the same cable with a different machine and it works).
When I open the system settings, under the WiFi page i only have the option to turn On/Off airplane mode and says "No WiFi adapter found". I've also got no ethernet connection so i can't run many commands i already found online.
When I perform ifconfig i see 3 devices: enp0s31f6, lo and wlp0s20f3.
I run rfkill list and there are no blocks.
I also run /etc/init.d/network-manager stop and /etc/init.d/network-manager start and nothing changes.
I'm on Ubuntu 20.04 LTS
How can i fix this?
ip route
and readman ip ip-route route
. Look at the logs!sudo journalctl -b 0 -u NetworkManager
. Readman journalctl
.