Did the chatscript work properly *before* you added those AT commands? The
added commands themselves look okay, but I see two other problems based on
what you sent:
1. At the end of the chatscript, the next-to-last line is nonsense. Compared
to the prior version you sent, the script is missing most of these lines:
OK ATDT$TELEPHONE \
TIMEOUT 40 \
CONNECT '' \
ogin:--ogin: $ACCOUNT \
What you just sent truncates this to
> OK ATDT$UNT \
As sent (in your latest message) the script would fail as a result of this
error. But I don't know if the error is in your real chatscript or is just a
typo in the e-mail.
2. An ioctl error is a problem operating a character device such as a serial
port ("man ioctl" will give you the technical details). Are you sure that
you have pppd connecting to the correct device? Depending on the specifics
of your setup, it might be /dev/ttyS0 (NOT /dev/ttys0), /dev/ttyS1 (NOT
/dev/ttys1), /dev/modem (this would be a symlink, and you should verify that
it is symlinked correctly - it probably is, though, since /dev/modem is
what, normally, minicom talks to), or something odder if you have unusual
modem/serial hardware. Check either the command-line switches in the script
that calls pppd or you pppd options file (chat gets its device info from pppd).
At 01:56 PM 11/6/99 -0500, [EMAIL PROTECTED] wrote [in part]:
>Several people have been very patient in helping me set AT commands
>in the /etc/ppp/ppp-on-dialer chat script under RedHat 6.0 for a 56K
>Robotics external modem. At least I'm able at this point to ask a
>well-defined question.
....
>My /var/log/message file says:
>
>kernel: CSLIP: code copyright 1989 Regents of the University of California
>kernel: PPP: version 2.3.3 (demand dialling)
>kernel: PPP line discipline registered.
>kernel: registered device ppp0
>pppd[7837]: pppd 2.3.7 started by brownh, uid 500
>pppd[7837]: Connect script failed
>chat[7839]: Can't get terminal parameters: Inappropriate ioctl for device
>pppd[7837]: Exit.
>
>Do I correctly infer from this that the format of my addition of the AT
>commands in the chat script is incorrect, since the modem accepted the
>commands via minicom OK?
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
Palo Alto, CA [EMAIL PROTECTED]
----------------------------------------------------------------