1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 01:49:40 +02:00
Commit Graph

77 Commits

Author SHA1 Message Date
jow
aa44be4505 [package] /etc/functions.sh => /lib/functions.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 16:04:23 +00:00
nbd
060f822fc2 pptp: fix passing setup json variables to the ppp setup code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-03 17:01:30 +00:00
nbd
b50f2a903c 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
nbd
745d195d8e 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
nbd
480f722254 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
nbd
3040f27dde 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
nbd
d1b7790fd6 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
nbd
ecb548b2e5 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
nbd
a0f95932f7 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
nbd
66823c0d82 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
nbd
2945a6df4b 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
nbd
5b987c43d3 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
juhosg
c257a78d55 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
juhosg
fe8fbd1c05 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
jow
01ffe72b18 [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
jow
073f05064e [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
7495f26fe2 [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
jow
a71bd64914 [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
jow
f2b88b6980 [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
jow
76e0410756 [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
jow
3048685ad1 [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
jow
ae8a34c063 [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
jow
4267c24cbe [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
jow
b112692259 [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
jow
19172c5d00 [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
thepeople
6772ab104f /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
nbd
796a9d1091 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
d9c1ede81f [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
474e65cbab [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
nico
c5122aa22a [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
nbd
f66ab6474e 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
nbd
afa5da1d1b 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
nbd
235b19acea 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
nico
c4b73fa154 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
nbd
866696c182 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
nbd
45c87d131f 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
nico
188addeb09 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
nbd
643f013d15 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
nbd
1d3cff733d 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
nbd
a4a6443af1 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
nico
8afb23270d 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
nbd
89c0b40c57 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
nico
acbb40d7e1 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
a52f52f7d0 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
nbd
c4f3575368 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
mbm
02cdebbb91 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
nbd
0b0afa4d81 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
nbd
859e8f7f7d 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
nico
4e00d98efd 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
nico
3830e0d317 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