Date: Thu, 3 Aug 2000 22:24:36 -0700 From: "Crist J . Clark" <cjclark@reflexnet.net> To: Jonathan Vaughan <jonathan@turnip.org.uk> 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> In-Reply-To: <20000804003808.A1307@mashed.turnip.org.uk>; from jonathan@turnip.org.uk on Fri, Aug 04, 2000 at 12:38:08AM %2B0100 References: <00080315210102.01468@Praetorian> <20000804001656.C3360@strontium.scientia.demon.co.uk> <20000804003808.A1307@mashed.turnip.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000803222436.B66052>