Commit Graph

132 Commits

Author SHA1 Message Date
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
Nicolas Thill
6b575bcb0e ppp: quote positional parameters when calling up/down scripts (closes: #5622)
SVN-Revision: 17763
2009-09-27 14:14:09 +00:00
Andy Boyett
a5f80019ef bump some revisions and update copyrights
SVN-Revision: 17554
2009-09-10 10:07:04 +00:00
Felix Fietkau
488d168c25 move ppp ifname fixup from pppoe.sh to ppp.sh, so that it applies to all other ppp based protocols as well
SVN-Revision: 17529
2009-09-06 17:36:01 +00:00
Hauke Mehrtens
d21f38210a refresh patches
SVN-Revision: 15958
2009-05-21 10:49:21 +00:00
Hauke Mehrtens
b97b54291d Make patches apply agagin. The deleted parts were two times in the patches.
SVN-Revision: 15957
2009-05-21 10:48:24 +00:00
Jo-Philipp Wich
9137c11605 update ppp to v2.4.4 (#5102)
SVN-Revision: 15955
2009-05-20 22:36:38 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +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
b2ec8ffd5c 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
SVN-Revision: 13402
2008-11-28 16:41:46 +00:00
Nicolas Thill
038f8c0532 add missing /etc/functions.sh include required for saving network state (closes: #3902)
SVN-Revision: 12660
2008-09-23 12:48:53 +00:00
Felix Fietkau
6488abc11c ppp: derive interface unit numbers from previous enumeration
SVN-Revision: 12417
2008-08-28 00:15:10 +00:00
Felix Fietkau
1c3b76013a fix ppp interface enumeration - don't enumerate already processed interfaces
SVN-Revision: 12416
2008-08-27 22:19:42 +00:00
Nicolas Thill
7075c9f917 oops, fix typo in [12368]
SVN-Revision: 12369
2008-08-22 05:03:37 +00:00
Nicolas Thill
2ac5a81ab4 install ppp development headers
SVN-Revision: 12368
2008-08-22 05:02:04 +00:00
John Crispin
b639fc4b00 fixes ppp ipv6 scripts, signed-off-by: Alina Friedrichsen
SVN-Revision: 11998
2008-07-29 23:40:19 +00:00
John Crispin
456893e798 make ip-up scripts aware of network settings
SVN-Revision: 11446
2008-06-11 20:03:08 +00:00
Nicolas Thill
3d4052492d 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
SVN-Revision: 11018
2008-05-03 12:11:35 +00:00
Felix Fietkau
f4f7d687f0 fix interface enumeration issues related to /var/state/network (thx to fish for debugging this)
SVN-Revision: 10715
2008-04-02 21:27:28 +00:00
John Crispin
18e061bd2a made ppp usepeerdns configurable, fixes #3187
SVN-Revision: 10562
2008-03-07 11:18:54 +00:00
Felix Fietkau
0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Felix Fietkau
8c871a5f6b fix pppoe on dynamically assigned interfaces
SVN-Revision: 9852
2007-12-23 00:41:38 +00:00
Felix Fietkau
084c9abec3 add workaround for ppp-on-boot issues, fixes #2524
SVN-Revision: 9722
2007-12-13 05:50:24 +00:00
Felix Fietkau
a79df14d21 bump ppp version
SVN-Revision: 9509
2007-11-07 13:24:13 +00:00
Felix Fietkau
f77a9849c0 add ppp ipv6 patch by farnz (from #2525)
SVN-Revision: 9508
2007-11-07 13:24:10 +00:00
Felix Fietkau
12a7f0f292 remove linux-atm from ppp build deps - the internal version seems to be working
SVN-Revision: 8964
2007-09-22 23:32:24 +00:00
Florian Fainelli
ea5e6f6571 Add ipv6 up/down using route (#2372)
SVN-Revision: 8794
2007-09-16 13:35:51 +00:00
Florian Fainelli
22e32fb6f0 Use default values for lcp-echo-failure and lcp-echo-interval (#2373)
SVN-Revision: 8785
2007-09-16 09:58:10 +00:00
Felix Fietkau
4db9556f99 bump package versions after updates
SVN-Revision: 8680
2007-09-07 20:41:57 +00:00
Felix Fietkau
469c658898 fix ppp unit number issues (#2178)
SVN-Revision: 8665
2007-09-07 13:09:17 +00:00
Nicolas Thill
34bb4638e7 move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
2007-09-07 08:34:51 +00:00
Felix Fietkau
393c8bff07 allow the user to disable the defaultroute option for ppp
SVN-Revision: 8569
2007-09-01 12:57:15 +00:00
Felix Fietkau
365ad8dec6 oops... typo
SVN-Revision: 8564
2007-08-31 16:20:40 +00:00
Felix Fietkau
a391a14e23 fix issues with multiple ppp links (noticed by Stefano Rivera)
SVN-Revision: 8563
2007-08-31 16:19:19 +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
da3f65f28c add pppd options patch from #2114
SVN-Revision: 8116
2007-07-23 02:50:03 +00:00
Felix Fietkau
4f16e9cc3e keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
SVN-Revision: 7643
2007-06-16 00:01:33 +00:00
Felix Fietkau
9114220553 refresh all package patches in the buildroot using quilt
SVN-Revision: 7490
2007-06-04 11:25:53 +00:00
Mike Baker
10ac836039 various patches to add support for ppp over evdo or character devices
SVN-Revision: 7076
2007-05-01 21:53:32 +00:00
Felix Fietkau
7c08cc06a2 add better default config for ar7, add br2684ctl init script, add a missing setting for pppoa
SVN-Revision: 7024
2007-04-21 09:37:13 +00:00
Florian Fainelli
9f652a1a85 Fix the device names too long (#1591)
SVN-Revision: 6987
2007-04-17 16:45:49 +00:00
Felix Fietkau
573c36539e set the DEVICE variable in hotplug events from ppp interfaces
SVN-Revision: 6667
2007-03-24 14:12:22 +00:00
Felix Fietkau
24faf55360 add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
SVN-Revision: 6582
2007-03-16 20:21:39 +00:00
Felix Fietkau
1d307eea87 add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
SVN-Revision: 6580
2007-03-16 19:18:55 +00:00
Florian Fainelli
a6481bb35b Change mtu value for pppoa and pppoe (#945)
SVN-Revision: 6566
2007-03-14 19:00:10 +00:00
Felix Fietkau
a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
2007-03-04 20:31:53 +00:00
Felix Fietkau
92feed28d8 more reliable fix for handling ppp
SVN-Revision: 6356
2007-02-25 13:45:45 +00:00
Felix Fietkau
644af0aebf fix ppp defaultroute issues (based on patch from #1386, fixes #1181)
SVN-Revision: 6354
2007-02-25 11:53:50 +00:00
Nicolas Thill
3de63356ba cosmetic change: rename PKG_BUILDDEP to PKG_BUILD_DEPENDS
SVN-Revision: 6180
2007-01-22 17:33:10 +00:00
Felix Fietkau
656412d1a3 Forward port whiterussian resolv.conf changes /etc/resolv.conf links to /tmp/resolv.conf /tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in) When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1
SVN-Revision: 6043
2007-01-08 21:33:53 +00:00
Florian Fainelli
4f014d13c4 Also use INSTALL_CONF for ppp
SVN-Revision: 5994
2007-01-05 15:34:48 +00:00
Felix Fietkau
e90a752d4d fix ppp keepalive setting (#1071)
SVN-Revision: 5875
2006-12-20 05:12:49 +00:00
Florian Fainelli
83849946b4 Add ipv6 support to PPP
SVN-Revision: 5708
2006-12-07 13:58:21 +00:00
Felix Fietkau
c2211dc51e replace lots of manual install commands with INSTALL_* variables
SVN-Revision: 5624
2006-11-23 00:29:07 +00:00
Felix Fietkau
b1d1701fd6 hopefully fix duplicate ppp instances (#895)
SVN-Revision: 5577
2006-11-18 23:19:32 +00:00
Felix Fietkau
105a602ecf implement target profiles in menuconfig
SVN-Revision: 5512
2006-11-12 05:06:56 +00:00
Felix Fietkau
ab9a7a900e fix vpi/vci setting for pppoa
SVN-Revision: 5351
2006-10-30 23:58:01 +00:00
Felix Fietkau
2fa277537e enable pppoa for ar7
SVN-Revision: 5350
2006-10-30 23:00:08 +00:00
Felix Fietkau
9abdf580d9 use lock to remove race conditions in bringing up ppp and dhcp that would lead to multiple active processes
SVN-Revision: 5298
2006-10-26 01:33:36 +00:00
Felix Fietkau
315f8e954b make network scripts more robust, prevent multiple instances of pppd and udhcpc for the same interface
SVN-Revision: 5290
2006-10-24 23:59:08 +00:00
Felix Fietkau
60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00