Date: Mon, 11 Dec 1995 22:41:07 -0500 (EST) From: "Jonathan M. Bresler" <jmb@FreeBSD.ORG> To: Ron Steele <rjs@infi.net> Cc: question freebsd <freebsd-questions@freefall.FreeBSD.org> Subject: Re: ppp and chat Message-ID: <Pine.BSF.3.91.951211223827.14039A-100000@Aspen.Woc.Atinc.COM> In-Reply-To: <Pine.BSF.3.91.951211215326.279A-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951211223827.14039A-100000>