ppp in chat mode, how to debug chat script

ppp in chat mode, how to debug chat script

Post by case » Mon, 13 Nov 1995 04:00:00



Hello,

  I have a question about debugging my chat script for pppd.  I need to know if
there is a way to display the text which is exchanged between the systems
during
the login procedure.  I need to figure out at which stage the script is
wrong.  NOTE:  I tried chat -v and that did not work.

-Thanks for your help

James Case

 
 
 

ppp in chat mode, how to debug chat script

Post by case » Mon, 13 Nov 1995 04:00:00


it is in /usr/adm/messages.  I found that in a much earlier article.
Sorry to trouble you all.

Cheers.
J.C.

 
 
 

ppp in chat mode, how to debug chat script

Post by gr.. » Mon, 13 Nov 1995 04:00:00



>Hello,

>  I have a question about debugging my chat script for pppd.  I need to know if
>there is a way to display the text which is exchanged between the systems
>during
>the login procedure.  I need to figure out at which stage the script is
>wrong.  NOTE:  I tried chat -v and that did not work.

>-Thanks for your help

>James Case

If you increase the debugging level, it will log the text exchanged
to syslog.
 
 
 

ppp in chat mode, how to debug chat script

Post by Al Longye » Tue, 14 Nov 1995 04:00:00



>it is in /usr/adm/messages.  I found that in a much earlier article.
>Sorry to trouble you all.

The messages are written to the local2.info group. Make it point
whereever you wish.

Other messages are written to local2.err and local2.warning.

--

 
 
 

1. PPP/CHAT: chat won't chat with modem, why?

I've been trying to get a dynamic IP connection to work via ppp, and I
think I've narrowed the problem down to the chat program.  chat
doesn't seem to be getting any responses from the modem.  I've been
trying to figure out what's going on by running chat from the command
line (can this work?), but no luck.  For example,


gives the following error messages:

Mar  9 11:43:49 rezkbox chat[1285]: timeout set to 3 seconds
Mar  9 11:43:49 rezkbox chat[1285]: send (^MAT^M^M)
Mar  9 11:43:49 rezkbox chat[1285]: expect (OK)
Mar  9 11:43:52 rezkbox chat[1285]: alarm
Mar  9 11:43:52 rezkbox chat[1285]: send (+++)
Mar  9 11:43:52 rezkbox chat[1285]: expect (OK)
Mar  9 11:43:55 rezkbox chat[1285]: alarm
Mar  9 11:43:55 rezkbox chat[1285]: Failed

I really don't know what's going on.  I'm also a bit confused about
the chat program; it's supposed to communicate with the modem, but how
does it even know which serial port the modem is on?

Any ideas?

-- Charles Rezk

2. X Fonts

3. PPP/Chat: Working chat script Linux==>SCO?

4. Getting awk to ignore specified fields???

5. PPP: Modified chat for two chat scripts

6. Create SSL *client* certificate to be used in Apache 2

7. Netra ppp chat modem-chat

8. getting the difference in modification time of two files

9. MST PPP: Trouble executing shell script from chat script for Secure ID.

10. Can't Get PPP Working - Chat (ppp-on) script won't dial

11. Good realtime chat program and chat boards for Unix WWW server?

12. altos chat, shell replacement type chat for linux?

13. ! ANN: Free Chat - chat software for websites