Given your situation and the details you've provided, it seems like you're experiencing issues with accessing most websites on your Linux system, while certain sites like Gmail and Facebook work. The inability to ping 8.8.8.8
suggests a DNS resolution issue, which is likely the root cause of your problem. Here's a step-by-step guide to help you troubleshoot and potentially resolve the issue:
First, let's ensure your DNS settings are correctly configured. You can check your current DNS settings by looking at the /etc/resolv.conf
file. Open a terminal and type:
cat /etc/resolv.conf