aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/files
Commit message (Collapse)AuthorAgeFilesLines
* [package] /etc/functions.sh => /lib/functions.shJo-Philipp Wich2012-06-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: fix local ip in status info (fixes #11551)Felix Fietkau2012-05-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: add back ip-{up,down}.d support for nowFelix Fietkau2012-05-262-0/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pppd: add noipdefault option to /etc/ppp/options (fixes #11499)Felix Fietkau2012-05-201-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31831 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: use the new json_get_vars functionFelix Fietkau2012-05-141-17/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: remove stray bracked in ppp-up script, thanks swalkerJo-Philipp Wich2012-05-071-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes address/route list handling issues ↵Felix Fietkau2012-04-291-0/+1
| | | | | | and fixes dual-stack ppp route handling git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: move ppp-{up,down} from the netifd package to pppdFelix Fietkau2012-04-172-0/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pppd: split files into netifd and non-netifd files, move the netifd ppp.sh ↵Felix Fietkau2012-03-208-307/+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)Nicolas Thill2011-11-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/ppp: use new service wrappersNicolas Thill2011-11-081-4/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: move the rp_pppoe_* options behind the plugin argumentJo-Philipp Wich2011-10-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28368 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: implement pppoe specific uci options "ac" and "service" which ↵Jo-Philipp Wich2011-10-041-3/+14
| | | | | | map to "rp_pppoe_ac" and "rp_pppoe_service" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28366 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: add workaround for ignored rp_pppoe_ac and rp_pppoe_service ↵Jo-Philipp Wich2011-10-042-3/+11
| | | | | | 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: extend the r26742 change to ip-down tooJo-Philipp Wich2011-04-201-4/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26743 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: prevent duplicate hotplug for non uci managed ppp interfaces ↵Jo-Philipp Wich2011-04-201-1/+8
| | | | | | (#9275) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26742 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: remove pppoa coldplug, the hotplug handler has been confirmed ↵Jo-Philipp Wich2011-01-171-4/+0
| | | | | | for ueagle and solos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: synthesize a .device option to make ifup work on pppoa ↵Jo-Philipp Wich2011-01-171-0/+4
| | | | | | interfaces again git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] pppd: use "atmdev" option to select the DSL adapter, this aligns ↵Jo-Philipp Wich2010-10-201-3/+3
| | | | | | it with br2684ctl and solves #8108 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp: honour option auto in atm hotplugJo-Philipp Wich2010-10-191-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] ppp:Jo-Philipp Wich2010-10-191-4/+6
| | | | | | | | | | - 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [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