liran tal wrote:
> Hey,
> 
> The issue with PPTP on the WAN side (at least as experienced with my
> ISP) is that when the tunnel disconnects or times-out,
> if the keep-alive option is set to true the pppd process would fire up
> another instance of the pptp connection script to bring up
> the tunnel again, although it seems that there is a conflict since (if
> debugging log is enabled) it is shown that the pptp client
> is timing-out on LCP connection requests.
> 
> 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.

Thanks,

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to