Help - Search - Members - Calendar
Full Version: Chat Script Problems
Linuxhelp > Support > Technical Support
steve-o
After the old modem got fried, a new one was installed (Zoom V.92 external).
The modem responds, inits and dials with minicom, but a chat script fails, as the modem never replies to chat. Using chat -v, the log basically shows

send ATZ
expect OK
alarm
failed

Anyone have any ideas?

This is on a RedHat 7.2 box.
Joey
what chatscript is this? Have you tried ppp-up? Get it here
steve-o
since ppp invokes chat, I have to get chat to work first. so to test the chat script I'm just running:

chat -v -f my-chat-script

the chat script itself is very basic (this is not exact)

ABORT 'nBUSYr'
ABORT 'nNO ANSWERr'
ABORT 'nRINGINGrnrnRINGINGr'
"OK-+++c-OK" ATH0
"" ATZ
OK ATS11=50L3 (more init stuff here)
OK ATDT (phone number)
CONNECT ""

Also, I notice when I run chat, if I have any init commands in the string prefaced with an ampersand they create an error. For example an init string that contains &c1 gives me an error about an invalid command.
Joey
Try ppp-up.
steve-o
I've done that. ppp-up does not work. It runs the chat script and logs a chat script error. That's why I'm trying to break it down and see where the failure is.
Since all ppp-up does is invoke pppd with a connect option, which in turns spawns chat, I'm skipping the pppd process and running chat directly from the shell, with identical command line options to trace the error. Doing that gives me the 'alarm' and 'failure' messages in /var/log/messages, and I can watch the modem front panel and see that nothing happens. But minicom works fine.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.