summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/update-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/update-config.patch')
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/update-config.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/update-config.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/update-config.patch
new file mode 100644
index 000000000..42a3bc62c
--- /dev/null
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/update-config.patch
@@ -0,0 +1,32 @@
1Set the timeout to 0 since we don't want pppoe to try reconnecting,
2we want whatever is calling it to reconnect. Lots of odd things
3happen when you have pppoe retrying itself.
4
5The path for the plugin is wrong, it's now part of ppp and is in a
6ppp's plugin lib directory. If no path is specified then that's where
7ppp looks, so that's what we do here.
8
9Upstream-Status: Inappropriate [configuration]
10
11Index: rp-pppoe-3.8/configs/pppoe.conf
12===================================================================
13--- rp-pppoe-3.8.orig/configs/pppoe.conf 2006-04-03 00:29:41.000000000 +1000
14+++ rp-pppoe-3.8/configs/pppoe.conf 2007-06-08 16:02:47.000000000 +1000
15@@ -66,7 +66,7 @@
16 # to connect forever after pppoe-start is called. Otherwise, it will
17 # give out after CONNECT_TIMEOUT seconds and will not attempt to
18 # connect again, making it impossible to reach.
19-CONNECT_TIMEOUT=30
20+CONNECT_TIMEOUT=0
21
22 # How often in seconds pppoe-start polls to check if link is up
23 CONNECT_POLL=2
24@@ -115,7 +115,7 @@
25 FIREWALL=NONE
26
27 # Linux kernel-mode plugin for pppd. If you want to try the kernel-mode
28-# plugin, use LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so
29+# plugin, use LINUX_PLUGIN=rp-pppoe.so
30 LINUX_PLUGIN=
31
32 # Any extra arguments to pass to pppoe. Normally, use a blank string