Commit Graph

75 Commits (61de624060bd6d2b1f9618185169b5ce65eb720e)

Author SHA1 Message Date
Felix Fietkau 276d1c2ccb pptp: remove old network scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 12:59:23 +00:00
Felix Fietkau 94b38ec0fd enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:33:35 +00:00
Felix Fietkau f7ce72379d pptp: use the new json_get_vars function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:20 +00:00
Felix Fietkau 6b0f54f030 pptp: use resolveip, schedule restart if dns lookups fail
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:16 +00:00
Felix Fietkau c4269df82a pptp: drop the dependency on ip if netifd is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:09 +00:00
Felix Fietkau c7667e1b88 pptp: fix installation path for netifd proto handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 21:19:04 +00:00
Felix Fietkau 9698031bec pptp: kill the call manager process on shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:42 +00:00
Felix Fietkau b8a49d3b90 pptp: add netifd support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:28 +00:00
Felix Fietkau 9f5b2e9447 pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:24 +00:00
Felix Fietkau 3d253cd67e pptp: compile with the openwrt cflags instead of -O0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 13:06:33 +00:00
Gabor Juhos ccd44980d6 package/pptp: remove a stray bracket
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 13:29:36 +00:00
Gabor Juhos 59ba22536d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:39:01 +00:00
Jo-Philipp Wich d4a872bb03 [package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08 15:41:34 +00:00
Jo-Philipp Wich 18f7f43818 [package] pptp: properly support symbolic VPN host names, tear down created host routes (#4876)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 22:42:29 +00:00
Mirko Vogt e69ccdd89c [package/pptp] require mppe 128bit-encryption by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-06 22:27:04 +00:00
Jo-Philipp Wich 56741a5b5c [package] pptp: mark /etc/ppp/options.pptp as conffile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 17:27:21 +00:00
Jo-Philipp Wich 20e84127cd [package] add maintainer information
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-30 10:48:37 +00:00
Jo-Philipp Wich 2d4f11f14d [package] pptp: support interface sections without ifname by implementing scan_pptp()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 00:30:09 +00:00
Jo-Philipp Wich cfbeeb7b85 [package] pptp: add "buffering" uci option to enable --nobuffer if needed (#7080)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-24 16:28:46 +00:00
Jo-Philipp Wich a3e63660dc [package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 01:57:02 +00:00
Jo-Philipp Wich 52daa0e967 [package] pptp: utilize coldplug_interface_pptp() to automatically launch pptp instances on boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 19:51:27 +00:00
Jo-Philipp Wich af04755af3 [package] pptp: update to v1.7.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 19:48:33 +00:00
Jo-Philipp Wich fa6f7d3217 [package] pptp:
- bring pptp scripts in sync with updated ppp logic
	- bump package revision


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01 17:55:41 +00:00
Travis Kemen f1389d9319 /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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 21:42:56 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Florian Fainelli 162ce43538 [package] fix double g typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-15 13:40:11 +00:00
Florian Fainelli 7d2a736b89 [package] fix ppp and pptp typos where is used instead of (#4768, #4778)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-15 12:08:31 +00:00
Nicolas Thill e339a3e0b8 [package] ppp/pptp fixes:
- prevent ppp from logging to /etc/ppp/connect-errors (closes: #2989)
 - add dependency on ppp and kmod-gre to pptp
 - bump release number


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 12:11:35 +00:00
Felix Fietkau 2b9c372346 fix the route to the pptp server when using pptp as wan interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 01:07:50 +00:00
Felix Fietkau 2f8b5f8c28 Here comes the new UCI. Enjoy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00
Felix Fietkau 6ad5c919ce bump package versions after updates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 20:41:57 +00:00
Nicolas Thill 2180fa92a1 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
Felix Fietkau 66c928d063 fix ifname in network state for pppoe and pptp, add a workaround for isps sending wrong netmasks for pptp (thx, moonwatcher)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 16:53:22 +00:00
Felix Fietkau 37266a51f1 allow the user to override the underlying connection method when using pptp (defaults to dhcp)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-27 16:37:37 +00:00
Nicolas Thill 8714d44dad fix start_pppd for pptp (closes: #1612)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-21 20:19:54 +00:00
Felix Fietkau 713863458d add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:21:39 +00:00
Felix Fietkau c70cfb3d1a add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 19:18:55 +00:00
Felix Fietkau 5a32593057 replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
Nicolas Thill ecb6c4b599 new (last?) attempt at standardizing Makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 20:49:31 +00:00
Felix Fietkau 1b1f3eb0cf add fixes for the pptp network scripts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-23 18:01:51 +00:00
Nicolas Thill 7b5eacfcd3 standardize Makefile, change section from base to net
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-23 13:29:15 +00:00
Florian Fainelli d2a28699a2 Add maxfail option to avoid pptp giving up, closes #663
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-22 12:05:58 +00:00
Felix Fietkau d3a6fe9915 rewrite of the network scripts and configuration
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 03:09:09 +00:00
Mike Baker f9e5c1b1d5 credit where credit is due
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Felix Fietkau 24cf53528f add INCLUDE_DIR variable for $(TOPDIR)/include
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:32:39 +00:00
Felix Fietkau 08cbdbc1b0 build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:16:37 +00:00
Nicolas Thill c12c40f4a6 normalize Makefiles.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 18:30:40 +00:00
Nicolas Thill 51f47ae459 sync pptp with trunk, remove Config.in and ipkg not needed anymore.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-24 09:50:24 +00:00
Mike Baker ad146e3f65 more BR2_ / CONFIG_ patches
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-15 23:13:49 +00:00
Felix Fietkau b97ca641b4 replace $(IDIR_*) with $(1)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-11 16:00:43 +00:00