I've got a working dialup script to connect to Compuserve's Oakland POP with my 14.4 modem. It sets the line to pass8 and uses the /GO:PPPCONNECT and /NOINT switches on the userid. I'm trying to adapt the script to dial into the San Francico ISDN POP with my BitSURFR Pro. For the ISDN POP, I found that I have to set the line to 7E1 before initializing the modem, and I can get as far as entering the userid, but the password prompt I get is gibberish. (I change back to pass8 before exiting the script for PPP to work.) Anybody know what could be going wrong? I've appended an excerpt from the script below down to the point where it fails. I'm using diald, and the line speed is 115200 bps. I can log in manually with the same settings using minicom and don't see the gibberished password prompt. -- Ken mailto:[EMAIL PROTECTED] http://www.well.com/user/shiva/ http://www.e-scrub.com/cgi-bin/wpoison/wpoison.cgi (Death to Spam!) #!/bin/sh MODEM_RESET="AT&F" MODEM_INIT="AT%A2=2%A4=0@B0=1&C1&D2S0=0" PHONE_NUMBER="1-415-982-0401" USER_CHAT_SEQ="ID:--ID:--ID:--ID:--ID:--ID:--ID:" USER_NAME="7xxxx,xxxx" PASSWD_CHAT_SEQ="word:--word:" PASSWORD="zzzzzzzz" CHATDBG="-v" TIMEOUT=15 function message () { [ $FIFO ] && echo "message $*" >$FIFO logger -p local2.info -t connect "$*" } stty raw evenp -echo crtscts chat $CHATDBG TIMEOUT 5 "" $MODEM_RESET TIMEOUT $TIMEOUT OK "" if [ $? != 0 ]; then message "Failed to reset modem" exit 1 fi message "Initializing Modem" chat $CHATDBG TIMEOUT 5 "" $MODEM_INIT TIMEOUT $TIMEOUT OK "" if [ $? != 0 ]; then message "Failed to initialize modem" exit 1 fi message "Dialing system" chat $CHATDBG \ TIMEOUT 60 \ ABORT "NO CARRIER" \ ABORT BUSY \ ABORT "NO DIALTONE" \ ABORT ERROR \ "" ATDT$PHONE_NUMBER \ CONNECT "" case $? in 0) message Connected;; 1) message "Chat Error"; exit 1;; 2) message "Chat Script Error"; exit 1;; 3) message "Chat Timeout"; exit 1;; 4) message "No Carrier"; exit 1;; 5) message "Busy"; exit 1;; 6) message "No DialTone"; exit 1;; 7) message "Modem Error"; exit 1;; *) esac chat $CHATDBG \ TIMEOUT 5 \ "ame:--ame:" "CIS" \ $USER_CHAT_SEQ "$USER_NAME/GO:PPPCONNECT/NOINT" \ TIMEOUT $TIMEOUT \ $PASSWD_CHAT_SEQ $PASSWORD if [ $? != 0 ]; then message "Failed to log in" exit 1 fi - To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [EMAIL PROTECTED]
