Subject: Re: Chat doesn't work!
To: Chris A. Mattingly <Chris_Mattingly@ncsu.edu>
From: Eduardo E. Horvath firstname.lastname@example.org <email@example.com>
Date: 10/03/1995 08:57:26
On Mon, 2 Oct 1995, Chris A. Mattingly wrote:
> Chat doesn't work _right_ for me. I can make it dial the number, it'll
> send my login id, send the password, then it's like it stop serial input or
> something. If I kill off chat, and start up kermit, all I have to do is
> hit return, and i'm logged in. (I can hit a space, then return, to
> verify that it did send my_passwd, and a carriage return).
> Here's my chat script:
> ABORT "NO DIALTONE"
> ABORT "NO CARRIER"
> ABORT "ERROR"
> ABORT "BUSY"
> TIMEOUT 2
> "" "+\p+\p+\d"
> OK-AT-OK ATZ0
> TIMEOUT 60
> OK ATDT5153407
> CONNECT ""
> "ogin: " "\p[user name]"
> "ssword:" "\q[your passwd]"
Try sticking a \r at the end of the password. \q may prevent chat from
sending a CR.
> TIMEOUT 45
> "unity%" "/local/bin/pppd && logout"
> So what's wrong with it, and also, why will it not log _anything_ to
> syslog like it's supposed to?
Chat sends it's output to syslog as local2. You need to modify your
syslog.conf to send local2.* somewhere, most likely the console.