Subject: pppd?
To: None <port-arm32@NetBSD.ORG>
From: Neil Hoggarth <neil.hoggarth@PHYSIOL.OX.AC.UK>
List: port-arm32
Date: 08/26/1996 12:58:13
Does anyone have any experience of using pppd with RiscBSD?

I've had a go at setting it up, but I've run into problems. The
modem dials correctly but it appears that the PPP negotiation phase
doesn't complete. A typical set of syslog entries from an attempt
to connect looks like this:

Aug 26 09:21:10 chuck pppd[133]: pppd 2.3.0 started by njh, uid 0
Aug 26 09:21:31 chuck pppd[133]: Serial connection established.
Aug 26 09:21:32 chuck pppd[133]: Using interface ppp0
Aug 26 09:21:32 chuck pppd[133]: Connect: ppp0 <--> /dev/tty00
Aug 26 09:21:32 chuck pppd[133]: sent [LCP ConfReq id=0x1 <magic
0x530f29e9> <pcomp> <accomp>]
Aug 26 09:21:59 chuck last message repeated 9 times
Aug 26 09:22:02 chuck pppd[133]: LCP: timeout sending Config-Requests
Aug 26 09:22:02 chuck pppd[133]: Connection terminated.
Aug 26 09:22:02 chuck pppd[133]: Serial link is not 8-bit clean:
Aug 26 09:22:02 chuck pppd[133]: All received characters had bit 7 set to 0
Aug 26 09:22:03 chuck pppd[133]: Exit.

I'm not sure whether the message about the serial link not being
8-bit clean is relevent, or whether it is misleading. I see
two possiblities:

1) The serial link really is stripping incoming characters
   to 7 bits, which is the LCP configuration is going nowhere.

2) The LCP configuration is failing because the far end isn't
   answering the config request, and the diagnostic about
   not seeing any 8 bit characters is because there haven't
   been any received characters at all (or some such silly
   reason).

I've examined the serial line settings while the pppd process
is running ("stty -a </dev/tty00") and I can't see any problems
with it - it looks to me as though it ought to be 8-bit clean.

If anyone is sucessfully running ppp then I'd be interested to
see some example configuration files.

I'm running the BSD-4444 kernel with the 1.2beta sets, if this
makes any difference.


Regards,

Neil Hoggarth, <neil.hoggarth@physiol.ox.ac.uk>