At Last!!!!
This:-
> >Where are you changing the hostname (what file)? The
> >hostname is set in /etc/sysconfig/network. /etc/hosts
> >relates hostnames to IP addresses but doesn't really set
> >anything.
this is what isn't obvious. I dont have a network at home, but I dont want to have to
call my Linux box localhost.localdomain . I'd totally given up in Mandrake - its
about the third thing you choose in a Slackware install - I couldn't find what file
really held the hostname.
I'd figured out the /etc/hosts file ages ago, but it does nothing on its own - except
bugger everything if you take replace the localhost entry. Finally I've given my
machine its own name which remains after a hard reboot and everything else still
appears to work.
Thanks loads everyone, been following this thread since the get go hoping the last
piece[s] in the puzzle would appear, and they did... /etc/sysconfig/network
...of course I've got to find something else busted to fix now ;-)
Si
----- Original Message -----
From: Mike Rambo <[EMAIL PROTECTED]>
Date: Mon, 24 Jun 2002 11:13:43 -0400
To: [EMAIL PROTECTED]
Subject: Re: [expert] Hostname and postfix
> Praedor Tempus wrote:
> >
> > I am also a little leery of using linuxconf for this. It (linuxconf) appeared
> > to bork my attempts at wlan ad-hoc networking and I was told not to use it in
> > a wlan mailing list. In the past I have tried changing the hostname via
> > linuxconf with mucked up results. I will give it a shot again but still,
> > what file/system config contains THE hostname information utilized by
> > "hostname"? If is isn't /etc/hostname, /etc/rc.d/rc.inet1, or
> > /etc/init.d/boot as mentioned in the hostname manpage, then what is it?
> >
>
> <Start quote of previous message on this topic>
>
> >>
> >> Praedor Tempus wrote:
> >> >
> >> > On Wednesday 19 June 2002 12:03 pm, daRcmaTTeR wrote:
> >> > > Praedor Tempus wrote:
> >> > > > I am hesitant to try this again...I run postfix on my system as my mta.
> >> > > > I own the ravenhome.net domain. I want my postfix to identify outgoing
> >
> ><snip>
> >
> >> > I do own ravenhome.net and have an account with dydns. Works well. What
> >> > concerns me is naming my system ravenhome.net and having no problems when I
> >> > am not connected. In the past, I have edited my hosts file to change
> >> > localhost entries to ravenhome entries and it borked my system. It has been
> >>
> >> Did you really _change_ the localhost entries? If so, that
> >> is a no-no. You _must_ have the localhost entries intact.
> >> You just _add_ entries for the additional IP/name
> >> combinations you need.
> >>
> >> [mrambo@mrambo mrambo]$ more /etc/hosts
> >> 127.0.0.1 localhost.localdomain localhost
> >> 192.168.1.12 mrambo.imcdom.local mrambo
> >> [mrambo@mrambo mrambo]$
> >>
> >> > a while so I don't recall the details but is this not really all I should
> >> > HAVE to do to change my hostname? Simply replace the localhost.localdomain
> >> > entry with ravenhome.net?
> >
> >This occured to me after I sent the previous mail
> >unfortunately...
> >
> >
>
> *****The answer to your question is below*****
>
> >Where are you changing the hostname (what file)? The
> >hostname is set in /etc/sysconfig/network. /etc/hosts
> >relates hostnames to IP addresses but doesn't really set
> >anything.
>
> *****The answer to your question is above*****
>
> >
> >Sorry if I've misunderstood or just stated the obvious but
> >if you get some of this wrong it really will mess things up.
> >In particular, localhost is required for many system
> >processes. Without that /etc/hosts entry things will
> >definitely go wrong...
> >
> ><more snippage>
> >
>
> <End quote>
>
>
Content-Type: text/plain; name="message.footer"
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
Save up to $160 by signing up for NetZero Platinum Internet service.
http://www.netzero.net/?refcd=N2P0602NEP8
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com