Commit graph

110 commits

Author SHA1 Message Date
Felix Fietkau
2ccd191b76 pppd: fix the exit code in case of authentication failure or other errors
SVN-Revision: 28498
2011-10-21 01:34:12 +00:00
Felix Fietkau
d1c05d734b pppd: add a patch for overriding the path to /etc/ppp/ipv6-{up,down}
SVN-Revision: 28497
2011-10-20 21:42:07 +00:00
Jo-Philipp Wich
5e5416a128 ppp: move the rp_pppoe_* options behind the plugin argument
SVN-Revision: 28368
2011-10-04 23:41:12 +00:00
Jo-Philipp Wich
64f4a89e7c ppp: implement pppoe specific uci options "ac" and "service" which map to "rp_pppoe_ac" and "rp_pppoe_service"
SVN-Revision: 28366
2011-10-04 23:37:53 +00:00
Jo-Philipp Wich
5659ec6918 ppp: add workaround for ignored rp_pppoe_ac and rp_pppoe_service options by appending the nic-xxx argument last
SVN-Revision: 28364
2011-10-04 23:10:36 +00:00
Felix Fietkau
4dd9373b3e ppp: remove zero-length patches
SVN-Revision: 27819
2011-07-28 17:34:44 +00:00
Felix Fietkau
4c4da37c09 ppp: version bump to 2.4.5
Bump to the current version of PPP.

A few of the patches are either in 2.4.5 or something functionally equivalent is, so those patches were removed.

1 patch was added to accommodate pppol2pv3_addr which is referenced in a linux kernel header file, but isn't defined in the kernel header files packaged with PPP.

