From owner-freebsd-stable Thu Aug 3 22:24:44 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id C74A837B7A0 for ; Thu, 3 Aug 2000 22:24:41 -0700 (PDT) (envelope-from cjc@184.215.6.64.reflexcom.com) Received: from 184.215.6.64.reflexcom.com ([64.6.215.184]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Thu, 3 Aug 2000 22:23:38 -0700 Received: (from cjc@localhost) by 184.215.6.64.reflexcom.com (8.9.3/8.9.3) id WAA66328; Thu, 3 Aug 2000 22:24:36 -0700 (PDT) (envelope-from cjc) Date: Thu, 3 Aug 2000 22:24:36 -0700 From: "Crist J . Clark" To: Jonathan Vaughan Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Unable to get IP address of own host during CVSup Message-ID: <20000803222436.B66052@184.215.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <00080315210102.01468@Praetorian> <20000804001656.C3360@strontium.scientia.demon.co.uk> <20000804003808.A1307@mashed.turnip.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000804003808.A1307@mashed.turnip.org.uk>; from jonathan@turnip.org.uk on Fri, Aug 04, 2000 at 12:38:08AM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Aug 04, 2000 at 12:38:08AM +0100, Jonathan Vaughan wrote: > On Fri, Aug 04, 2000 at 12:16:56AM +0100, Ben Smithurst wrote: > > Robert L. Bostic wrote: > > > > > I am attempting to cvsup over a dial-up connection. I get the > > > following error message: > > >> Praetorian# cvsup stable-supfile Cannot get IP address of my own > > >> host -- is its hostname correct? > > > I know I can't be the first to encounter this problem. How can I > > > correct this? > > > > Well, I don't know how the message could be made any clearer... You > > need an entry for your hostname (as reported by `hostname`) in > > /etc/hosts or in DNS, e.g. > > > > 127.0.0.1 my.hostname.example.com localhost > > > > or something. > > I thought the correct way was to have something like > > ifconfig_lo0_alias0="inet 10.0.0.1 netmask 0xffffffff" This is not the correct way. This is a Bad Idea. Don't give the loopback any address but 127.0.0.1. > and a hosts file like > > 127.0.0.1 localhost.turnip.org.uk localhost > 10.0.0.1 mashed.turnip.org.uk mashed This is fine, but remember that 'hosts' has to appear in /etc/host.conf for the /etc/hosts file to be referenced. -- Crist J. Clark cjclark@alum.mit.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message