Commit Graph

148 Commits (da3ef77aca4d0e3429ed2d8577f6d0c0049a65d8)

Author SHA1 Message Date
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
Travis Kemen 7c88d75e88 this patch simplifies the Makefile by using PKG_INSTALL:=1, and it also
fixes parallel build.

-Raphael

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:10:37 +00:00
Travis Kemen 159d57a5b4 [patchteam] fix issues with pptpd server and firewall, closes #2342
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 17:16:18 +00:00
Jo-Philipp Wich 19afa89320 [package] ppp: enable multilink support (#4837)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-22 02:26:32 +00:00
Jo-Philipp Wich 1095640d8f [package] ppp: process option dns if peerdns is off (#6474)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-10 16:28:09 +00:00
Jo-Philipp Wich c1e312a84d [package] ppp: add dns servers to uci state in the ip-up script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-30 16:06:20 +00:00
Nicolas Thill f9fa0c4e23 [package] ppp: quote positional parameters when calling up/down scripts (closes: #5622)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-27 14:14:09 +00:00
Andy Boyett fd376111a2 [package] bump some revisions and update copyrights
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 10:07:04 +00:00
Felix Fietkau 9bb4587731 move ppp ifname fixup from pppoe.sh to ppp.sh, so that it applies to all other ppp based protocols as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06 17:36:01 +00:00
Hauke Mehrtens eb5911f5a2 [ppp] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-21 10:49:21 +00:00
Hauke Mehrtens ed5472e868 [ppp] Make patches apply agagin.
The deleted parts were two times in the patches.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-21 10:48:24 +00:00
Jo-Philipp Wich a32b336a3b [package] update ppp to v2.4.4 (#5102)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 22:36:38 +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 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
Felix Fietkau fd77ccf847 fix a race condition where ppp interfaces were not added to the firewall properly when brought up at boot time - save the ppp interface unit number in the network state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 16:41:46 +00:00
Nicolas Thill 8db5c02f5f add missing /etc/functions.sh include required for saving network state (closes: #3902)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 12:48:53 +00:00
Felix Fietkau 2c1edb7dd0 ppp: derive interface unit numbers from previous enumeration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 00:15:10 +00:00
Felix Fietkau b84846eedc fix ppp interface enumeration - don't enumerate already processed interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 22:19:42 +00:00
Nicolas Thill d1126692b6 oops, fix typo in [12368]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 05:03:37 +00:00
Nicolas Thill 5ad11c0b0f install ppp development headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 05:02:04 +00:00
John Crispin a155b9370d fixes ppp ipv6 scripts, signed-off-by: Alina Friedrichsen
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 23:40:19 +00:00
John Crispin 15e807bd2f make ip-up scripts aware of network settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 20:03:08 +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 7a3bb84d5a fix interface enumeration issues related to /var/state/network (thx to fish for debugging this)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-02 21:27:28 +00:00
John Crispin 65f00265d2 made ppp usepeerdns configurable, fixes #3187
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 11:18:54 +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 c307d6ca4a fix pppoe on dynamically assigned interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 00:41:38 +00:00
Felix Fietkau b5e0831f1e add workaround for ppp-on-boot issues, fixes #2524
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 05:50:24 +00:00
Felix Fietkau b7e711f20f bump ppp version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-07 13:24:13 +00:00
Felix Fietkau 9412d8c41f add ppp ipv6 patch by farnz (from #2525)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-07 13:24:10 +00:00
Felix Fietkau dc8ac151c7 remove linux-atm from ppp build deps - the internal version seems to be working
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-22 23:32:24 +00:00
Florian Fainelli c3f3661b31 Add ipv6 up/down using route (#2372)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 13:35:51 +00:00
Florian Fainelli b7871c2d93 Use default values for lcp-echo-failure and lcp-echo-interval (#2373)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 09:58:10 +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
Felix Fietkau f49065167c fix ppp unit number issues (#2178)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 13:09:17 +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 a9908ad1e9 allow the user to disable the defaultroute option for ppp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-01 12:57:15 +00:00
Felix Fietkau a15765ecff oops... typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-31 16:20:40 +00:00
Felix Fietkau f9b19d8d1c fix issues with multiple ppp links (noticed by Stefano Rivera)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-31 16:19:19 +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 60364baa02 add pppd options patch from #2114
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 02:50:03 +00:00
Felix Fietkau 97ca42e813 keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 00:01:33 +00:00
Felix Fietkau 12a81e859f refresh all package patches in the buildroot using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 11:25:53 +00:00
Mike Baker 74a394b031 various patches to add support for ppp over evdo or character devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-01 21:53:32 +00:00
Felix Fietkau c46c4ead44 add better default config for ar7, add br2684ctl init script, add a missing setting for pppoa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-21 09:37:13 +00:00
Florian Fainelli b6d7e32d50 Fix the device names too long (#1591)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-17 16:45:49 +00:00
Felix Fietkau 0342135981 set the DEVICE variable in hotplug events from ppp interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 14:12:22 +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
Florian Fainelli 70a1d9498c Change mtu value for pppoa and pppoe (#945)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-14 19:00:10 +00:00