Jo-Philipp Wich
93a0a1bfea
[package] pppd: use "atmdev" option to select the DSL adapter, this aligns it with br2684ctl and solves #8108
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-20 17:56:29 +00:00
Jo-Philipp Wich
9fa29f2d2b
[package] ppp: honour option auto in atm hotplug
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-19 07:01:38 +00:00
Jo-Philipp Wich
a265e1d535
[package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-19 06:42:37 +00:00
Jo-Philipp Wich
ffe051af99
[package] ppp: utilize the new keepfiles facility to backup the whole radius directory
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 19:32:49 +00:00
Jo-Philipp Wich
a539c87eb3
[package] ppp: mark /etc/ppp/ resources as conffiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 17:13:07 +00:00
Jo-Philipp Wich
20e84127cd
[package] add maintainer information
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-30 10:48:37 +00:00
Jo-Philipp Wich
0bff63b005
[package] ppp: use service_kill()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 14:09:27 +00:00
Jo-Philipp Wich
51f5cde556
[package] ppp: populate gateway of default route with peer address ( #6259 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-25 23:10:40 +00:00
Jo-Philipp Wich
d4404b42d8
[package] ppp: whitespace cleanup in previous commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-04 21:50:50 +00:00
Jo-Philipp Wich
4bc4de5afa
[package] pppd: only remove own default route on shutdown ( #7694 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-04 21:47:29 +00:00
Jo-Philipp Wich
5b9e5a8e9a
[package] ppp: interpret "demand" option as timeout in seconds ( #7517 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 18:11:04 +00:00
Nicolas Thill
3198c447f6
bump release number for packages ahead of backfire in trunk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 21:55:40 +00:00
Jo-Philipp Wich
a6d4a383c8
[package] ppp: convert dos line endings in 20-atm-modem hotplug handler to unix format
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-11 19:43:27 +00:00
Jo-Philipp Wich
4c686abd91
[package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 01:22:48 +00:00
Jo-Philipp Wich
229c1ed3fb
[package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 17:07:31 +00:00
Jo-Philipp Wich
fb0679306f
[package] base-files, ppp: fix interface shutdown
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 01:14:24 +00:00
Jo-Philipp Wich
2a8c7ceaf4
[package] base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and move it to protocol stop callbacks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 23:24:11 +00:00
Jo-Philipp Wich
1564e6fa9f
[package] ppp: pass "nodefaultroute" if defaultroute is 0, don't unconditionally truncate resolv.conf, thanks cshore
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 01:48:45 +00:00
Jo-Philipp Wich
8c0162fb0c
[package] ppp: rename 20-usb-modem to 20-atm-modem
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-02 16:47:16 +00:00
Jo-Philipp Wich
f83342e9a2
[package] ppp: add hotplug helper for usb dsl modems to ppp-mod-pppoa package
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-02 16:40:58 +00:00
Jo-Philipp Wich
aef2742bd3
[package] ppp: bring pppoa script in sync with updated ppp logic
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01 19:18:25 +00:00
Jo-Philipp Wich
36f6667f85
[package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01 17:54:37 +00:00
Jo-Philipp Wich
aea73391d7
[package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01 11:08:03 +00:00
Felix Fietkau
e287c055e8
propagate atm header changes into pppoatm and br2684ctl as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 21:55:54 +00:00
Travis Kemen
f1389d9319
/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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 21:42:56 +00:00
Travis Kemen
7c88d75e88
this patch simplifies the Makefile by using PKG_INSTALL:=1, and it also
...
fixes parallel build.
-Raphael
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:10:37 +00:00
Travis Kemen
159d57a5b4
[patchteam] fix issues with pptpd server and firewall, closes #2342
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 17:16:18 +00:00
Jo-Philipp Wich
19afa89320
[package] ppp: enable multilink support ( #4837 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-22 02:26:32 +00:00
Jo-Philipp Wich
1095640d8f
[package] ppp: process option dns if peerdns is off ( #6474 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-10 16:28:09 +00:00
Jo-Philipp Wich
c1e312a84d
[package] ppp: add dns servers to uci state in the ip-up script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-30 16:06:20 +00:00
Nicolas Thill
f9fa0c4e23
[package] ppp: quote positional parameters when calling up/down scripts ( closes : #5622 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-27 14:14:09 +00:00
Andy Boyett
fd376111a2
[package] bump some revisions and update copyrights
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 10:07:04 +00:00
Felix Fietkau
9bb4587731
move ppp ifname fixup from pppoe.sh to ppp.sh, so that it applies to all other ppp based protocols as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06 17:36:01 +00:00
Hauke Mehrtens
eb5911f5a2
[ppp] refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-21 10:49:21 +00:00
Hauke Mehrtens
ed5472e868
[ppp] Make patches apply agagin.
...
The deleted parts were two times in the patches.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-21 10:48:24 +00:00
Jo-Philipp Wich
a32b336a3b
[package] update ppp to v2.4.4 ( #5102 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 22:36:38 +00:00
Felix Fietkau
5bdd866100
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Florian Fainelli
7d2a736b89
[package] fix ppp and pptp typos where is used instead of ( #4768 , #4778 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-15 12:08:31 +00:00
Felix Fietkau
fd77ccf847
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 16:41:46 +00:00
Nicolas Thill
8db5c02f5f
add missing /etc/functions.sh include required for saving network state ( closes : #3902 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 12:48:53 +00:00
Felix Fietkau
2c1edb7dd0
ppp: derive interface unit numbers from previous enumeration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 00:15:10 +00:00
Felix Fietkau
b84846eedc
fix ppp interface enumeration - don't enumerate already processed interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 22:19:42 +00:00
Nicolas Thill
d1126692b6
oops, fix typo in [12368]
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 05:03:37 +00:00
Nicolas Thill
5ad11c0b0f
install ppp development headers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 05:02:04 +00:00
John Crispin
a155b9370d
fixes ppp ipv6 scripts, signed-off-by: Alina Friedrichsen
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 23:40:19 +00:00
John Crispin
15e807bd2f
make ip-up scripts aware of network settings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 20:03:08 +00:00
Nicolas Thill
e339a3e0b8
[package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 12:11:35 +00:00
Felix Fietkau
7a3bb84d5a
fix interface enumeration issues related to /var/state/network (thx to fish for debugging this)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-02 21:27:28 +00:00
John Crispin
65f00265d2
made ppp usepeerdns configurable, fixes #3187
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 11:18:54 +00:00
Felix Fietkau
2f8b5f8c28
Here comes the new UCI. Enjoy :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00