77 Commits (47e443f91ba562bc3ca16805bacf2264639acf34)

Author SHA1 Message Date
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
Felix Fietkau e3597a8786 propagate atm header changes into pppoatm and br2684ctl as well 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 8ee9f9ee04 this patch simplifies the Makefile by using PKG_INSTALL:=1, and it also fixes parallel build. 15 years ago
Travis Kemen 812105bfb4 fix issues with pptpd server and firewall, closes #2342 15 years ago
Jo-Philipp Wich 243e190675 ppp: enable multilink support (#4837) 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
Andy Boyett a5f80019ef bump some revisions and update copyrights 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
Hauke Mehrtens d21f38210a refresh patches 16 years ago
Hauke Mehrtens b97b54291d Make patches apply agagin. The deleted parts were two times in the patches. 16 years ago
Jo-Philipp Wich 9137c11605 update ppp to v2.4.4 (#5102) 16 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
Nicolas Thill 7075c9f917 oops, fix typo in [12368] 16 years ago
Nicolas Thill 2ac5a81ab4 install ppp development headers 16 years ago
John Crispin b639fc4b00 fixes ppp ipv6 scripts, signed-off-by: Alina Friedrichsen 17 years ago
John Crispin 456893e798 make ip-up scripts aware of network settings 17 years ago
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 17 years ago
Felix Fietkau f4f7d687f0 fix interface enumeration issues related to /var/state/network (thx to fish for debugging this) 17 years ago
John Crispin 18e061bd2a made ppp usepeerdns configurable, fixes #3187 17 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :) 17 years ago
Felix Fietkau 8c871a5f6b fix pppoe on dynamically assigned interfaces 17 years ago
Felix Fietkau 084c9abec3 add workaround for ppp-on-boot issues, fixes #2524 17 years ago
Felix Fietkau a79df14d21 bump ppp version 17 years ago
Felix Fietkau f77a9849c0 add ppp ipv6 patch by farnz (from #2525) 17 years ago
Felix Fietkau 12a7f0f292 remove linux-atm from ppp build deps - the internal version seems to be working 17 years ago
Florian Fainelli ea5e6f6571 Add ipv6 up/down using route (#2372) 17 years ago
Florian Fainelli 22e32fb6f0 Use default values for lcp-echo-failure and lcp-echo-interval (#2373) 17 years ago
Felix Fietkau 4db9556f99 bump package versions after updates 17 years ago
Felix Fietkau 469c658898 fix ppp unit number issues (#2178) 17 years ago
Nicolas Thill 34bb4638e7 move package description to a separate definition, remove it when DESCRIPTION=TITLE 17 years ago
Felix Fietkau 393c8bff07 allow the user to disable the defaultroute option for ppp 17 years ago
Felix Fietkau 365ad8dec6 oops... typo 17 years ago
Felix Fietkau a391a14e23 fix issues with multiple ppp links (noticed by Stefano Rivera) 17 years ago