From owner-freebsd-questions Tue Oct 22 15:27:12 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 63F8637B404 for ; Tue, 22 Oct 2002 15:27:10 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DF0743E4A for ; Tue, 22 Oct 2002 15:27:09 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a073.otenet.gr [212.205.215.73]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id g9MMR5fN019890; Wed, 23 Oct 2002 01:27:06 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.6/8.12.6) with ESMTP id g9MMRU48013986; Wed, 23 Oct 2002 01:27:31 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by hades.hell.gr (8.12.6/8.12.6/Submit) id g9MMRUc5013985; Wed, 23 Oct 2002 01:27:30 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 23 Oct 2002 01:27:30 +0300 From: Giorgos Keramidas To: Anton Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp: Chat script failed Message-ID: <20021022222730.GA13692@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> <13226620538.20021023004102@list.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13226620538.20021023004102@list.ru> 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 On 2002-10-22 00:24, Anton wrote: > default: > set device /dev/cuaa1 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ > \"\" AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 40 CONNECT" > set timeout 180 > enable dns > > interactive: > set phone 501057 > set authname name > set authkey password > set openmode active > accept chap On 2002-10-23 00:41, Anton wrote: > 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: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 Hmmm. I see no phone after ATDP! This means that \\T in the chat script doesn't expand to a phone number. Funny. It should, if you use "interactive". On 2002-10-22 00:24, Anton wrote: > When I type 'dial' in the ppp I see warning message: > "Chat script failed" You are using just "dial" and not "dial interactive" right? :-) root@hades[01:22]/root# ppp Working in interactive mode Using interface: tun1 ppp ON hades> help dial dial|call [system ...] (o) You have to enter "dial interactive" instead of just "dial" to let ppp(8) know that you want to use ``interactive'' as your current dialing profile from ppp.conf. Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message