Subject: Re: two pppd's?
To: David Bushong <dbushong@cory.eecs.berkeley.edu>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 07/20/1996 23:31:18
> 	Is it possible to run two pppd's at once?  (or is this even 
> necessary)  I can successfully connect to my ISP (/dev/tty01), but have 
> another, screen-less Mac running NetBSD, which I can fake IP addresses 
> for and connect to /dev/tty00.. however, if I can't seem to do both at 
> once.. any ideas?

For what you want to do, it is necessary (there has to be a listener at
each serial port). I have done it. The only changes were:

1) I made two up and down scripts. These scripts look at the lock
files to see if pppd is running on their port (as opposed to just
looking for pppd in /proc). Also, they kill only the one on their port.

2) I added an options.tty01 (my link to the other mac) which specifies
the two addresses for that ppp link (so the other mac gets its IP
address from the modemed mac, just as the modemed mac gets its IP
address from the ISP).

I can send you the scripts if you like.

Your modem's on the printer port?

Take care,

Bill