Subject: Re: debugging PPP connection
To: Dave <djibsd@punchcutter.ml1.net>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 02/18/2003 05:54:54
On Mon, 17 Feb 2003, Dave wrote:

> Feb 15 13:41:56  pppd[264]: pppd 2.4.0 started by root, uid 0
> Feb 15 13:41:57  chat[266]: abort on (NO CARRIER)
> Feb 15 13:41:57  chat[266]: abort on (NO DIALTONE)
> Feb 15 13:41:58  chat[266]: abort on (ERROR)
> Feb 15 13:41:58  chat[266]: abort on (NO ANSWER)
> Feb 15 13:41:58  chat[266]: abort on (BUSY)
> Feb 15 13:41:58  chat[266]: abort on (Username/Password Incorrect)
> Feb 15 13:41:58  chat[266]: report (CONNECT)
> Feb 15 13:41:58  chat[266]: send (ATDT,4132200^M)
> Feb 15 13:41:58  chat[266]: expect (CONNECT)
> Feb 15 13:42:26  chat[266]: ATDT,4132200^M^M
> Feb 15 13:42:26  chat[266]: CONNECT
> Feb 15 13:42:26  chat[266]:  -- got it
> Feb 15 13:42:26  chat[266]: send (^M)
> Feb 15 13:42:26  pppd[264]: Serial connection established.
> Feb 15 13:42:26  pppd[264]: Using interface ppp0
> Feb 15 13:42:27  pppd[264]: Connect: ppp0 <--> /dev/tty03
> Feb 15 13:32:29  last message repeated 8 times
> Feb 15 13:42:28  /netbsd: ppp0 output:
> ff03c021010100140206000000000506a27a982507020802
> Feb 15 13:42:53  pppd[264]: Modem hangup
> Feb 15 13:42:53  pppd[264]: Connection terminated.
> Feb 15 13:42:54  pppd[264]: Serial link is not 8-bit clean:
> Feb 15 13:42:54  pppd[264]: All received characters had bit 7 set to 0

What happens if:

1) You end your chat script with 'CONNECT', as opposed to sending one
more carraige return.

2) You add 'AT&F &C1&D2 E0' to the beginning (especially E0)?

Frederick