Any command I put into the LXTerminal of my raspberry pi, it says Sudo unable to resolve host (none) I can’t download anything, even Sudo apt-get update How do I fix this"?

| improve this question | | | | |
  • This is indicative of an attempt to manually change hostname. You need to specify what you have done. – Milliways Jan 28 '18 at 23:02

Have a look at nano /etc/hostname

There you should find one line with the name of your machine.

Then have a look at nano /etc/hosts There you should find two lines. One localhost and one with your hostname:       localhost       your_host_name
| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.