Commit Graph

36 Commits (80650c9475ce20b379b2cf3f3f46fa52098eb6e9)

Author SHA1 Message Date
Felix Fietkau a660a57d71 pppd: split files into netifd and non-netifd files, move the netifd ppp.sh file to the pppd package
SVN-Revision: 31041
12 years ago
Nicolas Thill 63820327d3 package/ppp: fix typo in r28868 (closes: #10429)
SVN-Revision: 29165
13 years ago
Nicolas Thill 72de194d16 package/ppp: use new service wrappers
SVN-Revision: 28868
13 years ago
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
13 years ago
Jo-Philipp Wich a5d0879de7 ppp: use service_kill()
SVN-Revision: 23088
14 years ago
Jo-Philipp Wich 8079d54678 ppp: interpret "demand" option as timeout in seconds (#7517)
SVN-Revision: 21903
14 years ago
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
14 years ago
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
14 years ago
Jo-Philipp Wich dd38b15b75 base-files, ppp: fix interface shutdown
SVN-Revision: 21386
14 years ago
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
14 years ago
Jo-Philipp Wich 13ebdec3f4 ppp: pass "nodefaultroute" if defaultroute is 0, don't unconditionally truncate resolv.conf, thanks cshore
SVN-Revision: 21361
14 years ago
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
14 years ago
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
14 years ago
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
15 years ago
Jo-Philipp Wich b28f438a37 ppp: process option dns if peerdns is off (#6474)
SVN-Revision: 19093
15 years ago
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
15 years ago
Florian Fainelli a54018aa87 fix ppp and pptp typos where is used instead of (#4768, #4778)
SVN-Revision: 14882
16 years ago
Felix Fietkau 6488abc11c ppp: derive interface unit numbers from previous enumeration
SVN-Revision: 12417
16 years ago
Felix Fietkau 1c3b76013a fix ppp interface enumeration - don't enumerate already processed interfaces
SVN-Revision: 12416
16 years ago
John Crispin 18e061bd2a made ppp usepeerdns configurable, fixes #3187
SVN-Revision: 10562
17 years ago
Felix Fietkau 084c9abec3 add workaround for ppp-on-boot issues, fixes #2524
SVN-Revision: 9722
17 years ago
Felix Fietkau f77a9849c0 add ppp ipv6 patch by farnz (from #2525)
SVN-Revision: 9508
17 years ago
Felix Fietkau 469c658898 fix ppp unit number issues (#2178)
SVN-Revision: 8665
17 years ago
Felix Fietkau 393c8bff07 allow the user to disable the defaultroute option for ppp
SVN-Revision: 8569
17 years ago
Felix Fietkau 365ad8dec6 oops... typo
SVN-Revision: 8564
17 years ago
Felix Fietkau a391a14e23 fix issues with multiple ppp links (noticed by Stefano Rivera)
SVN-Revision: 8563
17 years ago
Felix Fietkau da3f65f28c add pppd options patch from #2114
SVN-Revision: 8116
17 years ago
Mike Baker 10ac836039 various patches to add support for ppp over evdo or character devices
SVN-Revision: 7076
17 years ago
Felix Fietkau 92feed28d8 more reliable fix for handling ppp
SVN-Revision: 6356
18 years ago
Felix Fietkau 644af0aebf fix ppp defaultroute issues (based on patch from #1386, fixes #1181)
SVN-Revision: 6354
18 years ago
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
18 years ago
Felix Fietkau e90a752d4d fix ppp keepalive setting (#1071)
SVN-Revision: 5875
18 years ago
Felix Fietkau b1d1701fd6 hopefully fix duplicate ppp instances (#895)
SVN-Revision: 5577
18 years ago
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
18 years ago
Felix Fietkau 315f8e954b make network scripts more robust, prevent multiple instances of pppd and udhcpc for the same interface
SVN-Revision: 5290
18 years ago
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 8 years ago