Commit Graph

23 Commits

Author SHA1 Message Date
Felix Fietkau
3ee1a3abf0 pptp: use the new json_get_vars function
SVN-Revision: 31725
2012-05-14 20:58:20 +00:00
Felix Fietkau
189c25d318 pptp: use resolveip, schedule restart if dns lookups fail
SVN-Revision: 31724
2012-05-14 20:58:16 +00:00
Felix Fietkau
3225530e1e pptp: add netifd support
SVN-Revision: 31605
2012-05-05 16:56:28 +00:00
Felix Fietkau
b76a1b49aa pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code
SVN-Revision: 31604
2012-05-05 16:56:24 +00:00
Gabor Juhos
6e5db7ed69 package/pptp: remove a stray bracket
SVN-Revision: 31568
2012-05-03 13:29:36 +00:00
Gabor Juhos
60db046ef2 Fix pptp handling of routes to server.
The existing code is fairly broken. It assumes you're using Legacy IP, and
it assumes that the server is reachable via your default route. Via the
first default route in the 'route -n' output, in fact, regardless of metric.

Fix all those problems by using 'ip route get' to really find the *current*
route to the server, and install a host-specific route to match.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31565
2012-05-03 09:39:01 +00:00
Jo-Philipp Wich
7251541786 pptp: remove support for underlying ipproto, it is adviced since a while that pptp should be declared as separate interface alognside wan - in this configuration the ipproto will cause stray udhcpc errors due to not existent interfaces, so remove it
SVN-Revision: 29694
2012-01-08 15:41:34 +00:00
Jo-Philipp Wich
60fe01e698 pptp: properly support symbolic VPN host names, tear down created host routes (#4876)
SVN-Revision: 27669
2011-07-17 22:42:29 +00:00
Mirko Vogt
254812ba0a require mppe 128bit-encryption by default
SVN-Revision: 27117
2011-06-06 22:27:04 +00:00
Jo-Philipp Wich
090680f083 pptp: support interface sections without ifname by implementing scan_pptp()
SVN-Revision: 21590
2010-05-28 00:30:09 +00:00
Jo-Philipp Wich
a93571825f pptp: add "buffering" uci option to enable --nobuffer if needed (#7080)
SVN-Revision: 21563
2010-05-24 16:28:46 +00:00
Jo-Philipp Wich
c09610dd49 pptp: don't remove server route if the gateway is 0.0.0.0, this fixes a problem when a pppoe peer is pptp server at the same time
SVN-Revision: 21393
2010-05-07 01:57:02 +00:00
Jo-Philipp Wich
dcbb5a19e7 pptp: utilize coldplug_interface_pptp() to automatically launch pptp instances on boot
SVN-Revision: 21390
2010-05-06 19:51:27 +00:00
Jo-Philipp Wich
9d6d45d008 pptp: - bring pptp scripts in sync with updated ppp logic - bump package revision
SVN-Revision: 21284
2010-05-01 17:55:41 +00:00
Travis Kemen
1223494f1d /lib/network/ppp.sh fixes a problem with PPtP (and other PPP-based things) where PPtP + PPPoE will fail to work. This is because PPtP defaults to ppp0 and so does PPPoE, because /etc/init.d/ppp reinitializes the unit counter for each PPP-type connection (so you could have multiple PPtP over cable, for instance, but PPPoE + PPtP is a problem).
/etc/init.d/ppp automatically starts pptp session on boot., from #6720

SVN-Revision: 20221
2010-03-14 21:42:56 +00:00
Florian Fainelli
43fa2310f3 fix double g typo
SVN-Revision: 14887
2009-03-15 13:40:11 +00:00
Florian Fainelli
a54018aa87 fix ppp and pptp typos where is used instead of (#4768, #4778)
SVN-Revision: 14882
2009-03-15 12:08:31 +00:00
Felix Fietkau
3ae4858088 fix the route to the pptp server when using pptp as wan interface
SVN-Revision: 10751
2008-04-07 01:07:50 +00:00
Felix Fietkau
0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Felix Fietkau
52a138a953 fix ifname in network state for pppoe and pptp, add a workaround for isps sending wrong netmasks for pptp (thx, moonwatcher)
SVN-Revision: 8552
2007-08-30 16:53:22 +00:00
Felix Fietkau
79b07af694 allow the user to override the underlying connection method when using pptp (defaults to dhcp)
SVN-Revision: 8508
2007-08-27 16:37:37 +00:00
Nicolas Thill
942d07de9a fix start_pppd for pptp (closes: #1612)
SVN-Revision: 7027
2007-04-21 20:19:54 +00:00
Felix Fietkau
60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00