82 Commits (d505def9ba6314206886995b416ae28bccf94d47)

Author SHA1 Message Date
Jo-Philipp Wich 7ed9369cb3 ppp: the pptp buffering option is not supported anymore, remove it 12 years ago
Jo-Philipp Wich 0b5da2e16e ppp: add missing options.pptp 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 12 years ago
Felix Fietkau 378773f143 ppp: block restart of interfaces if pppd refused the command line options 12 years ago
Felix Fietkau 557a3b5dd4 ppp: enable no_device in the netifd pppoa handler to bring it up at boot time (#11631) 12 years ago
Jo-Philipp Wich 9ae901445b /etc/functions.sh => /lib/functions.sh 12 years ago
Felix Fietkau 16eda3e152 ppp: fix local ip in status info (fixes #11551) 12 years ago
Felix Fietkau f2db9f2339 ppp: add back ip-{up,down}.d support for now 12 years ago
Felix Fietkau 64b882f002 pppd: add noipdefault option to /etc/ppp/options (fixes #11499) 12 years ago
Felix Fietkau e8fa94daa4 ppp: use the new json_get_vars function 12 years ago
Jo-Philipp Wich 0422ba4687 ppp: remove stray bracked in ppp-up script, thanks swalker 13 years ago
Felix Fietkau f44934b9ae netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling 13 years ago
Felix Fietkau 43695701ec ppp: move ppp-{up,down} from the netifd package to pppd 13 years ago
Felix Fietkau a660a57d71 pppd: split files into netifd and non-netifd files, move the netifd ppp.sh file to the pppd package 13 years ago
Nicolas Thill 63820327d3 package/ppp: fix typo in r28868 (closes: #10429) 13 years ago
Nicolas Thill 72de194d16 package/ppp: use new service wrappers 13 years ago
Jo-Philipp Wich 5e5416a128 ppp: move the rp_pppoe_* options behind the plugin argument 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" 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 13 years ago
Jo-Philipp Wich 7982978391 ppp: extend the r26742 change to ip-down too 14 years ago
Jo-Philipp Wich 8d47f51f7c ppp: prevent duplicate hotplug for non uci managed ppp interfaces (#9275) 14 years ago
Jo-Philipp Wich 110055b383 ppp: remove pppoa coldplug, the hotplug handler has been confirmed for ueagle and solos 14 years ago
Jo-Philipp Wich 5cf136ae0e ppp: synthesize a .device option to make ifup work on pppoa interfaces again 14 years ago
Jo-Philipp Wich a50421a302 pppd: use "atmdev" option to select the DSL adapter, this aligns it with br2684ctl and solves #8108 14 years ago
Jo-Philipp Wich 191bf37328 ppp: honour option auto in atm hotplug 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 14 years ago
Jo-Philipp Wich a5d0879de7 ppp: use service_kill() 14 years ago
Jo-Philipp Wich 8079d54678 ppp: interpret "demand" option as timeout in seconds (#7517) 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 15 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 15 years ago
Jo-Philipp Wich dd38b15b75 base-files, ppp: fix interface shutdown 15 years ago
Jo-Philipp Wich 66ab73d01f base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and move it to protocol stop callbacks 15 years ago
Jo-Philipp Wich 13ebdec3f4 ppp: pass "nodefaultroute" if defaultroute is 0, don't unconditionally truncate resolv.conf, thanks cshore 15 years ago
Jo-Philipp Wich 3b5689eb5e ppp: rename 20-usb-modem to 20-atm-modem 15 years ago
Jo-Philipp Wich b46d822e9b ppp: add hotplug helper for usb dsl modems to ppp-mod-pppoa package 15 years ago
Jo-Philipp Wich 9bf8e9a230 ppp: bring pppoa script in sync with updated ppp logic 15 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 15 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 15 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). 15 years ago
Travis Kemen 812105bfb4 fix issues with pptpd server and firewall, closes #2342 15 years ago
Jo-Philipp Wich b28f438a37 ppp: process option dns if peerdns is off (#6474) 15 years ago
Jo-Philipp Wich 414761eeb3 ppp: add dns servers to uci state in the ip-up script 15 years ago
Nicolas Thill 6b575bcb0e ppp: quote positional parameters when calling up/down scripts (closes: #5622) 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 15 years ago
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;) 16 years ago
Florian Fainelli a54018aa87 fix ppp and pptp typos where is used instead of (#4768, #4778) 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 16 years ago
Nicolas Thill 038f8c0532 add missing /etc/functions.sh include required for saving network state (closes: #3902) 16 years ago
Felix Fietkau 6488abc11c ppp: derive interface unit numbers from previous enumeration 16 years ago
Felix Fietkau 1c3b76013a fix ppp interface enumeration - don't enumerate already processed interfaces 16 years ago