Subject: Re: ppp dialup?
To: None <port-sparc64@netbsd.org>
From: Ian Main <imain@stemwinder.org>
List: port-sparc64
Date: 02/20/2003 00:05:25
Well, I think it was actually just not getting to the ppp part on the remote
side yet, and seeing all that text thought it was 7-bit only.  I changed my
script from pap (why that wouldn't work I don't know) to manual login, and
now ppp just says the modem hangs up as soon as it gets control.

Feb 19 22:35:00 iggy chat[516]: expect (~)
Feb 19 22:35:00 iggy chat[516]: LBC01-INDIR01>ppp^M
Feb 19 22:35:00 iggy chat[516]: Entering PPP routing mode.^M
Feb 19 22:35:00 iggy chat[516]: Async interface address is unnumbered (Ethernet0)^M
Feb 19 22:35:00 iggy chat[516]: Your IP address is xxx.xxx.xxx.xxx MTU is 1500 bytes^M
Feb 19 22:35:00 iggy chat[516]: Header compression will match your system.^M
Feb 19 22:35:00 iggy chat[516]: ^M
Feb 19 22:35:04 iggy chat[516]: ~
Feb 19 22:35:04 iggy chat[516]:  -- got it
Feb 19 22:35:04 iggy pppd[512]: Serial connection established.
Feb 19 22:35:04 iggy pppd[512]: Using interface ppp0
Feb 19 22:35:04 iggy pppd[512]: Connect: ppp0 <--> /dev/ttyh1
Feb 19 22:35:04 iggy pppd[512]: Modem hangup
Feb 19 22:35:04 iggy pppd[512]: Connection terminated.
Feb 19 22:35:05 iggy pppd[512]: Exit.

At that point I see no reason why it wouldn't just pick up and run.  The funny
part is that the modem itself never really hangs up until the remote end terminates
the call.

    Ian

On Thu, Feb 20, 2003 at 05:18:51PM +1100, Adrian Portelli wrote:
> Hi,
> 
> I played round with this a while ago on my Ultra10 and had exactly the
> same problems.  I tested the modem and line under a different OS as
> well as NetBSD x86 and they behaved fine.  As soon as I tried it on 
> the U10 I kept on getting this "not 8 bit clean" message.
> 
> I tried it on a -current system and also on a 1.6 system where I had
> back ported the drivers from -current.  Both times I got the same errors.
> 
> I chatted to petrov@netbsd.org about this a while ago and had no 
> immediate luck.  He asked for some debugs of the PPP connection but 
> unfortunately by that stage my U10 was doing something different and I
> never got back to him.
> 
> Maybe someone could pick it up from here . . . .
> 
> Adrian.