I'm having the following weird internet connection problem that I'm struggling to fix.
I have a working home wifi / internet connection. I have a phone and another windows based PC on the network, and both can connect to the internet fine. On my ubuntu based machine I could connect fine as well until a few days ago (impossible to say what changed, could be an update), now the wifi connection is made, but there is no internet. The weird thing is, if I set my phone up as a hotspot, and connect to it, it works, and I can access the wifi internet, using the phone as a sort of proxy. This leads me to believe there must be some sort of settings issue in Ubuntu, possibly DNS related.
Another weird thing is if I run a ping eg ping 8.8.8.8
The connection is mostly dead, but every once in a while, I get a response. It will ping a couple times and then nothing again.
I've tried editing my /etc/resolv.conf
files to manually set the nameserver to 8.8.8.8 as I've seen in a few suggested solutions, but no luck. I've also tried setting the names servers via the network manager GUI.
I'm running Ubuntu 20.04
What else could I look into?