Possible Duplicate:
sudo: unable to resolve host (none)
My Ubuntu 12.04 LTS lost Internet connection. It just acts like it has lost Internet connection.
When I go to terminal in says: user@(none)
. When I run any sudo
command, it says
sudo: unable to resolve host (none)
If I try Firefox, nothing happens. But when I try pinging, it responds fine (but only if it has been pointed to a IP address).
nano /etc/hostname
then, when you have, enter a pc name / hostname like "computer", and exit with ctrl+x or what it says, to save it. reboot, and try the things again :P
– denNorske Nov 28 '12 at 12:59