From owner-freebsd-questions Sat Aug 9 08:15:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA27340 for questions-outgoing; Sat, 9 Aug 1997 08:15:16 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA27335 for ; Sat, 9 Aug 1997 08:15:12 -0700 (PDT) Received: from awfulhak.org (dev.lan.awfulhak.org [10.0.1.5]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id PAA26252; Sat, 9 Aug 1997 15:35:48 +0100 (BST) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.6/8.8.6) with ESMTP id PAA05052; Sat, 9 Aug 1997 15:35:47 +0100 (BST) Message-Id: <199708091435.PAA05052@awfulhak.org> X-Mailer: exmh version 2.0zeta 7/24/97 To: dparks@taurus.srccomp.com (Dave Parks) cc: freebsd-questions@FreeBSD.ORG Subject: Re: Question: ppp -auto In-reply-to: Your message of "Wed, 06 Aug 1997 16:32:44 MDT." <199708062232.QAA02111@phantom.srccomp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 09 Aug 1997 15:35:47 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi, > > I am having difficulty getting the -auto option for ppp to work (as I > understand it to). > > Here is the background: > > I tried setting up ppp to autoconnect to our server. I start ppp with: > > ppp -auto src > > Where 'src' is an entry in my ppp.conf file (ppp src without -auto works). > > Now, this is where I maybe missing something. From reading the documentation, > my understanding is that -auto will automatically connect the ppp link whenever > there is outgoing traffic. I cannot get it to work .... *but* if I first start > ppp manually, then quit (disconnecting the connection), then restart ppp with > -auto, everything works fine (it remains inactive while there isn't any > connection, and then automatically dials/connects to the server when there is > outgoing traffic). > > Do anyone have any idea why I have to first start ppp manually and then restart > ppp -auto? Is there a setting/configuration problem that I'm missing (I'm > running the 2.2.2 release of FreeBSD from Walnut Creek). > > Any help is greatly appreciated. You're missing "add 0 0 x.x.x.x" in ppp.conf - you've probably got "add 0 0 HISADDR". The latest docs point out that HISADDR isn't available in ppp.conf - only in ppp.link{up,down}. > Best regards, > > -------------------------------------------------------------------------- > |David Parks | It's difficult to predict - especially the | > |SRC Computers Inc. | future. | > |dparks@srccomp.com | | > |+1 (719) 262-0213 | - Lenin | > -------------------------------------------------------------------------- -- Brian , Don't _EVER_ lose your sense of humour....