> Hi, > > I have a linux box acting as router. > I have 3 interfaces: > > eth0 --> connected to the internal network > ppp0 --> WAN card connected to the external network > pp1 --> a modem connected to the telephone line. > > I need to configure pppd for the pp1 interface so that, when the WAN link > (ppp0) goes down, It automatic dials up. (and, of course it > must disconnects when ppp0 goes up again) > > I used the "default" and "demand" options in /etc/ppp/options, but: > > - if ppp0 is up when I start pppd, I receive a message like "... not > changing default route to ppp0..." and then when ppp0 goes down > I can't reach the external network (I mean, without manually "route add > defaul ppp1"). > > - if ppp0 is down when I start pppd, things go as expected: pppd dial up > when I try (i.e. ping) to reach the external network. But this is > not what I need. > > Any help? > > I think is a quite usual situation, pppd should manage it, shouldn't it? > > Regards > > Luca Andreani. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html