[101972] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Home networking

daemon@ATHENA.MIT.EDU (Jan Carlson)
Mon Nov 30 16:04:15 1998

Date: Mon, 30 Nov 1998 15:56:12 -0500
From: Jan Carlson <janc@iname.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Bruce Richardson wrote:

> I decided to call my little home-linux-network bruce.net (OK, I only have
> one PC at the moment but I'm about to connect an old 486).  I quickly
> discovered that messing with hostnames disabled things like lpd and
> sendmail (sendmail hung on startup so I had to log in single user to put
> things right).  So right now I have the following settings
>
> in /etc/HOSTNAME
> ----------------------
> alpha.bruce.net
> ----------------------
>
> in /etc/hosts
> ----------------------

Next line is guaranteed to break things.  Several
parts of the system depend on it staying standard.

>
> 127.0.0.1 alpha.bruce.net alpha.bruce.net

Here is what worked for me, for local mail and for
internet mail too:
127.0.0.1       localhost       localhost.localdomain
192.168.1.25    alpha.localdomain       alpha
192.168.1.26    beta.localdomain        beta
....

Using the domain of my ISP caused some mail
to be rejected.  Using an invented domainname
caused other problems.   "localdomain" seems to
work fine.  It makes sense too.

Lots of things will work ok when your not on the net
and you're not doing mail.



>
> ----------------------
>
> Now, I know this is not exactly right (the nickname in hosts should just be
> alpha?) but is any software going to puke because it can't find a
> 'localhost'?    Should I just bite the bullet, assign myself a class A
> address and put in IP masquerading?  If I do that, should hosts read as
> follows?
>
> -----------------------
> 127.0.0.1 localhost.localdomain localhost
> <classA_IP> alpha.bruce.net alpha
> -----------------------
>
> Or should it be localhost.bruce.net?
>
> I have 'search lineone.net' for my lSP in /etc/resolv.conf: should I put in
> a 'domain' line and should that be 'bruce.net' or 'lineone.net'?
>
> Before anyone points out that my current set-up will cause problems for
> sendmail with bounced e-mails etc, I know.  I haven't set up e-mail yet,
> I'm doing things one step at a time so that I know what I'm doing
>
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>                http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with
>                        "unsubscribe" as the Subject.

--

Jan Carlson
janc@iname.com   Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.2




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post