We use PPPoE from a Bering firewall for our Internet connection, with a static IP address. The problem is that some times, the pppd stops.
I set it up to restart the connection automatically (persist). I tested it with temporarily unplugging the modem, and the connection is restarted nicely. However, about once a week, the link fails (probably a provider problem) I get Jan 28 07:10:00 firewall pppd[6768]: No response to 3 echo-requests After that, ppp shuts down and ipsec is stopped: Jan 28 07:10:00 firewall pppd[6768]: Serial link appears to be disconnected. [snip] Jan 28 07:10:00 firewall ipsec_setup: Stopping FreeS/WAN IPsec... [snip] Jan 28 07:10:06 firewall pppd[6768]: Connection terminated. Jan 28 07:10:06 firewall pppd[6768]: Connect time 9715.6 minutes. Jan 28 07:10:06 firewall pppd[6768]: Sent 210964738 bytes, received 795001264 bytes. Jan 28 07:10:06 firewall pppd[6768]: Doing disconnect The pppd then tries to reopen the connection, as it is told: Jan 28 07:10:36 firewall pppd[6768]: Sending PADI Jan 28 07:10:42 firewall pppd[6768]: HOST_UNIQ successful match Jan 28 07:10:42 firewall pppd[6768]: Tag error: TAG_SYS_ERR Jan 28 07:10:42 firewall pppd[6768]: Failed to negotiate PPPoE connection: 11 Resource temporarily unavailable Jan 28 07:10:42 firewall pppd[6768]: Exit. Only to fail miserably! How can it exit when I told it to persist? Does anybody know how I can tell the pppd to never ever exit and always retry? Or does anyone have a decent watchdog script to restart pppd after failure? Thanks Alex ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html