k5di at zianet.com
Sun Feb 10 15:37:45 UTC 2008
Tony Arnold wrote:
> 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.
> localhost is defined in /etc/hosts and is always 127.0.0.1. The host
> name (karl-desktop in your case) is defined in /etc/hostname. I'm not
> sure what the impact of changing this would be though.
Hi Tony and thanks. I have a good idea what the impact is. Fooling
around with things in host.conf had bad effects. No X Window ect :-)
Here is what is in hosts:
karl at karl-desktop:/etc$ cat hosts
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
karl at karl-desktop:/etc$
I will think on this and see what might be done.
Karl F. Larsen, AKA K5DI
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users