Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2000 00:38:08 +0100
From:      Jonathan Vaughan <jonathan@turnip.org.uk>
To:        freebsd-stable@freebsd.org
Subject:   Re: Unable to get IP address of own host during CVSup
Message-ID:  <20000804003808.A1307@mashed.turnip.org.uk>
In-Reply-To: <20000804001656.C3360@strontium.scientia.demon.co.uk>; from ben@FreeBSD.org on Fri, Aug 04, 2000 at 12:16:56AM %2B0100
References:  <00080315210102.01468@Praetorian> <20000804001656.C3360@strontium.scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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"

in /etc/rc.conf

and a hosts file like

127.0.0.1               localhost.turnip.org.uk localhost
10.0.0.1                mashed.turnip.org.uk mashed

-- 
Jonathan Vaughan
jonathan@turnip.org.uk
PGP Key ID: 0x0AF58107
http://home.clara.net/turnip/pgp.txt | jon@pgpkey.turnip.org.uk | keyservers


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?20000804003808.A1307>