Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 1995 20:40:34 -0500 (CDT)
From:      Rob Snow <rsnow@legend.txdirect.net>
To:        Terry Lambert <terry@cs.weber.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rcp strangness
Message-ID:  <Pine.BSF.3.91.950707203355.5619A-100000@oasis>
In-Reply-To: <9507062336.AA22571@cs.weber.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Jul 1995, Terry Lambert wrote:

> > ***********************************
> > /etc/hosts on oasis  (identical on lost)
> > ***********************************
> > # hosts,v 1.5 1995/04/09 09:54:39 rgrimes Exp
> > 127.0.0.1		localhost
> > 
> > 204.57.120.200		oasis oasis.txdirect.net
> > 204.57.120.201		lost lost.txdirect.net
> > 
> > 
> > ***********************************
> > /etc/resolv.conf on oasis
> > ***********************************
> > domain		txdirect.net
> > nameserver	204.57.120.6
> >                 ^^^^^^^^^^^^ 	This nameserver is indeed remote (ppp).
> > 				However if I dont put it here I cant find
> > 				ANYONE not in hosts.
> 
> The /etc/hosts.conf file determines appeal order.  By default, you want
> to change it to hosts then remote.
> 
Right, hosts before bind in host.conf.  I have that.
***************************
/etc/host.conf
***************************
# host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp
# Default is to use the nameserver first
# NOTE: rsnow changed this 01-Jul-95 to have hosts before bind for ppp
hosts
bind

So why does:

	lost% rcp trash oasis:~/trash 

cause ppp (running on oasis) to dial?

again:

	lost <------- lp0 ---> oasis <------- ppp ---> ISP
	204.57.120.201	       204.57.120.200          204.57.120.3 &
	                                               204.57.120.6 &
	                                               rest of net

---
Rob Snow
rsnow@txdirect.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950707203355.5619A-100000>