Mailing List Archive

Support open source code!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Hostname

I have in my /etc/hosts file a single line

# Do not remove the following line, or various programs
# that require network functionality will fail.	ringo	localhost.localdomain	localhost

and it seems to work without any problems.

n Fri, 15 Mar 2002 08:17:19 +0900
Tomita Alberto <> wrote:

> At Fri, 15 Mar 2002 08:45:48 +1100 (EST),
> Jim Breen wrote:
> > >> Try setting HOSTNAME=... in /etc/sysconfig/network.
> > 
> > Tried that. That field contained "localhost.localdomain".
> > 
> > Interesting outcome - (a) the hostname changed (b) dhcp still works
> > (c) X did not start (d) when I started X by hand, Gnome whimpered that
> > it could not find the new hostname by DNS.
> that may be due to a different problem. to be able to resolve
> the hostname by its IP address, either create an entry for it in
> /etc/hosts or, if your ISP supports dynamic DNS, put DHCP_HOSTNAME=...
> can't remember if it should be in ifcfg-eth0 or /etc/sysconfig/network

Do You Yahoo!?
Get your free address at

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links