Commit Graph

59 Commits (68dbac93fce5c03a7c336cdd1a28ae424c8d8ffd)

Author SHA1 Message Date
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
15 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
Felix Fietkau 1c3b76013a fix ppp interface enumeration - don't enumerate already processed interfaces
SVN-Revision: 12416
16 years ago
John Crispin b639fc4b00 fixes ppp ipv6 scripts, signed-off-by: Alina Friedrichsen
SVN-Revision: 11998
16 years ago
John Crispin 456893e798 make ip-up scripts aware of network settings
SVN-Revision: 11446
16 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
SVN-Revision: 11018
16 years ago
Felix Fietkau f4f7d687f0 fix interface enumeration issues related to /var/state/network (thx to fish for debugging this)
SVN-Revision: 10715
16 years ago
John Crispin 18e061bd2a made ppp usepeerdns configurable, fixes #3187
SVN-Revision: 10562
17 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
17 years ago
Felix Fietkau 8c871a5f6b fix pppoe on dynamically assigned interfaces
SVN-Revision: 9852
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
Florian Fainelli ea5e6f6571 Add ipv6 up/down using route (#2372)
SVN-Revision: 8794
17 years ago
Florian Fainelli 22e32fb6f0 Use default values for lcp-echo-failure and lcp-echo-interval (#2373)
SVN-Revision: 8785
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 52a138a953 fix ifname in network state for pppoe and pptp, add a workaround for isps sending wrong netmasks for pptp (thx, moonwatcher)
SVN-Revision: 8552
17 years ago
Felix Fietkau da3f65f28c add pppd options patch from #2114
SVN-Revision: 8116
17 years ago
Felix Fietkau 4f16e9cc3e keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
SVN-Revision: 7643
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 7c08cc06a2 add better default config for ar7, add br2684ctl init script, add a missing setting for pppoa
SVN-Revision: 7024
17 years ago
Felix Fietkau 573c36539e set the DEVICE variable in hotplug events from ppp interfaces
SVN-Revision: 6667
18 years ago
Florian Fainelli a6481bb35b Change mtu value for pppoa and pppoe (#945)
SVN-Revision: 6566
18 years ago
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
18 years ago