From sjr@istari.flash.net  Wed Mar 26 15:03:57 1997
Received: from istari.flash.net (baasc3-138.flash.net [207.181.194.138])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA08185
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Mar 1997 15:03:54 -0800 (PST)
Received: (from sjr@localhost)
	by istari.flash.net (8.8.5/8.8.5) id SAA00613;
	Wed, 26 Mar 1997 18:03:51 -0500 (EST)
Message-Id: <199703262303.SAA00613@istari.flash.net>
Date: Wed, 26 Mar 1997 18:03:51 -0500 (EST)
From: sjr1@flash.net
Reply-To: sjr1@flash.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: Missing information in ppp.conf.sample
X-Send-Pr-Version: 3.2

>Number:         3110
>Category:       conf
>Synopsis:       Missing information in ppp.conf.sample
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 26 15:10:03 PST 1997
>Closed-Date:    Wed Mar 26 18:21:39 PST 1997
>Last-Modified:  Wed Mar 26 18:22:12 PST 1997
>Originator:     Stephen J. Roznowski
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	N/A

>Description:

	There are no pointers for what "final" steps need to be
	taken to finish setting up demand dial user ppp. I suggest
	adding the following lines to the sample file to point
	people in the right direction.

>How-To-Repeat:

	

>Fix:
	
*** etc/ppp/ppp.conf.sample.orig	Wed Mar 26 17:57:16 1997
--- etc/ppp/ppp.conf.sample	Wed Mar 26 17:59:14 1997
***************
*** 98,103 ****
--- 98,106 ----
  #  We also set openmode active - this makes us initiate ppp negotiation.
  #  The default is to wait for the server to start talking.
  #
+ #  You'll also want to edit /etc/sysconfig to configure the tun0 device
+ #  with these same addresses, and add a default route to 10.10.11.11.
+ #
  pmdemand:
   set phone 1234567
   set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
>Release-Note:
>Audit-Trail:

From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
To: sjr1@flash.net
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: conf/3110: Missing information in ppp.conf.sample 
Date: Wed, 26 Mar 1997 15:55:42 -0800

 > + #  You'll also want to edit /etc/sysconfig to configure the tun0 device
 > + #  with these same addresses, and add a default route to 10.10.11.11.
 > + #
 
 But that's wrong...  You're supposed to let ppp handle all of
 this by itself.
 
 						Jordan
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Wed Mar 26 18:21:39 PST 1997 
State-Changed-Why:  
It would appear that if you correct the pmdemand entry 
in /usr/src/etc/ppp/ppp.conf.sample to read: 

pmdemand: 
set phone 1234567 
set login "TIMEOUT 5 login:-\r-login: ppp word: ppp" 
set timeout 120 
set openmode active 
set ifaddr 10.10.10.10/0 10.10.11.11/0 255.255.255.0 
delete ALL 
add 0 0 10.10.11.11 

Then everything works as advertised....and this PR can be ignored... 

Thanks, 
-SR 
>Unformatted:
