summaryrefslogtreecommitdiffstats
path: root/package/ppp/files/ppp.sh
Commit message (Collapse)AuthorAgeFilesLines
* ppp: use the new json_get_vars functionnbd2012-05-141-17/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pppd: split files into netifd and non-netifd files, move the netifd ppp.sh ↵nbd2012-03-201-116/+154
| | | | | | file to the pppd package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/ppp: fix typo in r28868 (closes: #10429)nico2011-11-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/ppp: use new service wrappersnico2011-11-081-4/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: add workaround for ignored rp_pppoe_ac and rp_pppoe_service ↵jow2011-10-041-1/+9
| | | | | | options by appending the nic-xxx argument last git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28364 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: use service_kill()jow2010-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)jow2010-06-261-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp:jow2010-05-071-13/+5
| | | | | | | | | | - 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:jow2010-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 shutdownjow2010-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 ↵jow2010-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 ↵jow2010-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:jow2010-05-011-58/+26
| | | | | | | | | | | - 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:jow2010-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) ↵thepeople2010-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
* [package] ppp: process option dns if peerdns is off (#6474)jow2010-01-101-3/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move ppp ifname fixup from pppoe.sh to ppp.sh, so that it applies to all ↵nbd2009-09-061-0/+6
| | | | | | other ppp based protocols as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix ppp and pptp typos where is used instead of (#4768, #4778)florian2009-03-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: derive interface unit numbers from previous enumerationnbd2008-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 interfacesnbd2008-08-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* made ppp usepeerdns configurable, fixes #3187blogic2008-03-071-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add workaround for ppp-on-boot issues, fixes #2524nbd2007-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)nbd2007-11-071-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix ppp unit number issues (#2178)nbd2007-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 pppnbd2007-09-011-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oops... typonbd2007-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)nbd2007-08-311-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add pppd options patch from #2114nbd2007-07-231-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* various patches to add support for ppp over evdo or character devicesmbm2007-05-011-1/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more reliable fix for handling pppnbd2007-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)nbd2007-02-251-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Forward port whiterussian resolv.conf changesnbd2007-01-081-1/+1
| | | | | | | | | /etc/resolv.conf links to /tmp/resolv.conf /tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in) When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix ppp keepalive setting (#1071)nbd2006-12-201-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5875 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hopefully fix duplicate ppp instances (#895)nbd2006-11-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use lock to remove race conditions in bringing up ppp and dhcp that would ↵nbd2006-10-261-2/+8
| | | | | | lead to multiple active processes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5298 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make network scripts more robust, prevent multiple instances of pppd and ↵nbd2006-10-241-0/+5
| | | | | | udhcpc for the same interface git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* save the real configured interface name in the 'device' variable when ↵nbd2006-10-091-1/+0
| | | | | | running scan_interfaces() - fixes pppoe problems git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow spaces in the keepalive optionnbd2006-09-121-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4781 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow the user to override the lcp echo interval in ppp network configurationsnbd2006-09-121-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typonbd2006-08-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rewrite of the network scripts and configurationnbd2006-07-301-0/+27
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4323 3c298f89-4303-0410-b956-a3cf2f4a3e73