From owner-freebsd-questions@FreeBSD.ORG Sun Feb 12 12:02:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7FB0516A420 for ; Sun, 12 Feb 2006 12:02:20 +0000 (GMT) (envelope-from a@zeos.net) Received: from fobos.ldc.net (fobos.ldc.net [213.160.128.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE09A43D6B for ; Sun, 12 Feb 2006 12:02:19 +0000 (GMT) (envelope-from a@zeos.net) Received: from privateew99bf2 (121-dup.ldc.net [213.160.136.121] (may be forged)) by fobos.ldc.net (8.13.5/8.13.5) with ESMTP id k1CC27Qg005539 for ; Sun, 12 Feb 2006 14:02:14 +0200 (EET) (envelope-from a@zeos.net) From: "a" To: Date: Sun, 12 Feb 2006 14:02:07 +0200 Message-ID: <000101c62fcc$2a2ca2c0$7988a0d5@privateew99bf2> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Milter: Spamilter (Reciever: fobos.ldc.net; Sender-ip: 213.160.136.121; Sender-helo: privateew99bf2; ) X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on fobos.ldc.net X-Virus-Status: Clean Subject: A problem with the pppd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2006 12:02:20 -0000 Help me, please, with the pppd. The problem is the next. I want to connect to Internet Service Provide (ISP) with a callback. I use the pppd and the chat with the next scripts, which are inessential now: # pppd script /dev/cuad1 115200 debug defaultroute crtscts noipdefault connect "/usr/bin/chat -v -f /etc/ppp/peers/login.chat.script.prostointernet.callback" callback 4504257 passive domain prostointer.net persist holdoff 300 # chat script login.chat.script.prostointernet.callback # It is one line really ABORT BUSY ABORT 'NO CARRIER' "" AT OK ATS0=1 OK ATDP5945050 TIMEOUT 300 CONNECT "" TIMEOUT 30 sername:-\\r-sername: login TIMEOUT 30 sword: password "hostname:" 0.0.0.0 The first step goes well: my side connects with the ISP and authentication is done successfully. After authentication and querying a callback, pppd hangs up the line. But then pppd exits. The ISP calls me back after some time. But there is no pppd already, and nobody is waiting for the incoming call. (Without callback I have no problem.) What do I wrong? mailto:a@zeos.net