Hey Felix, On Sat, Dec 20, 2008 at 2:32 PM, Felix Fietkau <n...@openwrt.org> wrote: > liran tal wrote: >> Hey, >>For this reason I have added a script to /etc/ppp/ip-down.d/ to kill >> all connections, and if keep-alive option is set to true >> then to bring up the wan interface again. >> >> I have written it just a couple of minutes ago so it hasn't been >> tested but I am guessing the syntax is the only issue >> with it, if any so please review and apply the patch for the next build. > Could you please make a version that does not hardcode 'wan' or > 'ppp0'? I'd like to have a generic solution for this problem. People > may want to keep pptp tunnels for something other than the WAN > internet connection.
Not hard-coding 'wan' so that maybe someone will be using a PPTP tunnel on his LAN interface? I'm not sure I've even seen it available there :-) I'll look up a work-around for the ppp0. And finally, just to add that I've tested this script and I'm using it myself and it works great. Regards, Liran Tal. _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel