Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 1995 03:08:50 +0800 (WST)
From:      Peter Wemm <peter@haywire.DIALix.COM>
To:        Boyd Faulkner <faulkner@mpd.tandem.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: pppd won't hold connection
Message-ID:  <Pine.SV4.3.91.951104030209.13451D@haywire.DIALix.COM>
In-Reply-To: <9511031642.AA13947@olympus>

next in thread | previous in thread | raw e-mail | index | archive | help
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...  <sound of peter hanging himself>

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
> _______________________________________________________________________
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.91.951104030209.13451D>