From andrew@house.key.net.au  Wed Dec 31 06:21:36 1997
Received: from house.key.net.au (house.key.net.au [203.35.4.2])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA26933
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 31 Dec 1997 06:21:32 -0800 (PST)
          (envelope-from andrew@house.key.net.au)
Received: (from andrew@localhost)
	by house.key.net.au (8.8.8/8.8.5) id BAA08875;
	Thu, 1 Jan 1998 01:21:30 +1100 (EST)
Message-Id: <199712311421.BAA08875@house.key.net.au>
Date: Thu, 1 Jan 1998 01:21:30 +1100 (EST)
From: andrew@ugh.net.au
Reply-To: andrew@ugh.net.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: lqr timeout in ijppp only works if you have an idle timeout
X-Send-Pr-Version: 3.2

>Number:         5400
>Category:       bin
>Synopsis:       lqr timeout in ijppp only works if you have an idle timeout
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 31 06:30:02 PST 1997
>Closed-Date:    Sat Jun 27 07:23:56 PDT 1998
>Last-Modified:  Sat Jun 27 07:26:46 PDT 1998
>Originator:     Andrew
>Release:        FreeBSD 2.2-971216-SNAP i386
>Organization:
UgH!
>Environment:

	

>Description:

I have "set timeout 0 10 3" in /etc/ppp/ppp.conf but ijppp dosn't try sending
lqr packets unless I try "set timeout 9999 10 3". This is when ijppp is being
run off the command line as ppp -direct.

>How-To-Repeat:

	

>Fix:
	
	

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Wed Dec 31 10:50:48 PST 1997 
Responsible-Changed-Why:  
I'll have this. 

Does the following config work ? 
oldloop:  
set timeout 0  
set log phase ipcp 
set device localhost:ppploop 
set dial 
set login 
set escape 0xff 
set ifaddr 127.0.2.1/0 127.0.1.100 
set timeout 0 10 3  
set log +lqm 
enable lqr  

loop-in: 
set timeout 0 
set log tun phase ipcp 
set escape 0xff 
allow mode direct 
set ifaddr 127.0.1.100 127.0.2.1 

With the following in /etc/services: 
ppploop         6671/tcp  # loopback ppp daemon 

and the following in /etc/inetd.conf: 
ppploop stream tcp nowait root /usr/sbin/ppp ppp -direct loop-in 

and running `ppp -background oldloop'.  It does for me :-) 
(you'll need to tun devices configured in your kernel). 
Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.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: Sat Jun 27 07:23:56 PDT 1998 
State-Changed-Why:  
No reply from sender. 
LQR and idle timers are completely independent.  If the submitter is 
still there, please confirm with the software at 

http://www.Awfulhak.org/ppp.html 
>Unformatted:
