Subject: Using pppd ( was Re: Installing 1.4 )
To: None <port-arm32@netbsd.org>
From: Simon Knott <simonk@dynarx.demon.co.uk>
List: port-arm32
Date: 05/31/1999 00:59:22
In message <Pine.SOL.3.95q.990529111543.19040A-100000@red.csi.cam.ac.uk>
          David Forbes <dmf20@hermes.cam.ac.uk> wrote:

> > something do you have to redirect stdin and stdout to /dev/tty00?
>
> The problem you might be having is that you have to set some flags using
> stty for this to work...it took ages for me to get it going.  It's a lot
> easier to just get pppd to call chat, because pppd will do the required
> magic.  (ISTR it's something to do with the CD line...which won't be
> active until the modem connects, but the computer won't talk to the modem
> without it, unless it's explicitly told to ignore it.)

I followed your advice and also checked the network document on
www.netbsd.org and hey presto I'm on the internet using pppd.  There
were one or two problems like pppd didn't seem to read the
/etc/ppp/options.tty00 file like the man page says it should but I just
put these options in /etc/ppp/peere/demon instead and that seems to
work.  It also doesn't write its pid to /var/run/ppp0.pid but once I got
the lock option to work I found it in /var/spool/lock/LCK..tty00.

The main problem I have is that I keep getting a message on the console
saying com0 xx silo overruns ( or similar ) where xx is a number
usually around 30-50.  Any ideas on this one, I'm guessing that is
either some handshaking problem or a buffer ( is there a serialbuffer
equivalent under BSD? ) or something else.

Cheers

-- 
 Simon     |  simonk@dynarx.demon.co.uk       |  PGP public key available
           |  http://www.dynarx.demon.co.uk   |

The trouble with being a god is that you've got no one to pray to.
-- (Terry Pratchett, Small Gods)