Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From 4d34e0d7d790ec41b0afb731c7dc1b1ee90dd377 Mon Sep 17 00:00:00 2001 |
| 2 | From: Tom Rini <tom_rini@mentor.com> |
| 3 | Date: Wed, 27 Jul 2011 03:46:52 +0000 |
| 4 | Subject: [PATCH] rp-pppoe: Port from oe.dev |
| 5 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 6 | Set the timeout to 0 since we don't want pppoe to try reconnecting, |
| 7 | we want whatever is calling it to reconnect. Lots of odd things |
| 8 | happen when you have pppoe retrying itself. |
| 9 | |
| 10 | The path for the plugin is wrong, it's now part of ppp and is in a |
| 11 | ppp's plugin lib directory. If no path is specified then that's where |
| 12 | ppp looks, so that's what we do here. |
| 13 | |
| 14 | Upstream-Status: Inappropriate [configuration] |
| 15 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 16 | --- |
| 17 | configs/pppoe.conf | 4 ++-- |
| 18 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 19 | |
| 20 | diff --git a/configs/pppoe.conf b/configs/pppoe.conf |
| 21 | index c222b2f..65618a5 100644 |
| 22 | --- a/configs/pppoe.conf |
| 23 | +++ b/configs/pppoe.conf |
| 24 | @@ -66,7 +66,7 @@ DEFAULTROUTE=yes |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 33 | @@ -115,7 +115,7 @@ PPPOE_TIMEOUT=80 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 |