Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Aug 1997 15:35:47 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        dparks@taurus.srccomp.com (Dave Parks)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Question: ppp -auto 
Message-ID:  <199708091435.PAA05052@awfulhak.org>
In-Reply-To: Your message of "Wed, 06 Aug 1997 16:32:44 MDT." <199708062232.QAA02111@phantom.srccomp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708091435.PAA05052>