karl-desktop

Karl Larsen k5di at zianet.com
Sun Feb 10 15:37:45 UTC 2008


Tony Arnold wrote:
> Karl,
>
> 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.
>
> Regards,
> Tony.
>   
    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
127.0.0.1       localhost
127.0.1.1       karl-desktop

# 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
karl at karl-desktop:/etc$

    I will think on this and see what might be done.

Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list