From owner-freebsd-questions Tue Oct 22 14:37:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D68EF37B401 for ; Tue, 22 Oct 2002 14:37:51 -0700 (PDT) Received: from kot.kot.poltava.ua (kot.kot.poltava.ua [194.44.39.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 822D043E65 for ; Tue, 22 Oct 2002 14:37:47 -0700 (PDT) (envelope-from FreeBSD@list.ru) Received: from 194.44.39.51 (ppp51.solver.net.ua [194.44.39.51]) by kot.kot.poltava.ua (8.9.3/8.9.1) with ESMTP id AAA13144; Wed, 23 Oct 2002 00:37:28 +0300 (EEST) Date: Wed, 23 Oct 2002 00:41:02 +0200 From: Anton X-Mailer: telnet.exe Reply-To: Anton X-Priority: 3 (Normal) Message-ID: <13226620538.20021023004102@list.ru> To: Giorgos Keramidas Cc: freebsd-questions@freebsd.org Subject: Re[2]: ppp: Chat script failed 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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