From owner-freebsd-stable@FreeBSD.ORG Thu Dec 7 02:30:04 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A22716A40F for ; Thu, 7 Dec 2006 02:30:04 +0000 (UTC) (envelope-from michael.schuh@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9549B43CA3 for ; Thu, 7 Dec 2006 02:29:12 +0000 (GMT) (envelope-from michael.schuh@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so714247nfc for ; Wed, 06 Dec 2006 18:29:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Z/jrr35X9W+KMlHGk5TB+9pKfg/VW7O7ueo2khII9MjtN8y05vwZQ+PRIN8fuAyNwKdXh7iMZAUUp40mGS7ScQ71drzD9BeTdsGgiTlpBbX+MiEnY+ZETI33yu5tViEEertJ+cEwz7HEGjpwUfSwD9iw7bmOyL9fx8cdw1HrPjQ= Received: by 10.49.26.18 with SMTP id d18mr3184572nfj.1165458597862; Wed, 06 Dec 2006 18:29:57 -0800 (PST) Received: by 10.49.95.3 with HTTP; Wed, 6 Dec 2006 18:29:57 -0800 (PST) Message-ID: <1dbad3150612061829x4fdc9140o5e13bb430534a6f3@mail.gmail.com> Date: Thu, 7 Dec 2006 03:29:57 +0100 From: "Michael Schuh" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: chat(8) doesn't parse special strings correctly X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2006 02:30:04 -0000 Hello, i update my ppp.conf to set speed 115200 #set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT\ OK-AT-OK AT%C3M0E1Q0%G1%B56000 OK \\dATDT\\T TIMEOUT 40 CONNECT" set dial "REPORT CONNECT ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT\ OK-AT-OK AT%C3M0E1Q0%G1%B56000 OK \\dATDT\\T TIMEOUT 40 CONNECT" man say's this is the right way to log any answer after CONNECT like 46666/LANP/V.42bis..... But with the above configuration chat says: Dec 7 03:20:52 brenner ppp[2691]: tun0: Chat: deflink: Dial attempt 1 of 1 Dec 7 03:20:52 brenner ppp[2691]: tun0: Chat: Expect(30): REPORT Dec 7 03:20:56 brenner ppp[2691]: tun0: Phase: Signal 15, terminate. after digging in the source it seem's to me that chat doesn't really parse the special string "REPORT" and "ABORT" correctly, but i am not really sure. can anyone shed me some light on this or give me hints on this problem? google tells me not the right informations....... thanks cheers michael