Subject: Re: ppp FAQ suggestions
To: Bill Studenmund <wrstuden@loki.stanford.edu>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 08/08/1997 12:08:21
Bill Studenmund wrote:
> 
> > How can I set-up one port (tty00) the modem port for dialling out to my 
> > ISP and the other printer port (tty01) for dialling in to my NetBSD box?
> 
> I am thinking about this. Would it be confusing if we had two setups
> in the kit?  Like:
> 
> ppp-up		->		modem-up
> 				print-up
> ppp-down	->		modem-down
> 				print-down
> 
> ppp-chat	->		modem-chat
> 				print-chat
> ppp-connect	->		modem-connect (seperate for debugging stuff)
> 				print-connect

Hmmm...that will work, but do you think that this functionality is really
necessary?  Wouldn't someone interested in doing this be willing to go to
the trouble of modifying the scripts themselves?  How do you pick which
port is going to be the "client" port and which the "server"?  I realize
pppd is both, but one connect script is actually going to dial a remote
system, the other should just put the modem in auto-answer mode or
something like that.

Perhaps you'd want something more like:

ppp-up [modem | printer]  (defaults to modem)

and 

ppp-server [printer | modem] (defaults to printer)

Does this make sense?

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.