Subject: Re: X ok, info on setting up PPP server? (not client)
To: Nathan Raymond <xray@cs.brandeis.edu>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 02/10/1997 17:06:19
> 
> I searched through the online docs, notes and faqs, but was unable to find
> any info on how to set up a serial PPP connection where NetBSD is the
> server, not the client.  In other words, I want to have my Q630 running OT
> 1.1.2 w/PPP 1.0 connect through an ImageWriter (null modem din-8) cable to
> my Mac II running NetBSD so I can run eXodus on my Q630 (very important
> since I only have one monitor for both computers).  Should I just scour
> through the man pages or does anyone have some quick info they could share?
> I have verified that OT/PPP does indeed support direct serial connections,
> so there will be no problem on that side.  Its just a matter of getting the
> Mac II to listen on one of its serial ports for a PPP connection (is the
> modem or printer port better for this? I seem to remember the modem port
> has a higher priority than the printer port).

Scour through the man pages. One of the first examples mentioned (man pppd)
is pppd /dev/tty0a 9600 passive. You'll want something a little more than
that, but that's the idea. Something like "pppd /dev/tty0a 38400 passive file
/etc/ppp/your_options_for_this_port_file". I'd suggest crtscts as an
option, and you'll need to give IP addresses for each end, like:
<local_IP_address>:<remote_IP_address>. Something from the 10.X.X.X
range would be safe.

ppp is symetric, so there's no "server" ppp vs "client" ppp, except if one
side sets the others IP address.

Take care,

Bill

Take care,

Bill