From nobody  Tue Feb 25 00:41:44 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id AAA10103;
          Tue, 25 Feb 1997 00:41:44 -0800 (PST)
Message-Id: <199702250841.AAA10103@freefall.freebsd.org>
Date: Tue, 25 Feb 1997 00:41:44 -0800 (PST)
From: andrew@ugh.net.au
To: freebsd-gnats-submit@freebsd.org
Subject: sysinstall wont resolve addresses over PPP
X-Send-Pr-Version: www-1.0

>Number:         2812
>Category:       bin
>Synopsis:       sysinstall wont resolve addresses over PPP
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 25 00:50:01 PST 1997
>Closed-Date:    Tue Mar 11 07:35:13 PST 1997
>Last-Modified:  Tue Mar 11 07:35:50 PST 1997
>Originator:     Andrew
>Release:        2.2-970222-GAMMA
>Organization:
>Environment:
Not quite at that stage
>Description:
I am trying to install 2.2-970222-GAMMA over a PPP line (via FTP). I pick
"URL not in list" when it asks what site I enter ftp://<IP Number>/path.

After getting the PPP connection up it brings up the message:

 Cant resolve "". Is your nameserver, gateway etc configured correctly?

The DNS is working but shouldn't even be needed as I entered an IP address.
It appears it is trying to resolve a null string or something.
>How-To-Repeat:
Install 2.2-970222-GAMMA via FTP over a PPP link over a modem and specify
an other URL that contains an IP address.
>Fix:

>Release-Note:
>Audit-Trail:

From: Andrew <andrew@ugh.net.au>
To: freebsd-gnats-submit@freebsd.org, andrew@ugh.net.au
Cc:  Subject: Re: bin/2812: sysinstall wont resolve addresses over PPP
Date: Sat, 08 Mar 1997 16:06:50 +1100

 Hi,
 
 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.
 
 Andrew

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. ;-)

From: Andrew <andrew@ugh.net.au>
To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc: freebsd-gnats-submit@freefall.freebsd.org
Subject: Re: bin/2812: sysinstall wont resolve addresses over PPP
Date: Tue, 11 Mar 1997 14:35:02 +1100 (EST)

 On Mon, 10 Mar 1997, J Wunsch wrote:
 
 > Hmm, i've just tried it with yesterday's sysinstall (in multi-user
 > mode, but that shouldn't matter).  Here's the log extract:
 
 OK...I'll try the latest gamma agian tonight. I'll turn on debugging (it
 is an option isnt it?) and record everything. IF I still have the same
 problem I'll mail it to you. If no body has any ideas I'll just install by
 ethernet so I can get other bug reports in before release(I just thought
 this bug is one that needed resolving :-)
 
 Thanks again,
 
 Andrew
 
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Tue Mar 11 07:35:13 PST 1997 
State-Changed-Why:  
OK, got this one.  Will be fixed in 2.2. 
>Unformatted:
