Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 00:41:02 +0200
From:      Anton <FreeBSD@list.ru>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re[2]: ppp: Chat script failed
Message-ID:  <13226620538.20021023004102@list.ru>
In-Reply-To: <20021022204828.GA10782@hades.hell.gr>
References:  <4213330097.20021022002457@list.ru> <20021022065906.GF12190@hades.hell.gr> <617574892.20021022105611@list.ru> <20021022174729.3d3ef818.lloy0076@adam.com.au> <581553383.20021022174315@list.ru> <20021022204828.GA10782@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Giorgos,

Tuesday, October 22, 2002, 10:48:29 PM, you wrote:


GK>         set log Phase Chat LCP IPCP CCP tun command

GK> Add this line, and try dialing again.  Then chat-related errors should
GK> become visible in the /var/log/ppp.log file.

OK. I've done that.
Here it is my /var/log/ppp.log

Oct 22 21:32:46 lizard ppp[165]: Phase: Using interface: tun0
Oct 22 21:32:46 lizard ppp[165]: Phase: deflink: Created in closed state
Oct 22 21:32:46 lizard ppp[165]: tun0: Command: default: set speed 115200
Oct 22 21:32:46 lizard ppp[165]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDP\T TIMEOUT 40 CONNECT
Oct 22 21:32:46 lizard ppp[165]: tun0: Command: default: set timeout 180
Oct 22 21:32:46 lizard ppp[165]: tun0: Command: default: enable dns
Oct 22 21:32:46 lizard ppp[165]: tun0: Phase: PPP Started (interactive mode).
Oct 22 21:32:49 lizard ppp[165]: tun0: Command: /dev/tty: dial
Oct 22 21:32:49 lizard ppp[165]: tun0: Phase: bundle: Establish
Oct 22 21:32:49 lizard ppp[165]: tun0: Phase: deflink: closed -> opening
Oct 22 21:32:49 lizard ppp[165]: tun0: Phase: deflink: Connected!
Oct 22 21:32:49 lizard ppp[165]: tun0: Phase: deflink: opening -> dial
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: deflink: Dial attempt 1 of 1
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Send: AT^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Expect(5): OK
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Received: AT^M^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Received: OK^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Send: ATE1Q0^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Expect(5): OK
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Received: ATE1Q0^M^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Received: OK^M
Oct 22 21:32:49 lizard ppp[165]: tun0: Chat: Send: ATDP^M
Oct 22 21:32:51 lizard ppp[165]: tun0: Chat: Expect(40): CONNECT
Oct 22 21:33:26 lizard ppp[165]: tun0: Chat: Received: ATDP^M^M
Oct 22 21:33:26 lizard ppp[165]: tun0: Chat: Received: BUSY^M
Oct 22 21:33:26 lizard ppp[165]: tun0: Warning: Chat script failed
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: deflink: dial -> hangup
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: deflink: Disconnected!
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: deflink: Connect time: 37 secs: 0 octets in, 0 octets out
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: deflink: : 0 packets in, 0 packets out
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Tue Oct 22 21:33:26 2002
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: deflink: hangup -> closed
Oct 22 21:33:26 lizard ppp[165]: tun0: Phase: bundle: Dead


I see something like an echo:
When chat sends "AT\n" it reseives "AT\n\n" and expected "OK\n"

What could you advice?
Anton

PS I'm using ATDP instead of ATDT because my ATS doesn't support tone
dialing.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13226620538.20021023004102>