From owner-freebsd-questions@FreeBSD.ORG Sun Feb 12 14:13:22 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 341E716A420 for ; Sun, 12 Feb 2006 14:13:22 +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 6220C43D45 for ; Sun, 12 Feb 2006 14:13:21 +0000 (GMT) (envelope-from a@zeos.net) Received: from privateew99bf2 (35-dup.ldc.net [213.160.137.35] (may be forged)) by fobos.ldc.net (8.13.5/8.13.5) with ESMTP id k1CEDBex004064 for ; Sun, 12 Feb 2006 16:13:17 +0200 (EET) (envelope-from a@zeos.net) From: "a" To: Date: Sun, 12 Feb 2006 16:13:10 +0200 Message-ID: <000001c62fde$787c6020$2389a0d5@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 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Milter: Spamilter (Reciever: fobos.ldc.net; Sender-ip: 213.160.137.35; 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: RE: 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 14:13:22 -0000 Thank You for a link. I will read and try, because I have had some problems with user ppp too. Elisej Babenko > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of fbsd_user > Sent: Sunday, February 12, 2006 2:31 PM > To: a; freebsd-questions@freebsd.org > Subject: RE: A problem with the pppd > > > First of all you are trying to use kernel ppp. > This was completely rewritten because it was so hard to > configure and debug and it now called User ppp. ppppd (IE: > kernel ppp) was kept around for backwards compatibility. For > all practical purposes its dead and just waiting to be > removed. You will get better help here if you change to user ppp. > > The install guide at www.a1poweruser.com has a step by step > instructions for seting up user ppp callback function. > > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of a > Sent: Sunday, February 12, 2006 7:02 AM > To: freebsd-questions@freebsd.org > Subject: A problem with the pppd > > > 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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"