Subject: Re: NetBSD 1.6: Routing (pppoe)
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Richard Rauch <rauch@rice.edu>
List: netbsd-help
Date: 09/21/2002 07:25:16
> > Odd, I was sure that I'd already replied to this...  Oh well.
> >
> >
> >  [...]
> > > > > route add -host <your IP address> 127.0.0.1 -interface
> >  [...]
> > > > I assume that I can this to the /etc/ifconfig.pppoe0 file, using the
> >  [...]
> > > I don't know if this will work, just try it !
> > > If it doesn't you can probably run it though ifwatchd(8)
> >
> > Well, it didn't work.  I don't understand why not...  (shrug)
> >
> > Anyway, rather than sort out ifwatchd, I simply modified the dsl-start
> > script that I used with mouse-pppoe, which also required some correcton.
>
> Ha, I though you used the in-kernel pppoe. ifwatchd won't work with mouse-pppoe
> I think.

I used mouse-pppoe under 1.5.x.  So I had this nice script that (a)
started the DSL conect and (b) fixed up the defaultroute which mouse-pppoe
somehow prevented the PPP driver from seeing/doing.

A slight adaptation of that script makes it now work with in-kernel pppoe.


I noticed something in the in-kernel pppoe documentation about on-demand
connections, though.  If I decide to make use of that, I may need to
sit down and understand what ifwatchd can do for me.  (^&


  ``I probably don't know what I'm talking about.'' --rauch@math.rice.edu