My ubuntu sony laptop connects to wifi but can't load any data

Hello To all those viewed this post. This issue was solved. People commenting on the post made me to detect the point where the error was caused.

This is what I made mistakes

I unistall the resolvconf file

And then I tried some one's answer, Which suggested that to change the Proxy settings of the Network. I did as per his suggestion.

Then People on Reddit suggested to again install the resolvconf file. I installed manually.

But then the issue was with the Proxy change I did it. He then suggested me to change it to none and Boom the problem was solved.

And really I made so many wrong changes that I did in terminal as listed above.

Today What I learned is, first check the command for which purpose it is used to execute and then execute.

Hearty Thanks to all once again

Solved