aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/rp-pppoe/rp-pppoe-3.8/pppoe-no-timeout.patch
blob: a10a1b87e926aeef1cfbf01f5dea0b5321f09c1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Don't time out and give up re-trying PPPoE. We want PPPD to control
if we give up or not. From debian. This fixes lots of bugs and makes
it compatible with the default debian version.


--- rp-pppoe-3.8.orig/configs/pppoe.conf
+++ rp-pppoe-3.8/configs/pppoe.conf
@@ -66,7 +66,7 @@
 # to connect forever after pppoe-start is called.  Otherwise, it will
 # give out after CONNECT_TIMEOUT seconds and will not attempt to
 # connect again, making it impossible to reach.
-CONNECT_TIMEOUT=30
+CONNECT_TIMEOUT=0
 
 # How often in seconds pppoe-start polls to check if link is up
 CONNECT_POLL=2