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).
Please, enter this line into the terminal:
nano /etc/hostname
And tell me what it says :)