Commit Graph

83 Commits (c02bd635b29d4fd2c798cd28ae28b45c3cf1d407)

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
12 years ago
Jo-Philipp Wich 7ed9369cb3 ppp: the pptp buffering option is not supported anymore, remove it
SVN-Revision: 32482
12 years ago
Jo-Philipp Wich 0b5da2e16e ppp: add missing options.pptp
SVN-Revision: 32233
12 years ago
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
12 years ago
Felix Fietkau 378773f143 ppp: block restart of interfaces if pppd refused the command line options
SVN-Revision: 32160
12 years ago
Felix Fietkau 557a3b5dd4 ppp: enable no_device in the netifd pppoa handler to bring it up at boot time (#11631)
SVN-Revision: 32146
12 years ago
Jo-Philipp Wich 9ae901445b /etc/functions.sh => /lib/functions.sh
SVN-Revision: 32062
12 years ago
Felix Fietkau 16eda3e152 ppp: fix local ip in status info (fixes #11551)
SVN-Revision: 31979
12 years ago
Felix Fietkau f2db9f2339 ppp: add back ip-{up,down}.d support for now
SVN-Revision: 31860
12 years ago
Felix Fietkau 64b882f002 pppd: add noipdefault option to /etc/ppp/options (fixes #11499)
SVN-Revision: 31831
12 years ago
Felix Fietkau e8fa94daa4 ppp: use the new json_get_vars function
SVN-Revision: 31726
12 years ago
Jo-Philipp Wich 0422ba4687 ppp: remove stray bracked in ppp-up script, thanks swalker
SVN-Revision: 31647
12 years ago
Felix Fietkau f44934b9ae netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
SVN-Revision: 31516
12 years ago
Felix Fietkau 43695701ec ppp: move ppp-{up,down} from the netifd package to pppd
SVN-Revision: 31340
12 years ago
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 5e5416a128 ppp: move the rp_pppoe_* options behind the plugin argument
SVN-Revision: 28368
13 years ago
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
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 7982978391 ppp: extend the r26742 change to ip-down too
SVN-Revision: 26743
13 years ago
Jo-Philipp Wich 8d47f51f7c ppp: prevent duplicate hotplug for non uci managed ppp interfaces (#9275)
SVN-Revision: 26742
13 years ago
Jo-Philipp Wich 110055b383 ppp: remove pppoa coldplug, the hotplug handler has been confirmed for ueagle and solos
SVN-Revision: 25027
14 years ago
Jo-Philipp Wich 5cf136ae0e ppp: synthesize a .device option to make ifup work on pppoa interfaces again
SVN-Revision: 25025
14 years ago
Jo-Philipp Wich a50421a302 pppd: use "atmdev" option to select the DSL adapter, this aligns it with br2684ctl and solves #8108
SVN-Revision: 23551
14 years ago
Jo-Philipp Wich 191bf37328 ppp: honour option auto in atm hotplug
SVN-Revision: 23531
14 years ago
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
14 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 3b5689eb5e ppp: rename 20-usb-modem to 20-atm-modem
SVN-Revision: 21303
14 years ago
Jo-Philipp Wich b46d822e9b ppp: add hotplug helper for usb dsl modems to ppp-mod-pppoa package
SVN-Revision: 21302
14 years ago
Jo-Philipp Wich 9bf8e9a230 ppp: bring pppoa script in sync with updated ppp logic
SVN-Revision: 21287
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
14 years ago
Travis Kemen 812105bfb4 fix issues with pptpd server and firewall, closes #2342
SVN-Revision: 19873
15 years ago
Jo-Philipp Wich b28f438a37 ppp: process option dns if peerdns is off (#6474)
SVN-Revision: 19093
15 years ago
Jo-Philipp Wich 414761eeb3 ppp: add dns servers to uci state in the ip-up script
SVN-Revision: 17801
15 years ago
Nicolas Thill 6b575bcb0e ppp: quote positional parameters when calling up/down scripts (closes: #5622)
SVN-Revision: 17763
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
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
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 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
16 years ago
Nicolas Thill 038f8c0532 add missing /etc/functions.sh include required for saving network state (closes: #3902)
SVN-Revision: 12660
16 years ago
Felix Fietkau 6488abc11c ppp: derive interface unit numbers from previous enumeration
SVN-Revision: 12417
16 years ago