Re: Configuring hostname, domainname, and IP address
From: David Tangye (GoLinuxTakeThisOut_at_iprimus.com.au)
Date: 01/02/04
- Next message: Manfred Heinrichs: "Installation SUSE 9 on ASUS A7N8X with S-ATA RAID"
- Previous message: Neil Ellwood: "Re: problem installing Linux on dual Athlon machine (Asus A7M266-D)"
- In reply to: Baho Utot: "Re: Configuring hostname, domainname, and IP address"
- Next in thread: linuxquestion_at_yahoo.com: "Re: Configuring hostname, domainname, and IP address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 02 Jan 2004 18:38:54 +1000
On 02/01/04 14:01, after a futile battle with the keyboard, Baho Utot
wrote ...
> linuxquestion@yahoo.com wrote:
>
>
>> cat /etc/hosts
>> # Do not remove the following line, or various programs
>> # that require network functionality will fail.
>> 127.0.0.1 red red.testrac.com localhost.localdomain
localhost
>> 10.0.0.1 red red.testrac.com
>>
>
>
> The format is FQDN followed by aliases
>
> This is what it should read instead
> 127.0.0.1 red.testrac.com red localhost.localdomain localhost
> --------------- +++ +++++++++++++++++++++ +++++++++
> where ---- is the fully qualified domainname and ++++ are aliases
>
I am running like this: not declaring my eth0 address in hosts at all
(see the comment why). Dunno if the reasoning is correct, but everything
works this way.
cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost lefty9
# Notes 14 November 2003 - DT
# Define lefty9 in localhost so gnome runs more quickly
# through the loopback interface.
# The following makes sendmail and sm-client start slowly
#192.168.0.1 lefty9 # lefty running Redhat 9
-- Best regards, David Tangye Redhat Linux user since 1997 Make sure you remove the 3 syllable spam trap in the reply address
- Next message: Manfred Heinrichs: "Installation SUSE 9 on ASUS A7N8X with S-ATA RAID"
- Previous message: Neil Ellwood: "Re: problem installing Linux on dual Athlon machine (Asus A7M266-D)"
- In reply to: Baho Utot: "Re: Configuring hostname, domainname, and IP address"
- Next in thread: linuxquestion_at_yahoo.com: "Re: Configuring hostname, domainname, and IP address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|