Karl Larsen k5di at zianet.com
Sun Feb 10 16:30:20 UTC 2008

Charlie Kravetz wrote:
> 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 ( 56(84) bytes of data.
>> 64 bytes from localhost ( 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.
>> Karl
> Tony gave a good answer to where it is defined. If you change localhost
> from, Ubuntu will change it back. You can, however, add a line
> in  /etc/hosts  using and any hostname you chose. This may be
> what you need to solve the problem.
> good luck,
    Well I think never should you have two names to a ip address. I was 
doing that yesterday and Ubuntu got VERY confused. So yes I can use, for 
example k5di.com provided that I define it exactly the same in hosts and 
host.conf and maybe elsewhere.



	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