Commit Graph

83 Commits (a4b0a5043dbc51989e84ec39ae12c67125617ca9)

Author SHA1 Message Date
Jo-Philipp Wich 95738d97a9 ppp: introduce "authfail" option which specifies whether pppd should attempt to re-authenticate after a failed PAP/CHAP auth
SVN-Revision: 33291
2012-08-29 10:07:08 +00:00
Jo-Philipp Wich 7ed9369cb3 ppp: the pptp buffering option is not supported anymore, remove it
SVN-Revision: 32482
2012-06-21 19:41:47 +00:00
Jo-Philipp Wich 0b5da2e16e ppp: add missing options.pptp
SVN-Revision: 32233
2012-06-11 23:22:52 +00:00
Jo-Philipp Wich 13b8a13d48 ppp: add support for kernel mode pptp - add ppp-mod-pptp, based on patch by Daniel Golle <dgolle@allnet.de> - add netifd integration for pptp to ppp.sh
SVN-Revision: 32197
2012-06-11 20:07:46 +00:00
Felix Fietkau 378773f143 ppp: block restart of interfaces if pppd refused the command line options
SVN-Revision: 32160
2012-06-10 12:12:10 +00:00
Felix Fietkau 557a3b5dd4 ppp: enable no_device in the netifd pppoa handler to bring it up at boot time (#11631)
SVN-Revision: 32146
2012-06-09 23:16:26 +00:00
Jo-Philipp Wich 9ae901445b /etc/functions.sh => /lib/functions.sh
SVN-Revision: 32062
2012-06-05 16:04:23 +00:00
Felix Fietkau 16eda3e152 ppp: fix local ip in status info (fixes #11551)
SVN-Revision: 31979
2012-05-29 12:58:57 +00:00
Felix Fietkau f2db9f2339 ppp: add back ip-{up,down}.d support for now
SVN-Revision: 31860
2012-05-26 15:31:54 +00:00
Felix Fietkau 64b882f002 pppd: add noipdefault option to /etc/ppp/options (fixes #11499)
SVN-Revision: 31831
2012-05-20 14:02:05 +00:00
Felix Fietkau e8fa94daa4 ppp: use the new json_get_vars function
SVN-Revision: 31726
2012-05-14 20:58:24 +00:00
Jo-Philipp Wich 0422ba4687 ppp: remove stray bracked in ppp-up script, thanks swalker
SVN-Revision: 31647
2012-05-07 22:41:41 +00:00
Felix Fietkau f44934b9ae netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
SVN-Revision: 31516
2012-04-29 12:20:10 +00:00
Felix Fietkau 43695701ec ppp: move ppp-{up,down} from the netifd package to pppd
SVN-Revision: 31340
2012-04-17 21:35:13 +00:00
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
2012-03-20 13:09:27 +00:00
Nicolas Thill 63820327d3 package/ppp: fix typo in r28868 (closes: #10429)
SVN-Revision: 29165
2011-11-15 23:40:39 +00:00
Nicolas Thill 72de194d16 package/ppp: use new service wrappers
SVN-Revision: 28868
2011-11-08 22:48:05 +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
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
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 a5d0879de7 ppp: use service_kill()
SVN-Revision: 23088
2010-09-19 14:09:27 +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
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
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 812105bfb4 fix issues with pptpd server and firewall, closes #2342
SVN-Revision: 19873
2010-02-26 17:16:18 +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
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
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