aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/files
Commit message (Collapse)AuthorAgeFilesLines
* [package] ppp: use service_kill()Jo-Philipp Wich2010-09-191-9/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: interpret "demand" option as timeout in seconds (#7517)Jo-Philipp Wich2010-06-261-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: convert dos line endings in 20-atm-modem hotplug handler to ↵Jo-Philipp Wich2010-05-111-25/+25
| | | | | | unix format git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21426 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp:Jo-Philipp Wich2010-05-072-14/+10
| | | | | | | | | | - 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp:Jo-Philipp Wich2010-05-061-7/+11
| | | | | | | | - 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files, ppp: fix interface shutdownJo-Philipp Wich2010-05-061-5/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21386 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files, ppp: remove protocol specific cleanup code from ↵Jo-Philipp Wich2010-05-051-1/+6
| | | | | | /sbin/ifdown and move it to protocol stop callbacks git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21383 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: pass "nodefaultroute" if defaultroute is 0, don't ↵Jo-Philipp Wich2010-05-051-2/+4
| | | | | | unconditionally truncate resolv.conf, thanks cshore git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: rename 20-usb-modem to 20-atm-modemJo-Philipp Wich2010-05-021-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: add hotplug helper for usb dsl modems to ppp-mod-pppoa packageJo-Philipp Wich2010-05-021-0/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: bring pppoa script in sync with updated ppp logicJo-Philipp Wich2010-05-011-7/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp:Jo-Philipp Wich2010-05-013-62/+29
| | | | | | | | | | | - 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] pppd:Jo-Philipp Wich2010-05-011-9/+52
| | | | | | | | | | | - 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /lib/network/ppp.sh fixes a problem with PPtP (and other PPP-based things) ↵Travis Kemen2010-03-141-9/+38
| | | | | | | | 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [patchteam] fix issues with pptpd server and firewall, closes #2342Travis Kemen2010-02-262-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19873 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: process option dns if peerdns is off (#6474)Jo-Philipp Wich2010-01-101-3/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: add dns servers to uci state in the ip-up scriptJo-Philipp Wich2009-09-301-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17801 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: quote positional parameters when calling up/down scripts ↵Nicolas Thill2009-09-272-2/+2
| | | | | | (closes: #5622) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17763 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move ppp ifname fixup from pppoe.sh to ppp.sh, so that it applies to all ↵Felix Fietkau2009-09-062-5/+6
| | | | | | other ppp based protocols as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix ppp and pptp typos where is used instead of (#4768, #4778)Florian Fainelli2009-03-153-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a race condition where ppp interfaces were not added to the firewall ↵Felix Fietkau2008-11-281-0/+3
| | | | | | properly when brought up at boot time - save the ppp interface unit number in the network state git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add missing /etc/functions.sh include required for saving network state ↵Nicolas Thill2008-09-232-0/+2
| | | | | | (closes: #3902) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: derive interface unit numbers from previous enumerationFelix Fietkau2008-08-281-4/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix ppp interface enumeration - don't enumerate already processed interfacesFelix Fietkau2008-08-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes ppp ipv6 scripts, signed-off-by: Alina FriedrichsenJohn Crispin2008-07-292-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make ip-up scripts aware of network settingsJohn Crispin2008-06-111-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp/pptp fixes:Nicolas Thill2008-05-031-0/+1
| | | | | | | | | - prevent ppp from logging to /etc/ppp/connect-errors (closes: #2989) - add dependency on ppp and kmod-gre to pptp - bump release number git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix interface enumeration issues related to /var/state/network (thx to fish ↵Felix Fietkau2008-04-021-1/+1
| | | | | | for debugging this) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* made ppp usepeerdns configurable, fixes #3187John Crispin2008-03-071-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-032-5/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix pppoe on dynamically assigned interfacesFelix Fietkau2007-12-231-3/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add workaround for ppp-on-boot issues, fixes #2524Felix Fietkau2007-12-131-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add ppp ipv6 patch by farnz (from #2525)Felix Fietkau2007-11-073-2/+35
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add ipv6 up/down using route (#2372)Florian Fainelli2007-09-162-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8794 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Use default values for lcp-echo-failure and lcp-echo-interval (#2373)Florian Fainelli2007-09-161-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8785 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix ppp unit number issues (#2178)Felix Fietkau2007-09-071-3/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8665 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow the user to disable the defaultroute option for pppFelix Fietkau2007-09-011-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oops... typoFelix Fietkau2007-08-311-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix issues with multiple ppp links (noticed by Stefano Rivera)Felix Fietkau2007-08-311-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix ifname in network state for pppoe and pptp, add a workaround for isps ↵Felix Fietkau2007-08-301-0/+5
| | | | | | sending wrong netmasks for pptp (thx, moonwatcher) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add pppd options patch from #2114Felix Fietkau2007-07-231-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* keep track of the network interface states (stored in uci format in ↵Felix Fietkau2007-06-162-2/+28
| | | | | | /var/state/network, overlay over /etc/config/network) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* various patches to add support for ppp over evdo or character devicesMike Baker2007-05-011-1/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add better default config for ar7, add br2684ctl init script, add a missing ↵Felix Fietkau2007-04-211-1/+7
| | | | | | setting for pppoa git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* set the DEVICE variable in hotplug events from ppp interfacesFelix Fietkau2007-03-242-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6667 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Change mtu value for pppoa and pppoe (#945)Florian Fainelli2007-03-142-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* nuke mdev and replace it with hotplug2 :)Felix Fietkau2007-03-042-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more reliable fix for handling pppFelix Fietkau2007-02-251-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix ppp defaultroute issues (based on patch from #1386, fixes #1181)Felix Fietkau2007-02-251-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6354 3c298f89-4303-0410-b956-a3cf2f4a3e73