It is actually weird that I am unable to connect to the internet, earlier I was using a proxy network and I had configured proxy everywhere and now that I want to connect to a network without proxy I am unable to connect using both Mozilla and chrome browser. I am using Ubuntu 18.04. I have tried changing proxy to no proxy in settings and restarted my system but it doesn't help. And connecting to the same network using windows I can use the internet. This is really weird, please someone help me.
I guess the problem is within your proxy settings. I've had this issue.
Try disabling the proxy completely in the system. I mean the firefox has specific proxy settings. Try disabling that. Also disable proxy in your system settings.
For chrome try this in terminal for open with disabled proxy:
Try pinging in terminal to check connection:
From the Discussion. It is figured out that that problem is with the DNS configuration in the linux system. Enter this:
sudo mv /etc/resolv.conf /etc/backup.resolv.conf