Redux: re-instate the commenting out of the exponential back-off as requested by Felix.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27818
2011-07-28 16:51:12 +00:00
Felix Fietkau
01e7d775e7 ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause functions needed by plugins to disappear (fixes #9462)
SVN-Revision: 27159
2011-06-12 14:07:08 +00:00
Jo-Philipp Wich
7982978391 ppp: extend the r26742 change to ip-down too
SVN-Revision: 26743
2011-04-20 12:08:12 +00:00
Jo-Philipp Wich
8d47f51f7c ppp: prevent duplicate hotplug for non uci managed ppp interfaces (#9275)
SVN-Revision: 26742
2011-04-20 12:02:04 +00:00
Felix Fietkau
512bb389ee pppd: support the nomp option if multilink support is disabled
SVN-Revision: 26614
2011-04-12 18:29:28 +00:00
Felix Fietkau
86f609804f ppp: fix fallout from the size reduction patch (thx, frogonwheels)
SVN-Revision: 26398
2011-04-02 02:24:38 +00:00
Jo-Philipp Wich
3d5cdfac4e ppp: drop 402-use_uclibc_utils.patch, it breaks ip address conversion
SVN-Revision: 25921
2011-03-07 09:21:25 +00:00
Felix Fietkau
0ca2b7f92c ppp: add a few patches to reduce the package size
SVN-Revision: 25919
2011-03-07 02:09:48 +00:00
Felix Fietkau
575a35c58d pppd: use -ffunction-sections, -fdata-sections and --gc-sections, saves 5k uncompressed
SVN-Revision: 25828
2011-03-02 12:48:00 +00:00
Felix Fietkau
5d0f9914ba ppp: add a more descriptive title for ppp-multilink
SVN-Revision: 25524
2011-02-13 16:25:33 +00:00
Felix Fietkau
63fef8ed5d ppp: move multilink support into a separate build variant - saves around 30k for the default build
SVN-Revision: 25523
2011-02-13 16:23:15 +00:00
Jo-Philipp Wich
1868be702d ppp: don't die on malformed PADS frames that might appear on instable DSL lines
SVN-Revision: 25044
2011-01-19 02:00:57 +00:00
Jo-Philipp Wich
5e76127831 ppp: bump pkg revision after latest changes
SVN-Revision: 25028
2011-01-17 02:14:32 +00:00
Jo-Philipp Wich
110055b383 ppp: remove pppoa coldplug, the hotplug handler has been confirmed for ueagle and solos
SVN-Revision: 25027
2011-01-17 02:13:07 +00:00
Jo-Philipp Wich
5cf136ae0e ppp: synthesize a .device option to make ifup work on pppoa interfaces again
SVN-Revision: 25025
2011-01-17 00:14:18 +00:00
Jo-Philipp Wich
a50421a302 pppd: use "atmdev" option to select the DSL adapter, this aligns it with br2684ctl and solves #8108
SVN-Revision: 23551
2010-10-20 17:56:29 +00:00
Jo-Philipp Wich
191bf37328 ppp: honour option auto in atm hotplug
SVN-Revision: 23531
2010-10-19 07:01:38 +00:00
Jo-Philipp Wich
6029e1b618 ppp: - implement coldplugging for pppoa interfaces - honour device option to select the DSL adapter - don't set any default mtu, rely on pppd to negotiate it - bump pkg revision
SVN-Revision: 23530
2010-10-19 06:42:37 +00:00
Jo-Philipp Wich
073ade4368 ppp: utilize the new keepfiles facility to backup the whole radius directory
SVN-Revision: 23259
2010-10-05 19:32:49 +00:00
Jo-Philipp Wich
6a10b180ce ppp: mark /etc/ppp/ resources as conffiles
SVN-Revision: 23248
2010-10-05 17:13:07 +00:00
Jo-Philipp Wich
1cb2abca8e add maintainer information
SVN-Revision: 23159
2010-09-30 10:48:37 +00:00
Jo-Philipp Wich
a5d0879de7 ppp: use service_kill()
SVN-Revision: 23088
2010-09-19 14:09:27 +00:00
Jo-Philipp Wich
865e34b607 ppp: populate gateway of default route with peer address (#6259)
SVN-Revision: 22806
2010-08-25 23:10:40 +00:00
Jo-Philipp Wich
187ec5ae19 ppp: whitespace cleanup in previous commit
SVN-Revision: 22497
2010-08-04 21:50:50 +00:00
Jo-Philipp Wich
815b18051b pppd: only remove own default route on shutdown (#7694)
SVN-Revision: 22495
2010-08-04 21:47:29 +00:00
Jo-Philipp Wich
8079d54678 ppp: interpret "demand" option as timeout in seconds (#7517)
SVN-Revision: 21903
2010-06-26 18:11:04 +00:00
Nicolas Thill
338f1af5f3 bump release number for packages ahead of backfire in trunk
SVN-Revision: 21556
2010-05-23 21:55:40 +00:00
Jo-Philipp Wich
eb51e36a78 ppp: - don't let pppd control resolv.conf.auto because it will wipe foreign dns entries - handle dns setup in ip-up handler - use add_dns() and remove_dns() to only add/remove dns entries related to the corresponding pppd instance - make pppd shutdown work for interfaces without ifname option, e.g. pptp
SVN-Revision: 21392
2010-05-07 01:22:48 +00:00
Jo-Philipp Wich
4eee1bb439 ppp: - make pppd shutdown more robust as pptp hangs when the underlying connection is gone - don't rely on pid files generated by pppd, they're missing if the link is done, generate a per-instance pidfile with ssd instead
SVN-Revision: 21387
2010-05-06 17:07:31 +00:00
Jo-Philipp Wich
dd38b15b75 base-files, ppp: fix interface shutdown
SVN-Revision: 21386
2010-05-06 01:14:24 +00:00
Jo-Philipp Wich
66ab73d01f base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and move it to protocol stop callbacks
SVN-Revision: 21383
2010-05-05 23:24:11 +00:00
Jo-Philipp Wich
13ebdec3f4 ppp: pass "nodefaultroute" if defaultroute is 0, don't unconditionally truncate resolv.conf, thanks cshore
SVN-Revision: 21361
2010-05-05 01:48:45 +00:00
Jo-Philipp Wich
3b5689eb5e ppp: rename 20-usb-modem to 20-atm-modem
SVN-Revision: 21303
2010-05-02 16:47:16 +00:00
Jo-Philipp Wich
b46d822e9b ppp: add hotplug helper for usb dsl modems to ppp-mod-pppoa package
SVN-Revision: 21302
2010-05-02 16:40:58 +00:00
Jo-Philipp Wich
9bf8e9a230 ppp: bring pppoa script in sync with updated ppp logic
SVN-Revision: 21287
2010-05-01 19:18:25 +00:00
Jo-Philipp Wich
e757ee80f7 ppp: - patch pppd to support named interfaces (e.g. "pppoe-wan") - use named interfaces when bringing up 3g, pptp, ppp or pppoe connections - get rid of unit count logic - shutdown pppd when ifdown is invoked - bump package revision
SVN-Revision: 21283
2010-05-01 17:54:37 +00:00
Jo-Philipp Wich
1ed25fc550 pppd: - localize variables in setup script - implement demand option as true boolean so that 0 actually disables it - don't overwrite user supplied dns servers if demand is enabled - toggle peerdns default value, use 1 if no user supplied dns server is set, 0 otherwise - reset resolv.conf.auto before setting up dns
SVN-Revision: 21280
2010-05-01 11:08:03 +00:00
Felix Fietkau
e3597a8786 propagate atm header changes into pppoatm and br2684ctl as well
SVN-Revision: 20558
2010-03-28 21:55:54 +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
Travis Kemen
8ee9f9ee04 this patch simplifies the Makefile by using PKG_INSTALL:=1, and it also fixes parallel build.
-Raphael

SVN-Revision: 19993
2010-03-05 20:10:37 +00:00
Travis Kemen
812105bfb4 fix issues with pptpd server and firewall, closes #2342
SVN-Revision: 19873
2010-02-26 17:16:18 +00:00
Jo-Philipp Wich
243e190675 ppp: enable multilink support (#4837)
SVN-Revision: 19811
2010-02-22 02:26:32 +00:00
Jo-Philipp Wich
b28f438a37 ppp: process option dns if peerdns is off (#6474)
SVN-Revision: 19093
2010-01-10 16:28:09 +00:00
Jo-Philipp Wich
414761eeb3 ppp: add dns servers to uci state in the ip-up script
SVN-Revision: 17801
2009-09-30 16:06:20 +00:00