From owner-freebsd-questions Mon Dec 11 19:41:24 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA03660 for questions-outgoing; Mon, 11 Dec 1995 19:41:24 -0800 (PST) Received: from Aspen.Woc.Atinc.COM (Aspen.Woc.Atinc.COM [198.138.38.205]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id TAA03652 for ; Mon, 11 Dec 1995 19:41:12 -0800 (PST) Received: (from jmb@localhost) by Aspen.Woc.Atinc.COM (8.6.12/8.6.9) id WAA14049; Mon, 11 Dec 1995 22:41:08 -0500 Date: Mon, 11 Dec 1995 22:41:07 -0500 (EST) From: "Jonathan M. Bresler" X-Sender: jmb@Aspen.Woc.Atinc.COM To: Ron Steele cc: question freebsd Subject: Re: ppp and chat In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG Precedence: bulk On Mon, 11 Dec 1995, Ron Steele wrote: > I have a ppp chat script that works about half the time. How do I get > ppp to log the login conversation to a file so I can debug this, and what is > the file called? I have tried setting debug and log levels and it doesn't > seem to have any effect at all. I have been looking at the messages and > ppp.log files. add the line 'debug chat' to the default section of your /etc/ppp/ppp.conf. then start a 'tail -f /var/log/ppp.log' in one window/screen. in another ping your isp. the chat script operations will be written to /var/log/ppp.log like this: 12-11 19:22:44 [13750] PPP Started. 12-11 19:23:02 [13750] Expecting 12-11 19:23:02 [13750] sending: ATE1Q0 12-11 19:23:02 [13750] Expecting OK-AT-OK 12-11 19:23:02 [13750] Wait for (5): OK --> OK 12-11 19:23:03 [13750] sending: ATDT....... <-- phone number removed 12-11 19:23:03 [13750] Expecting CONNECT 12-11 19:23:03 [13750] Wait for (40): CONNECT --> CONNECT dial OK! 12-11 19:23:25 [13750] Expecting mmer>-\r-mmer>-\r-mmer> 12-11 19:23:25 [13750] Wait for (10): mmer> --> mmer> Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG play go. ride bike. hack FreeBSD.--ah the good life i am moving to a new job. PLEASE USE: jmb@FreeBSD.ORG