StreetCommunityProgrammer / metaphore

Story as Code. Public Collections of Metaphore our Freestyler accross the world. Gain knowledge with unusual perspective from our Punk members.
https://metaphore.vercel.app
GNU General Public License v3.0
26 stars 4 forks source link

The internet connection problem in linux #82

Closed DnyaneshwariKolapkar closed 1 year ago

DnyaneshwariKolapkar commented 1 year ago

The Backstory about your Linux Metaphor

Internet Connection Problem related to DNS After Dual Booting

As depicted in the image provided, the ping test with an IP address shows successful packet transmission, but when attempting to ping a website name, a name resolution error is encountered. This indicates that there is an internet connection, but there seems to be an issue with the Domain Name System (DNS).

Screenshot from 2023-08-01 22-24-09

The Linux Story!

To Solve the Internet Connection Problem:

  1. Open the resolv.conf file in a text editor like nano or any other of your choice with superuser privileges using the following command:
sudo nano /run/NetworkManager/resolv.conf
  1. Add the following lines to the resolv.conf file and save it:
nameserver 8.8.8.8
nameserver 8.8.4.4
  1. After making the changes, you need to restart the systemd-resolved.service to apply the new DNS settings. Execute the following command:
sudo systemctl restart systemd-resolved.service

Now, the DNS servers 8.8.8.8 and 8.8.4.4 (Google's Public DNS servers) have been added to your DNS resolution configuration. This should resolve the DNS issues, and you should be able to access websites using their names, and enjoy a working internet connection.

Screenshot from 2023-08-01 22-31-56

A Linux demo/repos link

No response

PayPal Link for Donation (Linux Storyteller)

No response

github-actions[bot] commented 1 year ago

Hello Punk! It's great having you contribute to this project

Welcome to the community :neckbeard:

If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our GitHub Organisation - we help and encourage each other to contribute to open source little and often :neckbeard:. Any questions let us know.

darkterminal commented 1 year ago

Yeah, sometimes we occur this problem when using Linux... But, it's fun!