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.

I was advised by my ISP to use AT&F1&K0 to get a 56K external Robotics
modem to behave with Linux. I used minicom to run each of these commands 
against the modem and they returned OK, which I take to mean at the very 
least that the modem has accepted the script and is ready for another 
command.

To use these commands, I added a line to my chat script as follows:

        /usr/sbin/chat -v                               \
        TIMEOUT         3                               \
        ABORT           '\nBUSY\r'                      \
        ABORT           '\nNO ANSWER\r'                 \
        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
        ABORT           '\nNO DIALTONE\r'               \
        ''              \rAT                            \
        'OK-+++\c-OK'   ATH0                            \
        TIMEOUT         30                              \
        OK              AT&F1&K0                        \
        OK              ATDT$UNT                        \
        assword:        $PASSWORD

However, this does not work, in the sense that nothing happens with
the modem. 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?

Haines Brown

Reply via email to