[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcp, ppp and default route



I would do a simular thing to what I do with the many broken dhcp
implementations.  use the ppp.up (or whatever the command is) which
recieves as its parameters things such as the remote IP address.  It can
then remove and recreate the default route once the ppp connections is
working.  It is to me a very clean way to handle it.

Check /etc/ppp/ppp.up or whatever and it should have an empty file with
comments documenting the variables (I don't remember off hand).

On Tue, 1 Feb 2000, Greg Woods wrote:

> "Mesman, Ben" wrote:
> 
> > pppd
> > does not add the default route if there is an existing one.
> 
> I had the same problem. You won't like my solution but it does work. I
> implemented a front end for pppd, installed it as /usr/sbin/pppd, and
> had the front end exec the real pppd (installed as /usr/sbin/pppd.exe).
> The front end simply deletes the default route before calling pppd (on
> my desktop it was also necessary to change owner and mode on the modem
> device so that users other than root could run xisp). This is ugly,
> horrible, non-portable, etc. but it does work.
> 
> --Greg
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 


Reply to: