1From 4d34e0d7d790ec41b0afb731c7dc1b1ee90dd377 Mon Sep 17 00:00:00 2001 2From: Tom Rini <tom_rini@mentor.com> 3Date: Wed, 27 Jul 2011 03:46:52 +0000 4Subject: [PATCH] rp-pppoe: Port from oe.dev 5 6Set the timeout to 0 since we don't want pppoe to try reconnecting, 7we want whatever is calling it to reconnect. Lots of odd things 8happen when you have pppoe retrying itself. 9 10The path for the plugin is wrong, it's now part of ppp and is in a 11ppp's plugin lib directory. If no path is specified then that's where 12ppp looks, so that's what we do here. 13 14Upstream-Status: Inappropriate [configuration] 15 16--- 17 configs/pppoe.conf | 4 ++-- 18 1 file changed, 2 insertions(+), 2 deletions(-) 19 20diff --git a/configs/pppoe.conf b/configs/pppoe.conf 21index c222b2f..65618a5 100644 22--- a/configs/pppoe.conf 23+++ b/configs/pppoe.conf 24@@ -66,7 +66,7 @@ DEFAULTROUTE=yes 25 # to connect forever after pppoe-start is called. Otherwise, it will 26 # give out after CONNECT_TIMEOUT seconds and will not attempt to 27 # connect again, making it impossible to reach. 28-CONNECT_TIMEOUT=30 29+CONNECT_TIMEOUT=0 30 31 # How often in seconds pppoe-start polls to check if link is up 32 CONNECT_POLL=2 33@@ -115,7 +115,7 @@ PPPOE_TIMEOUT=80 34 FIREWALL=NONE 35 36 # Linux kernel-mode plugin for pppd. If you want to try the kernel-mode 37-# plugin, use LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so 38+# plugin, use LINUX_PLUGIN=rp-pppoe.so 39 LINUX_PLUGIN= 40 41 # Any extra arguments to pass to pppoe. Normally, use a blank string 42