cjk at teamcharliesangels.com
Sun Feb 10 14:43:08 UTC 2008
On Sun, 2008-02-10 at 05:58 -0700, Karl Larsen wrote:
> Getting back to karl-desktop. This is the 'hostname' given to my
> system by the Ubuntu loader. To use the applications I want to the
> 'hostname' has to change.
> If I ping localhost I get:
> karl at karl-desktop:~$ ping localhost
> PING localhost (127.0.0.1) 56(84) bytes of data.
> 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.041 ms
> which is perfect. But where do I get the localhost from? It is not
> defined in /etc/host.conf like other Linux.
Tony gave a good answer to where it is defined. If you change localhost
from 127.0.0.1, Ubuntu will change it back. You can, however, add a line
in /etc/hosts using 127.0.1.1 and any hostname you chose. This may be
what you need to solve the problem.
Linux Registered User Number 425914 [http://counter.li.org/]
Never let anyone steal your DREAM. [http://keepingdreams.com]
More information about the ubuntu-users