Name or service not known error

0 votes

I am not able to connect to the internet. I have connected to a Wifi and wifi works on other devices. I am trying to ping to Google but it is showing the below error

$ ping

ping: Name or Service not known

Please help.

Apr 1, 2019 in Linux Administration by Yogi

2 answers to this question.

0 votes

Seems like there is no nameserver set.

Run the below command in the terminal and try again

$ echo ‘nameserver> /etc/resolv.conf’
answered Apr 1, 2019 by Rohit
0 votes
use ping

dont add www or https
answered Nov 28, 2020 by CISUR101

Related Questions In Linux Administration

0 votes
1 answer

Error saying "Failed to start httpd.service: Unit httpd.service not found."

Execute the following steps or make sure ...READ MORE

answered May 14, 2019 in Linux Administration by Kiara
0 votes
1 answer Could not Determine the server's fully qualified domain name

If you don't have httpd.conf in folder /etc/apache2, you should ...READ MORE

answered Jun 12, 2019 in Linux Administration by Shubham
• 13,480 points
0 votes
2 answers

Job for httpd.service failed because the control process exited with error code.

Hi guys I was facing same problem as ...READ MORE

answered Nov 21, 2020 in Linux Administration by anonymous
• 140 points
0 votes
1 answer
0 votes
1 answer

Spark Kill Running Application

you can copy the application id from ...READ MORE

answered Apr 25, 2018 in Apache Spark by kurt_cobain
• 9,390 points
+1 vote
1 answer

Unable to access Jenkins. I newly installed Jenkins but for some reason I cannot access it.

Try changing the port, Change JENKINS_AJP_PORT="xyz" to JENKINS_AJP_PORT="abc" If changing the ...READ MORE

answered Jul 4, 2018 in Jenkins by Sophie may
• 10,550 points
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,230 points
0 votes
1 answer

Not able to access /etc/sudoers.d/python file

I think your system is not allowing ...READ MORE

answered Feb 6, 2019 in Linux Administration by Lohit