PDA

View Full Version : [ubuntu] Terminal is confused and so am I



patanjali
May 11th, 2008, 06:00 PM
All,

Have just tried to use terminal for the first time with 8.04 and it comes up with the same error every time I use the command line:
"sudo: unable to resolve host jack-laptop". This is the name of my machine ! Can anyone help? :confused:

Pumalite
May 11th, 2008, 06:04 PM
Check /etc/hosts

patanjali
May 11th, 2008, 06:14 PM
Tried looking in /etc/hosts and got:

127.0.0.1 localhost
127.0.1.1 jack-laptop.home

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

patanjali

ZabiGG
May 11th, 2008, 06:20 PM
You're not the only one! ;)

Check out this link

http://ubuntuforums.org/showthread.php?t=773851