[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: interaction problem with pppd persist option



On Fri, 2004-06-11 at 03:54, Chris Ruffin wrote:
> Any ideas on how to solve this?

Edit /etc/hotplug/net.agent thus:


--- net.agent_ORIG	2004-06-11 10:06:20.000000000 +0200
+++ net.agent	2004-06-11 10:07:48.000000000 +0200
@@ -121,7 +121,10 @@
     ;;
 
 remove|unregister)
-    # Assume that we want to run ifdown no matter what, 
+    case $INTERFACE in
+	ppp*) exit 0 ;;
+    esac
+    # Assume that we want to run ifdown
     # because it is not going to remove the data from the
     # ifstate database otherwise.
     if [ -x /sbin/ifdown ]; then


On Fri, 2004-06-11 at 09:07, Andreas Metzler wrote:
> Ask Thomas Hood for his experimental ifup packages. ;-)

Actually my ifupdown package won't solve this particular problem.
My ifupdown runs pppd with the "persist" option; however, you still
have to edit net.agent if you want to prevent it from ifdown'ing
the interface on loss of connection.
-- 
Thomas Hood <jdthood@yahoo.co.uk>



Reply to: