From nobody  Thu Sep  4 14:00:07 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id OAA22765;
          Thu, 4 Sep 1997 14:00:07 -0700 (PDT)
Message-Id: <199709042100.OAA22765@hub.freebsd.org>
Date: Thu, 4 Sep 1997 14:00:07 -0700 (PDT)
From: mcdougall@ameritech.net
To: freebsd-gnats-submit@freebsd.org
Subject: 3.0's PPP doesnt like background and other old options
X-Send-Pr-Version: www-1.0

>Number:         4469
>Category:       bin
>Synopsis:       3.0's PPP doesnt like background and other old options
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    brian
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep  4 14:10:01 PDT 1997
>Closed-Date:    Thu Sep 4 15:30:15 PDT 1997
>Last-Modified:  Thu Sep  4 15:32:47 PDT 1997
>Originator:     Adam McDougall
>Release:        FreeBSD 3.0 snap 090397
>Organization:
>Environment:
FreeBSD bsdx.dyn.ml.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Thu Sep  4 05:10:06 EDT 1997     user1@bsdx.dyn.ml.org:/usr/src/sys/compile/BSDXKRNL  i386
>Description:
===============================================================================
Hello, Ive been having some trouble with the new ppp in version 3.0 of
FreeBSD. Apperently, the problem im having was
also in 2.2-releng but NOT in 2.2.2-RELEASE.

Anyway, the problem I'm having, is that its not accepting a command line
option do dial a specific profile in the background
with ppp -background mich (where mich is the name of a properly setup section
in /etc/ppp/ppp.conf . What it does it says
"Must specify dstaddr with auto, background or ddial mode."

Also, some options that worked before were set speed 134400 and  set vjcomp
off. These do not work and yield errors as
follows:
134400: Invalid speed
Usage: set speed value
....
vjcomp: Invalid command

Also, even though ppp is -r-sr-x---  1 root  network  118784 Sep  4 11:12 ppp
and my username is in the network group, I still get "You may only run ppp in
client mode as user id 0" unless I use ppp as
root.  If I dont use -background, the ppp still works ok with dial mich.

>How-To-Repeat:
Explained above.
>Fix:
? ;) Think back, what did someone break along the way? (j/k)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Thu Sep 4 15:14:43 PDT 1997 
Responsible-Changed-Why:  
PPP's mine 

From: Brian Somers <brian@awfulhak.org>
To: mcdougall@ameritech.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/4469: 3.0's PPP doesnt like background and other old options 
Date: Thu, 04 Sep 1997 23:25:07 +0100

 [.....]
 > >Synopsis:       3.0's PPP doesnt like background and other old options
 [.....]
 > Hello, Ive been having some trouble with the new ppp in version 3.0 of
 > FreeBSD. Apperently, the problem im having was
 > also in 2.2-releng but NOT in 2.2.2-RELEASE.
 > 
 > Anyway, the problem I'm having, is that its not accepting a command line
 > option do dial a specific profile in the background
 > with ppp -background mich (where mich is the name of a properly setup section
 > in /etc/ppp/ppp.conf . What it does it says
 > "Must specify dstaddr with auto, background or ddial mode."
 
 What does your "mich" entry say ?  Ppp did not find a valid "set 
 ifaddr" line.
 
 > 
 > Also, some options that worked before were set speed 134400 and  set vjcomp
 > off. These do not work and yield errors as
 > follows:
 > 134400: Invalid speed
 > Usage: set speed value
 > ....
 > vjcomp: Invalid command
 
 Correctly so.  They never worked, it's just that ppp didn't complain 
 before.  134400 is an invalid speed, and there's no such command as 
 "set vjcomp" (do you mean "disable/deny vjcomp"?).  These options have 
 *never* worked.  
 
 > Also, even though ppp is -r-sr-x---  1 root  network  118784 Sep  4 11:12 ppp
 > and my username is in the network group, I still get "You may only run ppp in
 > client mode as user id 0" unless I use ppp as
 
 Read the manual page.  Ppp no longer runs in client mode as a normal 
 user as it gives that user the ability to change the routing table.
 
 Only "ppp -direct ..." is allowed as a normal user (in the network 
 group).  The admin that adds people to the network group should take 
 care to secure the config files.
 
 > root.  If I dont use -background, the ppp still works ok with dial mich.
 
 That's because you don't have a "set ifaddr ..." line.
 
 -- 
 Brian <brian@awfulhak.org>, <brian@freebsd.org>
       <http://www.awfulhak.org>
 Don't _EVER_ lose your sense of humour....
 
 
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Thu Sep 4 15:30:15 PDT 1997 
State-Changed-Why:  
There are no problems here.  If there is in fact a "set ifaddr" 
line in the config, there may be a problem in that ppp doesn't 
point out that it can't read the line.  Without seeing the config 
file, I can't say. 
>Unformatted:
