tony.arnold at manchester.ac.uk
Sun Feb 10 13:15:36 UTC 2008
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.
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold
More information about the ubuntu-users