[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PPP connects every second attempt



Hi,

    Before you guys rush to say 'Read the FAQ', let me say that I HAVE
read the FAQ - especially the topic which says 'The modem dials only on
every second attempt'. Despite  implementing the solution mentioned
there, PPP still connects only on every second attempt.

    Here is the contents of /etc/ppp/peers/IBM

# This file was generated by pppconfig.
#You can edit the following lines
# but please do not delete lines or the change the comments or you will
# confuse pppconfig.
noauth         #pppconfig_noauth
connect "/usr/sbin/chat -e -v -f /etc/chatscripts/IBM"
#pppconfig_connect
debug          #pppconfig_debug
/dev/ttyS0       #pppconfig_dev
115200      #pppconfig_speed
defaultroute         #pppconfig_route
noipdefault      #pppconfig_ipdefault
user 'XXXXXXX' #pppconfig_user
# End of pppconfig controlled lines.  You can add lines below here
without
# confusing pppconfig.

    And here are the contents of /etc/chatscript/IBM

SAY "Starting to dial\n"
ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE
ABORT "NO DIALTONE"
ABORT "NO ANSWER"
SAY "Initializing modem...\n"
TIMEOUT 3
"" \rAT&C1&D2
OK-+++\c-OK \rATZQ0L1V1E1X4&C1&D2
TIMEOUT 45
OK ATDT1234567
CONNECT \d\c

    And here is my syslog when I dont connect (this starts with the
prevous disconnect also shown) :

Aug 22 22:13:08 marvin pppd[1117]: Terminating on signal 15.
Aug 22 22:13:08 marvin pppd[1117]: sent [LCP TermReq id=0x2 "User
request"]
Aug 22 22:13:09 marvin pppd[1117]: Modem hangup
Aug 22 22:13:09 marvin pppd[1117]: Connection terminated.
Aug 22 22:13:10 marvin pppd[1117]: Exit.
Aug 22 22:13:11 marvin pppd[1130]: pppd 2.3.5 started by pgmr, uid 500
Aug 22 22:13:12 marvin chat[1131]: abort on (BUSY)
Aug 22 22:13:12 marvin chat[1131]: abort on (NO CARRIER)
Aug 22 22:13:12 marvin chat[1131]: abort on (VOICE)
Aug 22 22:13:12 marvin chat[1131]: abort on (NO DIALTONE)
Aug 22 22:13:12 marvin chat[1131]: abort on (NO ANSWER)
Aug 22 22:13:12 marvin chat[1131]: timeout set to 3 seconds
Aug 22 22:13:12 marvin chat[1131]: send (^MAT&C1&D2^M)
Aug 22 22:13:12 marvin chat[1131]: expect (OK)
Aug 22 22:13:12 marvin chat[1131]: ^M
Aug 22 22:13:12 marvin chat[1131]: NO CARRIER
Aug 22 22:13:12 marvin chat[1131]:  -- failed
Aug 22 22:13:12 marvin chat[1131]: Failed (NO CARRIER)
Aug 22 22:13:12 marvin pppd[1130]: Connect script failed
Aug 22 22:13:13 marvin pppd[1130]: Exit.

Any ideas?

Kenneth





Reply to: