Subject: Re: PPP just not working
To: Mailing List Recpient <lists@whine.com>
From: None <rmcm@compsoft.com.au>
List: netbsd-help
Date: 09/21/1998 09:42:20
There is no sign of ppp at the remote end. When you run the chat
script manually do you see the remote ppp initiation (just after
login)?
------------------------------------------------------------
Rex McMaster rmcm@compsoft.com.au
rex@mcmaster.wattle.id.au
PGP Public key: http://www.compsoft.com.au/~rmcm/pgp-pk
Mailing List Recpient writes:
> I've been trying to set up pppd on a netbsd-1.3.2 running a sparc IPC.
>
> When running with debug mode I get the following:
>
> pppd /dev/ttyb 9600 crtscts defaultroute debug connect /etc/ppp/test.sh
>
> pppd[1659]: pppd 2.3.1 started by andrew, uid 0
> pppd[1659]: Serial connection established.
> pppd[1659]: Using interface ppp0
> pppd[1659]: Connect: ppp0 <--> /dev/ttyb
> pppd[1659]: sent [LCP ConfReq id=0x1 <magic 0x7a22c0f3> <pcomp> <accomp>]
> pppd[1659]: Modem hangup
> pppd[1659]: Connection terminated.
> pppd[1659]: Exit.
>
> -or-
>
> pppd /dev/ttyb 9600 crtscts defaultroute debug silent connect /etc/ppp/test.sh
>
> pppd[1682]: pppd 2.3.1 started by andrew, uid 0
> pppd[1682]: Serial connection established.
> pppd[1682]: Using interface ppp0
> pppd[1682]: Connect: ppp0 <--> /dev/ttyb
> pppd[1682]: Modem hangup
> pppd[1682]: Connection terminated.
> pppd[1682]: Exit.
>
>
> cat /etc/ppp/test.sh
>
> #!/bin/sh
> echo 'Dialing...'
> rc=4
> while [ $rc != 0 ]; do
> chat -v -f /etc/ppp/test.chat
> rc=$?
> done
> echo 'Done\n'
> exit 0
>
> cat /etc/ppp/test.chat
>
> ABORT "NO CARRIER"
> ABORT "NO DIALTONE"
> ABORT "ERROR"
> ABORT "NO ANSWER"
> ABORT "BUSY"
> "" "at"
> OK "AT&FM0"
> OK "ATDT1231231234"
> CONNECT ""
> "gin:" "USER"
> "sword:" "PASSWORD"
>
> The chat script succeeds, but it just wants to hang up when it tries
> anything else. I've tried many many of the options to try and get this
> to work, to no avail... i'm getting frazzled. Any assistance would be
> appreciated.
>
> thanks
>
> Andrew
--