[lug] Hostname problem
D. Stimits
stimits at idcomm.com
Wed Nov 15 09:36:24 MST 2000
Calvin Dodge wrote:
>
> KoolMan wrote:
> >
> > I belelive that your /etc/HOSTNAME and /etc/hosts files both need to contain
> > refrence to "oldschool" not just /etc/HOSTNAME actually I'm quite shure of
> > this..
> >
> > And Dan your /etc/HOSTNAME file just contains the hostname not the IP
> > address associated with the host name that is the job of /etc/hosts
At one point I had replied, but this wasn't my post originally. But FYI,
it would make sense that /etc/HOSTNAME and /etc/hosts should be correct
before the machine both knows its own name, and knows its own ip. If
either failed the log would fail.
>
> AND - as I think Sean has mentioned - if you're running Red Hat (and possibly
> other distros), /etc/sysconfig/network needs to include the line 'HOSTNAME="x"'
> (the computer I'm using has 'HOSTNAME="c575204-a.whtrdg1.co.home.com"').
>
> In fact, I _think_ the /etc/sysconfig/network is the preferred location -
> /etc/HOSTNAME is there only for compatibility with older programs.
>
> Calvin
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list