From owner-freebsd-bugs Mon Mar 10 15:00:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA05309 for bugs-outgoing; Mon, 10 Mar 1997 15:00:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA05285; Mon, 10 Mar 1997 15:00:03 -0800 (PST) Date: Mon, 10 Mar 1997 15:00:03 -0800 (PST) Message-Id: <199703102300.PAA05285@freefall.freebsd.org> To: freebsd-bugs Cc: From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: bin/2812: sysinstall wont resolve addresses over PPP Reply-To: j@uriah.heep.sax.de (J Wunsch) Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/2812; it has been noted by GNATS. From: j@uriah.heep.sax.de (J Wunsch) To: andrew@ugh.net.au (Andrew) Cc: freebsd-gnats-submit@freefall.freebsd.org Subject: Re: bin/2812: sysinstall wont resolve addresses over PPP Date: Mon, 10 Mar 1997 23:48:37 +0100 As Andrew wrote: > Just letting you know I get the same thing with 2.2-970302-GAMMA. > Presumably other people aren't experiencing the same thing as I haven't > seen any mention on the mailing lists but it still appears to be missong > the entered IP address and trying to resolve the null string. Hmm, i've just tried it with yesterday's sysinstall (in multi-user mode, but that shouldn't matter). Here's the log extract: DEBUG: Setting variable ftp to other DEBUG: variable ftp was other, now ftp:// DEBUG: variable ftp was ftp://, now ftp://127.0.0.1/usr/release/R/ftp DEBUG: hostname = `127.0.0.1' DEBUG: dir = `usr/release/R/ftp' DEBUG: port # = `21' DEBUG: Found DNS entry for 127.0.0.1 successfully. DEBUG: Setting variable ftpHost to 127.0.0.1 DEBUG: Setting variable ftpDirectory to usr/release/R/ftp DEBUG: Setting variable ftpPort to 21 So it does indeed try to resolve the IP address, but only if a nameserver is configured at all: if (variable_get(VAR_NAMESERVER)) { if ((gethostbyname(hostname) == NULL) && (inet_addr(hostname) == INADDR_NONE)) { ... ...but it works for me afterwards. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)