thepeople
6772ab104f
/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
thepeople
86fe3dcbb2
[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
jow
ab2cda2f10
[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
jow
332272ec7b
[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
nico
6d2edb6cad
[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
nbd
0068b99917
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
nbd
796a9d1091
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
474e65cbab
[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
nbd
eeaf181efc
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
nico
a66691d8cb
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
nbd
fbb46d4f12
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
nbd
0bb0fd1e71
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
blogic
f4ce2dc0a6
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
blogic
ce0a10b543
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
nico
c5122aa22a
[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
nbd
fd00f35a4f
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
blogic
a2e11fbca7
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
nbd
afa5da1d1b
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
nbd
29d812257c
fix pppoe on dynamically assigned interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 00:41:38 +00:00
nbd
8ffc910447
add workaround for ppp-on-boot issues, fixes #2524
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 05:50:24 +00:00
nbd
d62770f549
add ppp ipv6 patch by farnz (from #2525 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-07 13:24:10 +00:00
florian
dcfcfb5617
Add ipv6 up/down using route ( #2372 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 13:35:51 +00:00
florian
5e0b973334
Use default values for lcp-echo-failure and lcp-echo-interval ( #2373 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 09:58:10 +00:00
nbd
de3a8f9eb7
fix ppp unit number issues ( #2178 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 13:09:17 +00:00
nbd
17b183947d
allow the user to disable the defaultroute option for ppp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-01 12:57:15 +00:00
nbd
8e6efaff68
oops... typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-31 16:20:40 +00:00
nbd
0b509e2ff2
fix issues with multiple ppp links (noticed by Stefano Rivera)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-31 16:19:19 +00:00
nbd
866696c182
fix ifname in network state for pppoe and pptp, add a workaround for isps sending wrong netmasks for pptp (thx, moonwatcher)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 16:53:22 +00:00
nbd
b8e8a507ad
add pppd options patch from #2114
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 02:50:03 +00:00
nbd
46da140988
keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 00:01:33 +00:00
mbm
b1c117aeeb
various patches to add support for ppp over evdo or character devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-01 21:53:32 +00:00
nbd
77cb290b54
add better default config for ar7, add br2684ctl init script, add a missing setting for pppoa
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-21 09:37:13 +00:00
nbd
eacd5dbffa
set the DEVICE variable in hotplug events from ppp interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 14:12:22 +00:00
florian
4eb3ce394e
Change mtu value for pppoa and pppoe ( #945 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-14 19:00:10 +00:00
nbd
203cccc4a2
nuke mdev and replace it with hotplug2 :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
nbd
5f9c2e9fa6
more reliable fix for handling ppp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 13:45:45 +00:00
nbd
37840396d6
fix ppp defaultroute issues (based on patch from #1386 , fixes #1181 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 11:53:50 +00:00
nbd
5ad62fbdd3
Forward port whiterussian resolv.conf changes
...
/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
2007-01-08 21:33:53 +00:00
nbd
1724fa576f
fix ppp keepalive setting ( #1071 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 05:12:49 +00:00
nbd
29b117bb79
hopefully fix duplicate ppp instances ( #895 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-18 23:19:32 +00:00
nbd
448734edde
fix vpi/vci setting for pppoa
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-30 23:58:01 +00:00
nbd
0d67238dc6
use lock to remove race conditions in bringing up ppp and dhcp that would lead to multiple active processes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-26 01:33:36 +00:00
nbd
6628b238eb
make network scripts more robust, prevent multiple instances of pppd and udhcpc for the same interface
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 23:59:08 +00:00
nbd
564ea3531f
save the real configured interface name in the 'device' variable when running scan_interfaces() - fixes pppoe problems
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-09 12:35:31 +00:00
nbd
89c0b40c57
add fixes for the pptp network scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-23 18:01:51 +00:00
nbd
2ab3bb9aec
allow spaces in the keepalive option
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-12 00:34:46 +00:00
nbd
1da81d312c
allow the user to override the lcp echo interval in ppp network configurations
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-12 00:31:37 +00:00
nbd
56b6f102af
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 08:43:04 +00:00
nbd
c4f3575368
rewrite of the network scripts and configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 03:09:09 +00:00
nbd
0eec07358e
ppp: try to reconnect indefinitely ( #551 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-09 01:34:58 +00:00