On Wed, 2005-04-06 at 15:47 +0200, Marco d'Itri wrote: > On Apr 06, Thomas Hood <[EMAIL PROTECTED]> wrote: > Unless you are some really compelling reason to not do so I will modify > net.agent to ignore ppp interfaces, because using ifupdown to > automatically start pppd at boot time is the recommended method.
If pppd's "persist" option is not used then the current state of affairs is fine. ifup runs pon which creates the connection. If the connection is lost then pppd dies and hotplug calls ifdown so that ifupdown no longer believes that the interface is up. If the "persist" option _is_ used then pppd does not die and hotplug should not call ifdown. Last time I checked, the "persist" option was not present in a default installation and that was why I had tagged #253936 "wontfix". My thought was: If the user wants to enable "persist" mode then the user also has to modify net.agent so that it doesn't ifdown ppp interfaces when they disappear. I think I suggested adding commented-out code to net.agent. There could also be mention of the issue in the README.Debian file. If "persist" is to become the default operating mode for pppd then net.agent should certainly be modified so as not to ifdown PPP interfaces. If non-persist remains the default and you modify net.agent so as not to ifdown PPP interfaces then the result will be: * When PPP connections are broken, users have to run ifdown before running ifup to restore the connection. * However, users who enable "persist" won't file duplicates of #302709. -- Thomas Hood <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]