I'm trying to debug my connect script to get diald/pppd working. The
script starts out with this:
#!/bin/sh
MODEM_INIT="ATZ"
CHATDBG="-V -S"
# Compuserve uses 7e1 for login, 8n1 for PPP once logged in
stty evenp raw -echo crtscts
# Initialize the modem. Usually this just resets it.
chat $CHATDBG TIMEOUT 5 "" $MODEM_INIT TIMEOUT 45 OK ""
I run this with
./connect </dev/modem >/dev/modem
and I see the outgoing string "ATZ", but I only see a "K" coming back.
It's like it's dropping characters.
The modem is a ZyXEL U1496 (temporary for testing, will be replaced
with an ISDN line later). I can login and start PPP protocol
interactively using minicom, suspending to the command line, and
running pppd. It's just the connect script that I'm having trouble
with, and it's like chat isn't behaving as expected.
Can anyone tell me what I might be doing wrong?
Distribution is RH5.2.
Ken
mailto:[EMAIL PROTECTED]
http://www.well.com/user/shiva/
http://www.e-scrub.com/cgi-bin/wpoison/wpoison.cgi (Death to Spam!)
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]