From owner-freebsd-current Fri Nov 3 11:09:25 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA24019 for current-outgoing; Fri, 3 Nov 1995 11:09:25 -0800 Received: from haywire.DIALix.COM (peter@haywire.DIALix.COM [192.203.228.65]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA24009 for ; Fri, 3 Nov 1995 11:09:15 -0800 Received: (from peter@localhost) by haywire.DIALix.COM (sendmail) id DAA23428; Sat, 4 Nov 1995 03:08:53 +0800 (WST) Date: Sat, 4 Nov 1995 03:08:50 +0800 (WST) From: Peter Wemm Reply-To: peter@jhome.dialix.com To: Boyd Faulkner cc: freebsd-current@freebsd.org Subject: Re: pppd won't hold connection In-Reply-To: <9511031642.AA13947@olympus> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Fri, 3 Nov 1995, Boyd Faulkner wrote: > > nate@rocky.sri.MT.net (Nate Williams) writes: > > > > >Re-build the kernel and see if it makes any difference. Peter made lots > > >of changes made to both the userland stuff and the kernel. > > > > It should work the other way around though.. The old userland stuff > > theoretically should work with the new kernel code (at least, I > > believe Bruce Evans was doing that at one stage, although he may have > > had to recompile the pppd with the new header files first). > > > > >Nate > > > > -Peter > > > > OK. It works for me now. How do I get defaultroute to work? > > static int > setdefaultroute() > { > if (!ipcp_allowoptions[0].default_route) { > fprintf(stderr, "%s: defaultroute option is disabled\n", progname); > return 0; > } > ipcp_wantoptions[0].default_route = 1; > return 1; > } > in options.c > > How do I turn ipcp_allowoptions[0].default_route on without rewriting the > code? (I did and it works.) The default route option used to be enabled > by default. That indeed is a very GOOD question... I have just committed a fix from ppp-2.3alpha0 (the one with dial-on-demand support). -Peter > Thanks, > Boyd > -- > _______________________________________________________________________ > > Boyd Faulkner - faulkner@isd.tandem.com - http://cactus.org/~faulkner > _______________________________________________________________________ >