ATZ is no longer required as it is not sent by 9110
authorshort <>
Wed, 9 Jan 2002 10:04:07 +0000 (10:04 +0000)
committershort <>
Wed, 9 Jan 2002 10:04:07 +0000 (10:04 +0000)
 - fixed according to report by Hussain Akbar <Hussain@systemsltd.com>

bin/ppp9k

index c1a6712..79169a5 100755 (executable)
--- a/bin/ppp9k
+++ b/bin/ppp9k
@@ -43,12 +43,13 @@ NOKIABAUD="${NOKIABAUD:-19200}"
        me="`cat "$pid"`"
        while :;do
                pppd "$PORT" "$NOKIABAUD" modem lock -crtscts xonxoff :$IP asyncmap 0 ms-dns "$NS" \
-                       connect 'chat -v                       \
-                               "TIMEOUT" "86400"              \
-                               "ATZ"     "OK^M^J"             \
-                               "AT&F"    "OK^M^JOK^M^JOK^M^J" \
-                               "TIMEOUT" "20"                 \
-                               "ATD"     "CONNECT^M^J"        \
+                       connect 'chat -v                              \
+                               "TIMEOUT" "86400"                     \
+                               "AT"      "\c"                        \
+                               "TIMEOUT" "2"                         \
+                               "&F-OK^M^J-AT&F" "OK^M^JOK^M^JOK^M^J" \
+                               "TIMEOUT" "20"                        \
+                               "ATD"     "CONNECT^M^J"               \
                                ' \
                        -ccp nodefaultroute proxyarp lcp-echo-interval 30 lcp-echo-failure 2 lcp-max-configure 30 -detach \
                        -chap noauth "$@" &